From 899ad761a681ef873c2f42c6617884aee14d86d6 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Fri, 7 Mar 2014 16:05:14 +0100 Subject: [PATCH] Fix vms dialog format --- src/sunstone/public/js/plugins/vms-tab.js | 163 +++++++--------------- 1 file changed, 50 insertions(+), 113 deletions(-) diff --git a/src/sunstone/public/js/plugins/vms-tab.js b/src/sunstone/public/js/plugins/vms-tab.js index a82143572e..84c550308a 100644 --- a/src/sunstone/public/js/plugins/vms-tab.js +++ b/src/sunstone/public/js/plugins/vms-tab.js @@ -2101,62 +2101,42 @@ function setupSaveAsDialog(){ $save_as_dialog = $('#save_as_dialog',dialogs_context); var dialog = $save_as_dialog; - dialog.html('
\ -

\ - '+tr("Snapshot")+'\ -

\ + dialog.html('
\ +

'+tr("Snapshot")+'

\
\
\ -
\ -
\ - \ -
\ -
\ +
\ +
\ + \
\ -
\ -
\ -
\
\ -
\ -
\ - \ -
\ -
\ +
\ +
\ + \
\ -
\
\
\
\ -
\ -
\ - \ -
\ -
\ +
\ +
\ + \ \
\ -
\ -
\ -
\
\
\ -
\ - \ -
\ -
\ - \ -
\ -
\ -
'+tr("Sets the specified VM disk to be saved in a new Image.")+'

\ - '+tr("Deferred: The Image is created immediately, but the contents are saved only if the VM is shut down gracefully (i.e., using Shutdown; not Delete)")+'

\ - '+tr("Hot: The Image will be saved immediately.")+'
\ +
\ + \ + \
\
\ -
\
\ \
\ @@ -2205,27 +2185,19 @@ function setupAttachDiskDialog(){ $attach_disk_dialog = $('#attach_disk_dialog',dialogs_context); var dialog = $attach_disk_dialog; - dialog.html('
\ -

\ - '+tr("Attach new disk")+'\ -

\ + dialog.html('
\ +

'+tr("Attach new disk")+'

\
\
\ \ -
\ -
\ - \ -
\ -
\ +
\ +
\ + \
\ -
\ -
\ -
\
' + generate_disk_tab_content("attach_disk", "attach_disk") + '