~gitpocket/gitpocket

gitpocket/templates/reposettings.html -rw-r--r--620 bytes ViewLogBlameView rawPermalink d622d6a952 — feat(basin): minimal git host with ssh and smart https 4 days ago
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
{{define "content"}}
{{$p := .Data.Page}}
<h1>settings</h1>
<form method="post" action="/{{$p.Repo.Path}}/settings" class="stack">
<label>description <input name="description" value="{{$p.Repo.Description}}" maxlength="200"></label>
<label class="check"><input type="checkbox" name="private"{{if $p.Repo.Private}} checked{{end}}> private</label>
<button>save</button>
</form>
<h2>delete</h2>
<form method="post" action="/{{$p.Repo.Path}}/delete" class="stack">
<label>type <code>{{$p.Repo.Name}}</code> to confirm <input name="confirm" required></label>
<button class="danger">delete repository</button>
</form>
{{end}}