diff options
author | Roald de Vries <rdevries@thoughtworks.com> | 2016-12-08 16:59:09 +0100 |
---|---|---|
committer | Roald de Vries <rdevries@thoughtworks.com> | 2016-12-08 16:59:09 +0100 |
commit | fafac3b4128a0993b0de1c6e8ca3062bf1ccc14e (patch) | |
tree | 3b9a446e4c82bb8ba94c1cd0adec57c0042dae28 /web-ui/app/templates/page | |
parent | 521bce7eff5cf921156efe74c91a0499ade43619 (diff) |
Revert "[#801] Merge branch 'signup'"
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing
changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
Diffstat (limited to 'web-ui/app/templates/page')
-rw-r--r-- | web-ui/app/templates/page/logout.hbs | 9 | ||||
-rw-r--r-- | web-ui/app/templates/page/logout_shortcut.hbs | 6 | ||||
-rw-r--r-- | web-ui/app/templates/page/user_settings_box.hbs | 10 | ||||
-rw-r--r-- | web-ui/app/templates/page/user_settings_icon.hbs | 8 | ||||
-rw-r--r-- | web-ui/app/templates/page/version.hbs | 2 |
5 files changed, 35 insertions, 0 deletions
diff --git a/web-ui/app/templates/page/logout.hbs b/web-ui/app/templates/page/logout.hbs new file mode 100644 index 00000000..0cc079bc --- /dev/null +++ b/web-ui/app/templates/page/logout.hbs @@ -0,0 +1,9 @@ +<ul id="logout"> + <form id="logout-form" method="POST" action="{{ logout_url }}"> + <input type="hidden" name="csrftoken" value="{{ csrf_token }}" /> + <li> + <div class="fa fa-sign-out"></div> + <i class="shortcut-label"></i> {{t 'logout'}} + </li> + </form> +</ul> diff --git a/web-ui/app/templates/page/logout_shortcut.hbs b/web-ui/app/templates/page/logout_shortcut.hbs new file mode 100644 index 00000000..043ab0dc --- /dev/null +++ b/web-ui/app/templates/page/logout_shortcut.hbs @@ -0,0 +1,6 @@ +<li> + <a class="left-off-canvas-toggle logout" > + <i class="fa fa-sign-out"></i> + <div class="shortcut-label">{{t 'logout'}}</div> + </a> +</li> diff --git a/web-ui/app/templates/page/user_settings_box.hbs b/web-ui/app/templates/page/user_settings_box.hbs new file mode 100644 index 00000000..2152b779 --- /dev/null +++ b/web-ui/app/templates/page/user_settings_box.hbs @@ -0,0 +1,10 @@ +<header> + <span id="user-settings-close"><i class="fa fa-close"></i></span> + <i class="fa fa-user"></i> + <h1>{{t 'user-account'}}</h1> + <i class="shortcut-label"></i> +</header> +<i class="fa fa-envelope-o"></i><h2>{{t 'email-address'}}</h2> +<p>{{ account_email }}</p> +<i class="fa fa-key"></i><h2>{{t 'public-key-fingerprint'}}</h2> +<p>{{ formatFingerPrint fingerprint }}</p> diff --git a/web-ui/app/templates/page/user_settings_icon.hbs b/web-ui/app/templates/page/user_settings_icon.hbs new file mode 100644 index 00000000..8f2f9215 --- /dev/null +++ b/web-ui/app/templates/page/user_settings_icon.hbs @@ -0,0 +1,8 @@ +<ul id="user-settings-icon"> + <a title="my account" href='#'> + <li> + <div class="fa fa-user"></div> + <i class="shortcut-label"></i> {{t 'user-account'}} + </li> + </a> +</ul> diff --git a/web-ui/app/templates/page/version.hbs b/web-ui/app/templates/page/version.hbs new file mode 100644 index 00000000..5f43f78a --- /dev/null +++ b/web-ui/app/templates/page/version.hbs @@ -0,0 +1,2 @@ +{{t 'version'}}: UNKNOWN_VERSION <br/> +<span id="version-date" data-since="COMMIT_DATE"></span> |