summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-02-25 18:30:48 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-02-25 18:30:48 +0800
commit52984f85d5afc2a74bb3ca04487da7fb277437d6 (patch)
treebe3843f3270c679a01432b86f36b7887d1906398 /templates/user
parentd42c194aadd349ebb2e87d64d764a370fb3f54dc (diff)
downloadgitea-52984f85d5afc2a74bb3ca04487da7fb277437d6.tar.gz
gitea-52984f85d5afc2a74bb3ca04487da7fb277437d6.zip
add publickey
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/publickey_add.tmpl2
-rw-r--r--templates/user/publickey_added.tmpl8
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/user/publickey_add.tmpl b/templates/user/publickey_add.tmpl
index 2d70d82a31..5ab25b7235 100644
--- a/templates/user/publickey_add.tmpl
+++ b/templates/user/publickey_add.tmpl
@@ -1,7 +1,7 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
<div class="container">
- <form action="/user/delete" method="post" class="form-horizontal">
+ <form action="/user/publickey/add" method="post" class="form-horizontal">
<div class="form-group">
<label class="col-md-4 control-label">Name of this public key: </label>
<div class="col-md-3">
diff --git a/templates/user/publickey_added.tmpl b/templates/user/publickey_added.tmpl
new file mode 100644
index 0000000000..f67da9ed85
--- /dev/null
+++ b/templates/user/publickey_added.tmpl
@@ -0,0 +1,8 @@
+{{template "base/head" .}}
+{{template "base/navbar" .}}
+<div class="container">
+ <div class="form-group">
+ publickey added
+ </div>
+</div>
+{{template "base/footer" .}} \ No newline at end of file