You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
883 B
26 lines
883 B
{{template "base/head" .}}
|
|
{{template "base/navbar" .}}
|
|
<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>
|
|
<div class="col-md-3">
|
|
<input name="keyname" class="form-control" placeholder="Type your preferred name" value="{{.KeyName}}">
|
|
</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">{{.KeyContent}}</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" .}} |