diff --git a/src/sunstone/public/js/plugins/dashboard-tab.js b/src/sunstone/public/js/plugins/dashboard-tab.js index d8e20f4bab..e0689a8a52 100644 --- a/src/sunstone/public/js/plugins/dashboard-tab.js +++ b/src/sunstone/public/js/plugins/dashboard-tab.js @@ -28,13 +28,13 @@ var widgets = { "storage" : '
\ '+tr("Storage")+'\
\ -
\ +
\

\
\ \

\
\ -
\ +
\

\ '+tr("IMAGES")+'
\ '+tr("USED")+'\ @@ -45,13 +45,13 @@ var widgets = { "users" : '
\ '+tr("Users")+'\
\ -
\ +
\

\
\ \

\
\ -
\ +
\

\ '+tr("USERS")+'
\ '+tr("GROUPS")+'\ @@ -62,13 +62,13 @@ var widgets = { "network" : '
\ '+tr("Network")+'\
\ -
\ +
\

\
\ \

\
\ -
\ +
\

\ '+tr("VNETS")+'
\ '+tr("USED IPs")+'\ @@ -79,8 +79,8 @@ var widgets = { "hosts" : '
\ '+tr("Hosts")+'\
\ -
\ -
\ +
\ +
\

\
\
\ @@ -88,7 +88,7 @@ var widgets = {
\

\
\ -
\ +
\

\ '+tr("TOTAL")+'
\ '+tr("ON")+'
\ @@ -97,26 +97,26 @@ var widgets = {

\
\
\ -
\ +
\
\ -
\ +
\

'+tr("CPU")+'

\
\ -
\ +
\ '+tr("Allocated")+' \ '+tr("Real")+' \ '+tr("Total")+'\
\ -
\ +
\

'+tr("MEMORY")+'

\
\
\
\ -
\ +
\
\
\
\ -
\ +
\
\
\
\ @@ -127,8 +127,8 @@ var widgets = { "vms" : '
\ '+tr("Virtual Machines")+'\
\ -
\ -
\ +
\ +
\

\
\
\ @@ -136,7 +136,7 @@ var widgets = { \

\
\ -
\ +
\

\ '+tr("TOTAL")+'
\ '+tr("ACTIVE")+'
\ @@ -145,21 +145,21 @@ var widgets = {

\
\
\ -
\ +
\
\ -
\ +
\

'+tr("NET DOWNLOAD SPEED")+'

\
\ -
\ +
\

'+tr("NET UPLOAD SPEED")+'

\
\
\
\ -
\ +
\
\
\
\ -
\ +
\
\
\
\ @@ -188,12 +188,12 @@ $(document).ready(function(){ $dashboard = $('#dashboard-tab', main_tabs_context); $.each(Config.dashboardWidgets('widgets_three_per_row'), function(id, widget){ - var html = '
'+widgets[widget]+'
'; + var html = '
'+widgets[widget]+'
'; $('#three_per_row', $dashboard).append(html); }) $.each(Config.dashboardWidgets('widgets_two_per_row'), function(id, widget){ - var html = '
'+widgets[widget]+'
'; + var html = '
'+widgets[widget]+'
'; $('#two_per_row', $dashboard).append(html); }) diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js index 27cb60a4a9..2399f03871 100644 --- a/src/sunstone/public/js/sunstone.js +++ b/src/sunstone/public/js/sunstone.js @@ -483,11 +483,11 @@ function insertTab(tab_name){ */ if (tab_info.buttons) { tab_content_str += '
\ -
\ +
\
\
\
\ -
' +
' if (tab_info.search_input) { tab_content_str += tab_info.search_input; diff --git a/src/sunstone/views/index.erb b/src/sunstone/views/index.erb index 89bae2bb65..ce4fc40c79 100644 --- a/src/sunstone/views/index.erb +++ b/src/sunstone/views/index.erb @@ -71,7 +71,7 @@
-
+
@@ -82,7 +82,7 @@
-
+