mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add code of add public key
This commit is contained in:
26
templates/user/publickey_add.tmpl
Normal file
26
templates/user/publickey_add.tmpl
Normal file
@@ -0,0 +1,26 @@
|
||||
{{template "base/head" .}}
|
||||
{{template "base/navbar" .}}
|
||||
<div class="container">
|
||||
<form action="/user/delete" 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">
|
||||
<input name="keyname" class="form-control" placeholder="Type your preferred name">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-4 control-label">Paste your key here: </label>
|
||||
<div class="col-md-3">
|
||||
<textarea name="key_content" cols="30" rows="10" class="form-control"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-4 col-md-3">
|
||||
<button type="submit" class="btn btn-info">Add public key</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Reference in New Issue
Block a user