internal/web/templates/registered.html
cmc web: polish remaining repo sub-views, snippets/queries, and auth/landing pages
28e72be7ab 1 day ago24 lines · 909 bytes
1{{define "width"}}bounded{{end}}
2{{define "title"}}welcome · {{.Site}}{{end}}
3{{define "content"}}
4<div class="landing">
5<h1>Welcome, {{.Username}}</h1>
6<pre class="quickstart" tabindex="0">{{.Message}}</pre>
7<section class="setcard">
8<h2>On the web</h2>
9<ol>
10<li>Copy the verification code from the mail you were just sent.</li>
11<li><a href="/login">Sign in</a> with an emailed link.</li>
12<li>Paste the code in <a href="/settings#emails">Settings → Email addresses</a>.</li>
13</ol>
14<p>Then + creates your first repository. Using the iOS app? Create a
15token in <a href="/settings#tokens">Settings → API tokens</a>.</p>
16</section>
17<section class="setcard">
18<h2>From the terminal</h2>
19<pre class="quickstart copyable" tabindex="0">ssh git@{{.Host}} whoami
20ssh git@{{.Host}} repo create {{.Username}}/hello
21gitbay web login # mints a browser session from your terminal</pre>
22</section>
23</div>
24{{end}}