mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-30 19:42:43 +00:00
initial commit
This commit is contained in:
@@ -14,7 +14,8 @@ const Stats = createClass({
|
||||
getInitialState(){
|
||||
return {
|
||||
stats : {
|
||||
totalBrews : 0
|
||||
totalBrews : 0,
|
||||
totalPublishedBrews : 0
|
||||
},
|
||||
fetching : false
|
||||
};
|
||||
@@ -34,6 +35,8 @@ const Stats = createClass({
|
||||
<dl>
|
||||
<dt>Total Brew Count</dt>
|
||||
<dd>{this.state.stats.totalBrews}</dd>
|
||||
<dt>Total Brews Published</dt>
|
||||
<dd>{this.state.stats.totalPublishedBrews}</dd>
|
||||
</dl>
|
||||
|
||||
{this.state.fetching
|
||||
|
||||
@@ -4,10 +4,13 @@
|
||||
|
||||
.pending {
|
||||
position : absolute;
|
||||
top : 0px;
|
||||
left : 0px;
|
||||
top : 0.5em;
|
||||
left : 100px;
|
||||
width : 100%;
|
||||
height : 100%;
|
||||
background-color : rgba(238,238,238, 0.5);
|
||||
}
|
||||
|
||||
&:has(.pending) {
|
||||
opacity:0.5;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user