diff --git a/app/helpers/volume_helper.rb b/app/helpers/volume_helper.rb index 50ecdb7..6c78e3f 100644 --- a/app/helpers/volume_helper.rb +++ b/app/helpers/volume_helper.rb @@ -13,4 +13,50 @@ module VolumeHelper html << "" raw(html) end -end + + def mount_table(dir = @current_dir, id = "mount_table", class_option = "table table-striped table-bordered jambo_table") + html = String.new + 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 << "
Name | -auth | -- |
---|---|---|
.. | -- | - |
- ')"> <%= t["name"] %> - | -<%=t["auth"]%> | -- - | -