1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

Fix post config call

This commit is contained in:
Daniel Molina 2015-03-09 13:03:16 +01:00
parent 66045506fe
commit 2203c78b0e
3 changed files with 9 additions and 9 deletions

View File

@ -1813,11 +1813,11 @@ src/sunstone/locale/languages/it_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_JA="\ SUNSTONE_PUBLIC_LOCALE_JA="\
src/sunstone/locale/languages/ja.js \ src/sunstone/locale/languages/ja.js \
src/sunstone/locale/languages/it_datatable.txt" src/sunstone/locale/languages/ja_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_LT_LT="\ SUNSTONE_PUBLIC_LOCALE_LT_LT="\
src/sunstone/locale/languages/lt_LT.js \ src/sunstone/locale/languages/lt_LT.js \
src/sunstone/locale/languages/it_datatable.txt" src/sunstone/locale/languages/lt_datatable.txt"
SUNSTONE_PUBLIC_LOCALE_NL_NL="\ SUNSTONE_PUBLIC_LOCALE_NL_NL="\
src/sunstone/locale/languages/nl_NL.js \ src/sunstone/locale/languages/nl_NL.js \

View File

@ -90,8 +90,8 @@ var widgets = {
</div>\ </div>\
<div class="small-9 large-9 columns text-center">\ <div class="small-9 large-9 columns text-center">\
<br>\ <br>\
<a class="button secondary radius large-3 small show_users_tab"><i class="fa fa-lg fa-list fa-fw"></i> Users</a>\ <a class="button secondary radius large-3 small show_users_tab"><i class="fa fa-lg fa-list fa-fw"></i> ' + tr("Users") + '</a>\
<a class="button secondary radius large-3 small show_create_user"><i class="fa fa-lg fa-plus fa-fw"></i> Create</a>\ <a class="button secondary radius large-3 small show_create_user"><i class="fa fa-lg fa-plus fa-fw"></i> ' + tr("Create") + '</a>\
</div>\ </div>\
</div>', </div>',
"network" : '<h5 class="subheader"><i class="fa fa-fw fa-lg fa-sitemap"></i> '+tr("Network")+'</h5>\ "network" : '<h5 class="subheader"><i class="fa fa-fw fa-lg fa-sitemap"></i> '+tr("Network")+'</h5>\
@ -153,8 +153,8 @@ var widgets = {
</div>\ </div>\
<div class="small-9 large-9 columns text-center">\ <div class="small-9 large-9 columns text-center">\
<br>\ <br>\
<a class="button secondary radius large-3 small show_hosts_tab"><i class="fa fa-lg fa-list fa-fw"></i> Hosts</a>\ <a class="button secondary radius large-3 small show_hosts_tab"><i class="fa fa-lg fa-list fa-fw"></i> ' + tr("Hosts") + '</a>\
<a class="button secondary radius large-3 small show_create_host"><i class="fa fa-lg fa-plus fa-fw"></i> Create</a>\ <a class="button secondary radius large-3 small show_create_host"><i class="fa fa-lg fa-plus fa-fw"></i> ' + tr("Create") + '</a>\
</div>\ </div>\
</div>', </div>',
"vms" : '<h5 class="subheader"><i class="fa fa-fw fa-lg fa-th"></i> '+tr("Virtual Machines")+'</h5>\ "vms" : '<h5 class="subheader"><i class="fa fa-fw fa-lg fa-th"></i> '+tr("Virtual Machines")+'</h5>\
@ -198,8 +198,8 @@ var widgets = {
</div>\ </div>\
<div class="small-9 large-9 columns text-center">\ <div class="small-9 large-9 columns text-center">\
<br>\ <br>\
<a class="button secondary radius large-3 small show_vms_tab"><i class="fa fa-lg fa-list fa-fw"></i> VMs</a>\ <a class="button secondary radius large-3 small show_vms_tab"><i class="fa fa-lg fa-list fa-fw"></i> ' + tr("VMs") + '</a>\
<a class="button secondary radius large-3 small show_create_vm"><i class="fa fa-lg fa-plus fa-fw"></i> Create</a>\ <a class="button secondary radius large-3 small show_create_vm"><i class="fa fa-lg fa-plus fa-fw"></i> ' + tr("Create") + '</a>\
</div>\ </div>\
</div>', </div>',
"user_quotas" : '<h5 class="subheader"><i class="fa fa-fw fa-lg fa-align-left"></i> '+tr("User Quotas")+'</h5>\ "user_quotas" : '<h5 class="subheader"><i class="fa fa-fw fa-lg fa-align-left"></i> '+tr("User Quotas")+'</h5>\

View File

@ -422,7 +422,7 @@ post '/config' do
user = OpenNebula::User.new_with_id( user = OpenNebula::User.new_with_id(
OpenNebula::User::SELF, OpenNebula::User::SELF,
$cloud_auth.client(session[:user]), session[:active_zone_endpoint]) $cloud_auth.client(session[:user], session[:active_zone_endpoint]))
rc = user.info rc = user.info
if OpenNebula.is_error?(rc) if OpenNebula.is_error?(rc)