mirror of
https://github.com/samsonjs/retrogit.git
synced 2026-03-25 09:25:49 +00:00
Better logged in blurb.
This commit is contained in:
parent
dcbaeddde7
commit
1fb6aea186
2 changed files with 27 additions and 17 deletions
|
|
@ -58,6 +58,16 @@ a:hover {
|
|||
color: #756344;
|
||||
}
|
||||
|
||||
.blurb {
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.blurb .avatar {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.action-button {
|
||||
outline: 0;
|
||||
-webkit-appearance: none;
|
||||
|
|
@ -88,7 +98,7 @@ input[type="submit"].inline {
|
|||
padding: 0;
|
||||
border: 0;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-size: 10pt;
|
||||
font-size: inherit;
|
||||
color: #4183c4;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
@ -169,9 +179,9 @@ input[type="submit"].inline.destructive {
|
|||
}
|
||||
|
||||
#primary-actions {
|
||||
margin: 2em 0;
|
||||
margin: 1em 0;
|
||||
text-align: center;
|
||||
font-size: 14pt;
|
||||
font-size: 16px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,18 +6,25 @@
|
|||
{{template "flash" .}}
|
||||
{{end}}
|
||||
|
||||
<div>
|
||||
Signed in as
|
||||
<div class="blurb">
|
||||
You're 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>.
|
||||
<form class="inline" method="POST" action="{{routeUrl "sign-out"}}">
|
||||
<input type="submit" class="inline" value="Sign Out">
|
||||
</form>
|
||||
border="0"
|
||||
class="avatar">{{.User.Login}}
|
||||
</a>
|
||||
(<form class="inline" method="POST" action="{{routeUrl "sign-out"}}"><input type="submit" class="inline" value="sign out"></form>).
|
||||
You'll be getting a {{.SettingsSummary.Frequency}} digest of your past
|
||||
GitHub activity in {{.SettingsSummary.RepositoryCount}} repositories sent to
|
||||
<code>{{.SettingsSummary.EmailAddress}}</code>
|
||||
(<a href="{{routeUrl "settings"}}">change settings</a>).
|
||||
</div>
|
||||
|
||||
<div class="blurb">
|
||||
If you just can't wait, you can get your digest now:
|
||||
</div>
|
||||
|
||||
<div id="primary-actions">
|
||||
|
|
@ -30,13 +37,6 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
{{if .DetectTimezone }}
|
||||
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.4/jstz.min.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue