summaryrefslogtreecommitdiffstats
path: root/templates/user/settings/keys.tmpl
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-04-26 15:10:43 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-26 21:10:43 +0800
commit8371f94d06cefbd65392af3b5c0f1fd1057429f7 (patch)
treed6bf49ee4406be76e5429bc70da4a5dee22e3cab /templates/user/settings/keys.tmpl
parentb7da5a6cb7c725232c1053a1ca705a6ac0dad467 (diff)
downloadgitea-8371f94d06cefbd65392af3b5c0f1fd1057429f7.tar.gz
gitea-8371f94d06cefbd65392af3b5c0f1fd1057429f7.zip
Rework SSH key management UI to add GPG (#1293)
* Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
Diffstat (limited to 'templates/user/settings/keys.tmpl')
-rw-r--r--templates/user/settings/keys.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/user/settings/keys.tmpl b/templates/user/settings/keys.tmpl
new file mode 100644
index 0000000000..86d2204eb1
--- /dev/null
+++ b/templates/user/settings/keys.tmpl
@@ -0,0 +1,12 @@
+{{template "base/head" .}}
+<div class="user settings sshkeys">
+ {{template "user/settings/navbar" .}}
+ <div class="ui container">
+ {{template "base/alert" .}}
+ {{template "user/settings/keys_ssh" .}}
+ <br>
+ {{template "user/settings/keys_gpg" .}}
+ </div>
+</div>
+
+{{template "base/footer" .}}