~gitpocket/gitpocket

4
bfa87e353b0b3435f4243841ac16cb42f5c8d360
mainfeed-discovery
gitpocket/templates/reposettings.html -rw-r--r--642 bytes ViewLogBlameView rawPermalink 3e4df176f3 feat(basin): light theme, highlighting and latex 1 months ago
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
{{define "content"}}
{{$p := .Data.Page}}
<h2>Repository settings</h2>
<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 repository</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}}