module VolumeHelper def volume_info(volume) params = ['Type', 'Volume ID', 'Status', 'Number of Bricks', 'Transport-type', 'Bricks', 'Options Reconfigured', 'Mount State', 'Mount Point'] html = '' html << "
" html << t + " : " + volume[t] html << "
" end html << "Name | " html << "auth | " #html << "Size | " #html << "Date | " html << "" html << " |
---|---|---|---|---|
" #html << "" html << " .." html << " | " html << "" html << " | " #html << " | " html << " | " html << " #{file['name']}" html << " | " html << "#{file['auth']}" html << " | " html << "" html << "" html << " | " html << "" end end html << "" html << "