mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
add publickey list
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{template "base/head" .}}
|
||||
{{template "base/navbar" .}}
|
||||
<div class="container">
|
||||
<div class="container" id="gogs-body">
|
||||
<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>
|
||||
|
12
templates/user/publickey_list.tmpl
Normal file
12
templates/user/publickey_list.tmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{template "base/head" .}}
|
||||
{{template "base/navbar" .}}
|
||||
<div class="container" id="gogs-body">
|
||||
<div><a href="/user/publickey/add">Add publick key</a></div>
|
||||
<ul>
|
||||
{{range .Keys}}
|
||||
<li>{{.Name}}</li>
|
||||
<li>{{.Content}}</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Reference in New Issue
Block a user