retrogit/app/templates/index.html
Mihai Parparita b992e192ca Speed up homepage.
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.
2014-10-02 22:06:32 -07:00

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}}