From fcfd63459128f6cc727776644e9a15532ec84d41 Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Mon, 20 Jul 2015 17:19:34 +0200 Subject: [PATCH] add add-ssh-key component --- app/components/add-ssh-key.coffee | 8 ++++++++ app/templates/components/add-ssh-key.hbs | 11 +++++++++++ app/templates/settings.hbs | 19 +------------------ 3 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 app/components/add-ssh-key.coffee create mode 100644 app/templates/components/add-ssh-key.hbs diff --git a/app/components/add-ssh-key.coffee b/app/components/add-ssh-key.coffee new file mode 100644 index 00000000..3de91684 --- /dev/null +++ b/app/components/add-ssh-key.coffee @@ -0,0 +1,8 @@ +`import Ember from 'ember'` + +AddSshKeyComponent = Ember.Component.extend + + classNames: ['form--sshkey'] + + +`export default AddSshKeyComponent` diff --git a/app/templates/components/add-ssh-key.hbs b/app/templates/components/add-ssh-key.hbs new file mode 100644 index 00000000..1f44a246 --- /dev/null +++ b/app/templates/components/add-ssh-key.hbs @@ -0,0 +1,11 @@ +
+
+ +
+
+ +
+
+ +
+
diff --git a/app/templates/settings.hbs b/app/templates/settings.hbs index 04745a97..4fd90540 100644 --- a/app/templates/settings.hbs +++ b/app/templates/settings.hbs @@ -35,19 +35,7 @@ {{ssh-key key=model.customSshKey}} {{else}} {{ssh-key key=model.sshKey}} -
-
-
- -
-
- -
-
- -
-
-
+ {{add-ssh-key }} {{/if}} @@ -60,8 +48,3 @@ - - -{{!--
- {{outlet}} -
--}}