diff --git a/app/helpers/volume_helper.rb b/app/helpers/volume_helper.rb index 23af334..bd50689 100644 --- a/app/helpers/volume_helper.rb +++ b/app/helpers/volume_helper.rb @@ -13,7 +13,7 @@ module VolumeHelper html << "
" html << "
" # left title - html << "

Infomation #{volume['Volume Name']}

" + html << "

Infomation #{volume['Volume Name']}

" # right title html << "
" # buttons if volume["Mount State"] == "mounted" - html << " Unmount" + html << "" elsif volume["Status"] == " Started" html << "" html << "" diff --git a/app/views/volume/index.html.erb b/app/views/volume/index.html.erb index 9b89811..c52836a 100644 --- a/app/views/volume/index.html.erb +++ b/app/views/volume/index.html.erb @@ -241,3 +241,94 @@ $(document).on("click", "#mount_table_div .chupper", function(){ }) + + + + + + + + + + + + \ No newline at end of file