forked from forgejo/forgejo
add publickey list
This commit is contained in:
parent
e246f2188e
commit
8e821c75d7
6 changed files with 45 additions and 6 deletions
|
@ -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" .}}
|
Loading…
Add table
Add a link
Reference in a new issue