From 0addb590fe367b48e830a35279b23383db235428 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Sun, 26 Apr 2020 00:52:19 +0000 Subject: [PATCH] Refresh the frontend, getting rid of rounded edges, restyling buttons, fixing styling of pop-up confirmation and dismissable information elements and fixing inconsistencies in records pagination. --- .../frontend/static/components/edit.react.js | 2 +- .../static/controllers/popn/player.react.js | 2 +- .../static/controllers/popn/records.react.js | 2 +- .../static/controllers/popn/settings.react.js | 2 +- bemani/frontend/static/form.css | 145 ++++++++++-------- bemani/frontend/static/jquery-confirm.css | 2 +- bemani/frontend/static/site.css | 3 +- bemani/frontend/static/table.css | 4 +- 8 files changed, 88 insertions(+), 74 deletions(-) diff --git a/bemani/frontend/static/components/edit.react.js b/bemani/frontend/static/components/edit.react.js index a6e5de3..f115a1b 100644 --- a/bemani/frontend/static/components/edit.react.js +++ b/bemani/frontend/static/components/edit.react.js @@ -9,7 +9,7 @@ var Edit = React.createClass({ onClick={function(event) { this.props.onClick(event); }.bind(this)} - title={this.props.title ? this.props.title : 'edit'} + title={this.props.title ? this.props.title : 'update'} /> ); }, diff --git a/bemani/frontend/static/controllers/popn/player.react.js b/bemani/frontend/static/controllers/popn/player.react.js index 3cb5867..829354e 100644 --- a/bemani/frontend/static/controllers/popn/player.react.js +++ b/bemani/frontend/static/controllers/popn/player.react.js @@ -41,7 +41,7 @@ var profile_view = React.createClass({ var player = this.state.player[this.state.version]; return (
-
+

{player.name}'s profile

{this.state.profiles.map(function(version) { return ( diff --git a/bemani/frontend/static/controllers/popn/records.react.js b/bemani/frontend/static/controllers/popn/records.react.js index 2647fdb..22c2e1d 100644 --- a/bemani/frontend/static/controllers/popn/records.react.js +++ b/bemani/frontend/static/controllers/popn/records.react.js @@ -164,7 +164,7 @@ var network_records = React.createClass({ return ( { paginate ? -
+
{songids.map(function(songid) { if (songid < 0) { curbutton = curbutton + 1; diff --git a/bemani/frontend/static/controllers/popn/settings.react.js b/bemani/frontend/static/controllers/popn/settings.react.js index d5f0ac1..50e1537 100644 --- a/bemani/frontend/static/controllers/popn/settings.react.js +++ b/bemani/frontend/static/controllers/popn/settings.react.js @@ -125,7 +125,7 @@ var settings_view = React.createClass({ var player = this.state.player[this.state.version]; return (
-
+
{this.state.profiles.map(function(version) { return (