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}}
|