Commit graph

2 commits

Author SHA1 Message Date
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
Mihai Parparita
b7760bc67e Add some common code for handling GitHub fetch and template rendering errors.
Not all handlers are converted yet.

Inspired by http://blog.golang.org/error-handling-and-go, but also (ab)uses the
error mechanism to handle redirects.
2014-11-27 16:02:21 -08:00