diff --git a/app/components/eye-icon.coffee b/app/components/eye-icon.coffee new file mode 100644 index 00000000..91740fd1 --- /dev/null +++ b/app/components/eye-icon.coffee @@ -0,0 +1,8 @@ +`import Ember from 'ember'` + +EyeIconComponent = Ember.Component.extend + + tagName: 'span' + classNames: ['icon-eye'] + +`export default EyeIconComponent` diff --git a/app/templates/components/eye-icon.hbs b/app/templates/components/eye-icon.hbs new file mode 100644 index 00000000..60422428 --- /dev/null +++ b/app/templates/components/eye-icon.hbs @@ -0,0 +1,8 @@ + + + + + + diff --git a/app/templates/profile/accounts.hbs b/app/templates/profile/accounts.hbs index 1dddcf0e..b4c4124e 100644 --- a/app/templates/profile/accounts.hbs +++ b/app/templates/profile/accounts.hbs @@ -18,16 +18,8 @@ {{#if isVisible}}hide token{{else}}show token{{/if}} - - - - - - - - + {{eye-icon}} +