This repository has been archived by the owner on Mar 9, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
104 changed files
with
1,454 additions
and
1,267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
'use strict'; | ||
const React = require('react'); | ||
const ReactRouter = require('react-router-dom'); | ||
|
||
|
||
const Redirect = ReactRouter.Redirect; | ||
const Route = ReactRouter.Route; | ||
|
||
|
||
const RouteRedirect = function (outerProps) { | ||
|
||
const inline = function (innerProps) { | ||
|
||
if (innerProps.staticContext) { | ||
innerProps.staticContext.code = outerProps.code; | ||
} | ||
|
||
return ( | ||
<Redirect from={outerProps.from} to={outerProps.to}/> | ||
); | ||
}; | ||
|
||
return ( | ||
<Route render={inline}/> | ||
); | ||
}; | ||
|
||
|
||
module.exports = RouteRedirect; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
'use strict'; | ||
const React = require('react'); | ||
const ReactRouter = require('react-router-dom'); | ||
|
||
|
||
const Route = ReactRouter.Route; | ||
|
||
|
||
const RouteStatus = function (outerProps) { | ||
|
||
const inline = function (innerProps) { | ||
|
||
if (innerProps.staticContext) { | ||
innerProps.staticContext.code = outerProps.code; | ||
} | ||
|
||
return outerProps.children; | ||
}; | ||
|
||
return ( | ||
<Route render={inline} /> | ||
); | ||
}; | ||
|
||
|
||
module.exports = RouteStatus; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.section-home { | ||
.stat-label { | ||
color: #777; | ||
text-transform: uppercase; | ||
font-weight: bold; | ||
} | ||
.stat-value { | ||
font-weight: bold; | ||
font-size: 3em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,74 @@ | ||
.section-home { | ||
.stat-label { | ||
color: #777; | ||
text-transform: uppercase; | ||
@import "../../../node_modules/bootstrap/less/variables.less"; | ||
@import "./home/index.less"; | ||
|
||
|
||
body { | ||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
padding-top: 50px; | ||
} | ||
|
||
.bamf { | ||
font-size: 20em; | ||
} | ||
|
||
/* prevent ios zoom on input */ | ||
select, textarea, input, .form-control { | ||
font-size: 16px; | ||
} | ||
|
||
.navbar { | ||
.navbar-brand { | ||
font-weight: bold; | ||
color: #333; | ||
position: relative; | ||
display: inline-block; | ||
|
||
.navbar-logo { | ||
position: relative; | ||
display: inline-block; | ||
top: -5px; | ||
height: 32px; | ||
width: 32px; | ||
} | ||
} | ||
.stat-value { | ||
font-weight: bold; | ||
font-size: 3em; | ||
|
||
.navbar-brand-label { | ||
position: relative; | ||
top: -2px; | ||
margin-left: 10px; | ||
|
||
img { | ||
height: 28px; | ||
} | ||
} | ||
} | ||
|
||
.footer { | ||
margin-top: 50px; | ||
color: #999; | ||
|
||
.container { | ||
border-top: 1px solid #ccc; | ||
padding: 20px 15px; | ||
} | ||
a, a:visited { | ||
color: #999; | ||
} | ||
.links { | ||
margin: 0; | ||
padding: 0; | ||
|
||
li { | ||
display: inline-block; | ||
padding-right: 10px; | ||
margin-right: 10px; | ||
list-style: none; | ||
border-right: 1px dotted #999; | ||
} | ||
li:last-child { | ||
padding-right: 0; | ||
margin-right: 0; | ||
border: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.section-account-details { | ||
.list-group-statuses, | ||
.list-group-notes { | ||
.badge { | ||
color: #666; | ||
font-weight: normal; | ||
background-color: transparent; | ||
border: 1px solid #ccc; | ||
} | ||
|
||
li:nth-child(odd) { | ||
background-color: #eee; | ||
} | ||
} | ||
|
||
.form-group-notes { | ||
textarea { | ||
border-bottom-right-radius: 0; | ||
border-bottom-left-radius: 0; | ||
} | ||
.btn-block { | ||
border-top-right-radius: 0; | ||
border-top-left-radius: 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.