retrogit/app/templates/github-auth-error.html
Mihai Parparita fc94f2ff06 Fix private repositories checkbox not being visible in Firefox.
Firefox doesn't support generated content in before/after pseudo classes applied
to <input type="checkbox"> elements. Switch instead to adding the custom
checkbox glyph to the <label> for the checkbox.

Thanks to @snarfed for reporting this.
2014-12-20 22:08:06 -08:00

22 lines
849 B
HTML

{{define "title"}} GitHub Access Unauthorized {{end}}
{{define "body"}}
<div class="blurb">
It looks like you have a RetroGit account, but we can't access your GitHub
account. You may have revoked RetroGit's access (you can see this on your
<a href="https://github.com/settings/applications">GitHub settings page</a>).
If you wish to grant it access again, use the button below:
</div>
<form id="sign-in-form" method="POST" action="{{routeUrl "sign-in"}}">
<span class="mega-octicon octicon-mark-github"></span>
<input type="hidden" name="continue_url" value="{{.ContinueUrl}}">
<input type="submit" class="action-button" value="Sign In with GitHub">
<input type="checkbox" name="include_private" value="1" checked id="include_private">
<label for="include_private">
Include private repositories
</label>
</form>
{{end}}