gunk-dev/the-valley

logout.tmpl

sourceb160a3fca731main's published tip history
639 bytes
1{{define "content"}}
2<header class="top">
3 <div>
4 <h1>Sign out</h1>
5 <p class="muted">{{if .Session}}Signing out ends this browser's session. The read link that started it cannot be used again.{{else}}This browser is not signed in.{{end}}</p>
6 </div>
7</header>
8<div class="card" id="reader" data-page="logout" data-session="{{if .Session}}1{{else}}0{{end}}">
9 <p class="notice" id="r-unknown" hidden>This browser cannot tell whether you were signed out. Try again.</p>
10 <p class="controls">{{if .Session}}<button type="button" id="r-logout" hidden>Sign out</button> {{end}}<a href="/">Return to the source</a></p>
11</div>
12{{end}}