mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-04-06 11:25:50 +00:00
Don't try to fetch repositories to render the homepage (just use the excluded repository count). Also do the user and email address fetches in parallel.
32 lines
784 B
HTML
32 lines
784 B
HTML
{{define "title"}}GitHop{{end}}
|
|
|
|
{{define "body"}}
|
|
|
|
<p>
|
|
Signed in as
|
|
<a href="https://github.com/{{.User.Login}}"
|
|
title="{{.User.Name}}">
|
|
<img src="{{.User.AvatarURL}}"
|
|
width="20"
|
|
height="20"
|
|
border="0">{{.User.Login}}
|
|
</a>.
|
|
<a href="{{routeUrl "sign-out"}}">
|
|
Sign Out
|
|
</a>
|
|
</p>
|
|
|
|
<a href="{{routeUrl "view-digest"}}">View Digest</a>
|
|
-
|
|
<form id="send-form" method="POST" action="{{routeUrl "send-digest"}}">
|
|
<input type="submit" value="Email Digest">
|
|
</form>
|
|
|
|
<p>
|
|
You'll be getting a {{.SettingsSummary.Frequency}} digest of your past
|
|
past activity in {{.SettingsSummary.RepositoryCount}} repositories sent to
|
|
<code>{{.SettingsSummary.EmailAddress}}</code>.
|
|
<a href="{{routeUrl "settings"}}">Change settings</a>
|
|
<p>
|
|
|
|
{{end}}
|