internal/web/templates/accountdelete.html

6521399c1c78577eb00f1bcf8947c0900b9cb62e
gitbay/internal/web/templates/accountdelete.html

25 lines · 1071 bytes

 1{{define "width"}}bounded{{end}}
 2{{define "title"}}delete account · {{.Site}}{{end}}
 3{{define "content"}}
 4<section class="setcard setcard-danger">
 5{{if .Scheduled}}
 6<h1>Deletion scheduled</h1>
 7<p>{{.User}} is disabled and will be deleted at {{when .Scheduled}}.</p>
 8<p class="meta">To cancel, <a href="/login">sign in</a> before then, or run any
 9command over SSH with a full-scope key.</p>
10{{else if .User}}
11<h1>Delete {{.User}}</h1>
12<p>Confirming disables the account now and deletes it seven days later:
13its repositories, snippets, keys and addresses go, and what it wrote on
14other people's repositories stays under the name <code>ghost</code>.
15Signing in during those seven days cancels.</p>
16<form method="post">
17<p class="btngroup"><button type="submit" class="danger">Delete {{.User}}</button> <a class="button btn" href="/">Cancel</a></p>
18</form>
19{{else}}
20<h1>Link not valid</h1>
21<p class="meta">This deletion link has expired or was already used. Nothing
22has changed. Request a new one from <a href="/settings#delete">settings</a>.</p>
23{{end}}
24</section>
25{{end}}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form