From aca1d431dfd840c36c5efd0b582f5cc18db3e3dd Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Wed, 3 Apr 2013 16:25:43 +0200 Subject: [PATCH] bug #1832: Fix template create dialog, reset button --- .../public/js/plugins/clusters-tab.js | 1 - src/sunstone/public/js/plugins/files-tab.js | 4 +- src/sunstone/public/js/plugins/images-tab.js | 6 +- .../public/js/plugins/templates-tab.js | 64 ++++++++++++++----- src/sunstone/public/js/plugins/vnets-tab.js | 11 ++-- 5 files changed, 58 insertions(+), 28 deletions(-) diff --git a/src/sunstone/public/js/plugins/clusters-tab.js b/src/sunstone/public/js/plugins/clusters-tab.js index 45819743af..a79ad93996 100644 --- a/src/sunstone/public/js/plugins/clusters-tab.js +++ b/src/sunstone/public/js/plugins/clusters-tab.js @@ -160,7 +160,6 @@ var create_cluster_tmpl ='
\
\ \ \ - \ \
\ ×\ diff --git a/src/sunstone/public/js/plugins/files-tab.js b/src/sunstone/public/js/plugins/files-tab.js index 7a317961be..f2d32ea0b7 100644 --- a/src/sunstone/public/js/plugins/files-tab.js +++ b/src/sunstone/public/js/plugins/files-tab.js @@ -74,8 +74,8 @@ var create_file_tmpl =
\

'+tr("Create File")+'

\
\ -
\
\ +
\
\
\
\ @@ -172,13 +172,13 @@ var create_file_tmpl =
\
\
\ - \
\ \ \ \
\ ×\ + \
'; var dataTable_files; diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js index 830d0d68d4..a1feabf057 100644 --- a/src/sunstone/public/js/plugins/images-tab.js +++ b/src/sunstone/public/js/plugins/images-tab.js @@ -74,6 +74,7 @@ var create_image_tmpl =
\

'+tr("Create Image")+'

\
\ +
\
\
'+tr("Wizard")+'
\
'+tr("Advanced mode")+'
\ @@ -81,7 +82,6 @@ var create_image_tmpl =
    \
  • \
    \ - \
    \
    \
    \ @@ -256,7 +256,6 @@ var create_image_tmpl =
    \
    \
    \ - \
    \ \ \ @@ -265,7 +264,6 @@ var create_image_tmpl =
  • \
  • \
    \ -
    \

    '+tr("Write the image template here")+'

    \ \ \ -
    \
    \
    \
    \ @@ -342,6 +342,7 @@ var create_vn_tmpl = \ \
    \ + \
  • \
\ ×\