~gitpocket/gitpocket

1
d96cdcc25cf34c777dcd7cd4d65855e9cbc6c2f0
mainfeed-discovery
gitpocket/templates/reposettings.html -rw-r--r--887 bytes ViewLogBlameView rawPermalink 40e55b8c7b feat(basin): sourcehut style layout and settings tabs 1 months ago
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{{define "content"}}
{{$p := .Data.Page}}
<div class="panel"><h3>Repository settings</h3>
<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}}> This repository is private</label>
<div class="actions left"><button class="btn primary">Save ▸</button></div>
</form></div>
<div class="panel"><h3>Delete repository</h3>
<p>This permanently removes the repository and its history from the server.</p>
<form method="post" action="/{{$p.Repo.Path}}/delete" class="stack">
<label>Type <code>{{$p.Repo.Name}}</code> to confirm <input name="confirm" required></label>
<div class="actions left"><button class="btn danger">Delete repository ▸</button></div>
</form></div>
{{end}}