Night Mode + CSS Additions (#7929)

* Night Mode and More Hotkeys

* Nightmode CSS adjustments

* Removed Redundant Line

* Wrapped JSON.parse statements in a try catch block
This commit is contained in:
Justin Richardsson
2016-04-08 18:13:41 -04:00
committed by Berkeley Martinez
parent d0c12be85e
commit 5fdc961587
6 changed files with 189 additions and 5 deletions

View File

@@ -3,6 +3,9 @@ block content
h1.text-center Settings for your Account
hr
h2.text-center Actions
.row
.col-xs-12
a.btn.btn-lg.btn-block.btn-primary.btn-link-social(class = "nightMode-btn") Night Mode
.row
.col-xs-12
if (!user.isGithubCool)

View File

@@ -8,7 +8,7 @@ html(lang='en')
include partials/scripts
block content
else
body.no-top-and-bottom-margins.full-screen-body-background
body.no-top-and-bottom-margins
include partials/scripts
include partials/navbar
include partials/flash