1
0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 03:35:55 +01:00
gitea/templates/user/publickey_add.tmpl

26 lines
883 B
Cheetah
Raw Normal View History

2014-02-20 22:51:03 +01:00
{{template "base/head" .}}
{{template "base/navbar" .}}
2014-03-07 04:34:41 +01:00
<div class="container" id="gogs-body">
2014-02-25 11:30:48 +01:00
<form action="/user/publickey/add" method="post" class="form-horizontal">
2014-02-20 22:51:03 +01:00
<div class="form-group">
<label class="col-md-4 control-label">Name of this public key: </label>
<div class="col-md-3">
2014-03-11 01:48:58 +01:00
<input name="keyname" class="form-control" placeholder="Type your preferred name" value="{{.KeyName}}">
2014-02-20 22:51:03 +01:00
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label">Paste your key here: </label>
<div class="col-md-3">
2014-03-11 01:48:58 +01:00
<textarea name="key_content" cols="30" rows="10" class="form-control">{{.KeyContent}}</textarea>
2014-02-20 22:51:03 +01:00
</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" .}}