From 70d47eda99b6ca131494535f636647e86162d1a1 Mon Sep 17 00:00:00 2001 From: Chris Blanchard Date: Wed, 5 Aug 2015 00:57:54 +0100 Subject: [PATCH] Update styling --- README.md | 15 +++++++++++---- lib/react/gather.jsx | 2 +- lib/react/user.jsx | 4 ++-- public/css/app.css | 8 ++++++++ public/js/app.js | 6 +++--- 5 files changed, 25 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 488e780..fd5a71e 100644 --- a/README.md +++ b/README.md @@ -26,20 +26,27 @@ npm start ## Todo +Required for Production: - ENSL.org: Authentication +- Backend datastore for messages +- Admin tools: Modify Messages +- Admin tools: Remove gatherer +- ENSL.org: Pull bans +- + +Nice to have: + - ENSL.org: Pull bans - ENSL.org: Pull teams - ENSL.org: Pull servers -- ENSL.org: Pull bans - Hive.naturalselection2.com: Pull stats - Steam: Outbound steam messaging -- Backend datastore for messages and gathers +- Backend store for gathers - Add sounds and configuration - Add user profile + backend store - Show online/away/offline status -- Admin tools: Modify Messages -- Admin tools: Remove gatherer ## License MIT Licensed +picking order diff --git a/lib/react/gather.jsx b/lib/react/gather.jsx index de6406b..3290f09 100644 --- a/lib/react/gather.jsx +++ b/lib/react/gather.jsx @@ -484,7 +484,7 @@ var Gather = React.createClass({ return (
- NS2 Gather + Current Gather {this.props.gather.gatherers.length}
diff --git a/lib/react/user.jsx b/lib/react/user.jsx index e9fe7a3..f3d8506 100644 --- a/lib/react/user.jsx +++ b/lib/react/user.jsx @@ -88,10 +88,10 @@ var AdminPanel = React.createClass({
Admin
-

Only responds for admins on staging.ensl.org

+

Only responds for admins on staging.ensl.org

diff --git a/public/css/app.css b/public/css/app.css index eea958c..49e8bfc 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -57,4 +57,12 @@ .voting-table { font-size: 90%; +} + +.max-width { + width: 100%; +} + +.add-top { + margin-top: 10px; } \ No newline at end of file diff --git a/public/js/app.js b/public/js/app.js index cec01d1..e2415a5 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -484,7 +484,7 @@ var Gather = React.createClass({displayName: "Gather", return ( React.createElement("div", {className: "panel panel-default"}, React.createElement("div", {className: "panel-heading"}, - React.createElement("strong", null, "NS2 Gather "), + React.createElement("strong", null, "Current Gather"), React.createElement("span", {className: "badge add-left"}, this.props.gather.gatherers.length) ), React.createElement(GatherProgress, React.__spread({}, this.props)), @@ -886,10 +886,10 @@ var AdminPanel = React.createClass({displayName: "AdminPanel", React.createElement("div", {className: "admin-panel"}, React.createElement("h5", null, "Admin"), React.createElement("button", { - className: "btn btn-danger", + className: "btn btn-danger max-width", onClick: this.handleGatherReset}, "Reset Gather"), - React.createElement("p", {className: "text-center"}, React.createElement("small", null, "Only responds for admins on staging.ensl.org")) + React.createElement("p", {className: "text-center add-top"}, React.createElement("small", null, "Only responds for admins on staging.ensl.org")) ) ) )