From 0c26d5eb374a183b33de117a2dc5062ebe305c65 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Mon, 14 Mar 2016 11:57:41 +0100 Subject: [PATCH] Feature #4363: Fix cloud view settings --- .../tabs/settings-tab/panels/user-config.js | 2 +- .../settings-tab/panels/user-config/html.hbs | 44 +++++++++---------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/sunstone/public/app/tabs/settings-tab/panels/user-config.js b/src/sunstone/public/app/tabs/settings-tab/panels/user-config.js index 2fa038f530..7bad1f67f0 100644 --- a/src/sunstone/public/app/tabs/settings-tab/panels/user-config.js +++ b/src/sunstone/public/app/tabs/settings-tab/panels/user-config.js @@ -72,7 +72,7 @@ define(function(require) { function _setup(context) { var that = this; - $(document).foundation('accordion', 'reflow'); + Foundation.reflow(context, 'accordion'); var ssh_key = this.element.TEMPLATE.SSH_PUBLIC_KEY; if (ssh_key && ssh_key.length) { $("#provision_ssh_key", context).val(ssh_key); diff --git a/src/sunstone/public/app/tabs/settings-tab/panels/user-config/html.hbs b/src/sunstone/public/app/tabs/settings-tab/panels/user-config/html.hbs index 54c435b26e..61e4e2906f 100644 --- a/src/sunstone/public/app/tabs/settings-tab/panels/user-config/html.hbs +++ b/src/sunstone/public/app/tabs/settings-tab/panels/user-config/html.hbs @@ -19,12 +19,12 @@
-
- +
+
- +
@@ -33,12 +33,12 @@ {{tr "Change Language"}}
-
+

- +
@@ -57,12 +57,12 @@
-
- +
+
- + @@ -73,17 +73,17 @@ {{tr "Change Password"}} -
+

- +
- +
@@ -106,12 +106,12 @@
-
- +
+
- + @@ -122,12 +122,12 @@ {{tr "Change view"}} -
+

- +
@@ -147,12 +147,12 @@
-
- +
+
- + @@ -164,9 +164,9 @@ {{tr "Add SSH Key"}} {{tr "Update SSH Key"}} -
+

-

+

{{tr "Add a public SSH key to your account!"}}
@@ -180,7 +180,7 @@

- +