internal/web/templates/accountdelete.html

695cb925d1f99f7735883046e455cdc436602cb1
gitbay/internal/web/templates/accountdelete.html

23 lines · 1000 bytes

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