ensl_gathers/public/js/.module-cache/2a1c89bcf1d4766dc10811dc8af9e6d5e5c8d669.js
2015-07-20 23:47:18 +01:00

21 lines
No EOL
940 B
JavaScript

var GathererCounter = React.createClass({displayName: "GathererCounter",
render: function () {
return (React.createElement("div", {className: "panel panel-primary"},
React.createElement("div", {className: "panel-heading"},
React.createElement("div", {className: "row"},
React.createElement("div", {className: "col-xs-3"},
React.createElement("i", {className: "fa fa-users fa-5x"})
),
React.createElement("div", {className: "col-xs-9 text-right"},
React.createElement("div", {className: "huge", id: "gather-counter"},
this.props.count
),
React.createElement("div", null, "Gatherers Online")
)
)
)
));
}
});
React.render(React.createElement(GathererCounter, null), document.getElementById('gatherCounter'));