From 19566e4bbe854977766f0d5582f738e79e084157 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Sun, 19 Mar 2023 19:18:00 +0000 Subject: [PATCH] Fix a few tiny glitches in frontend dark mode as well as SDVX/Museca header duplication glitch. --- bemani/frontend/app.py | 2 +- bemani/frontend/static/controllers/ddr/records.react.js | 2 +- bemani/frontend/static/controllers/museca/records.react.js | 4 ++-- bemani/frontend/static/controllers/popn/records.react.js | 2 +- bemani/frontend/static/controllers/reflec/records.react.js | 2 +- bemani/frontend/static/controllers/sdvx/records.react.js | 2 +- bemani/frontend/static/themes/dark/table.css | 6 +----- 7 files changed, 8 insertions(+), 12 deletions(-) diff --git a/bemani/frontend/app.py b/bemani/frontend/app.py index bd558de..8b85702 100644 --- a/bemani/frontend/app.py +++ b/bemani/frontend/app.py @@ -34,7 +34,7 @@ config = Config() # Allow cache-busting of entire frontend for major changes such as react upgrades. -FRONTEND_CACHE_BUST: str = "site.1.2.react.16.14" +FRONTEND_CACHE_BUST: str = "site.1.3.react.16.14" @app.before_request diff --git a/bemani/frontend/static/controllers/ddr/records.react.js b/bemani/frontend/static/controllers/ddr/records.react.js index b473f0a..d92459f 100644 --- a/bemani/frontend/static/controllers/ddr/records.react.js +++ b/bemani/frontend/static/controllers/ddr/records.react.js @@ -210,7 +210,7 @@ var network_records = createReactClass({ if (paginate && curpage != this.state.subtab) { return null; } return ( - + { !paginate ? this.state.versions[-songid] : "Song / Artist / Difficulties" } diff --git a/bemani/frontend/static/controllers/museca/records.react.js b/bemani/frontend/static/controllers/museca/records.react.js index db48474..5c6295e 100644 --- a/bemani/frontend/static/controllers/museca/records.react.js +++ b/bemani/frontend/static/controllers/museca/records.react.js @@ -218,7 +218,7 @@ var network_records = createReactClass({ if (paginate && curpage != this.state.subtab) { return null; } return ( - + { !paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties" } @@ -431,7 +431,7 @@ var network_records = createReactClass({
- + diff --git a/bemani/frontend/static/controllers/popn/records.react.js b/bemani/frontend/static/controllers/popn/records.react.js index 8b347be..7df4b2f 100644 --- a/bemani/frontend/static/controllers/popn/records.react.js +++ b/bemani/frontend/static/controllers/popn/records.react.js @@ -213,7 +213,7 @@ var network_records = createReactClass({ if (paginate && curpage != this.state.subtab) { return null; } return ( - + diff --git a/bemani/frontend/static/controllers/reflec/records.react.js b/bemani/frontend/static/controllers/reflec/records.react.js index 6a11436..cb983eb 100644 --- a/bemani/frontend/static/controllers/reflec/records.react.js +++ b/bemani/frontend/static/controllers/reflec/records.react.js @@ -231,7 +231,7 @@ var network_records = createReactClass({ if (paginate && curpage != this.state.subtab) { return null; } return ( - + diff --git a/bemani/frontend/static/controllers/sdvx/records.react.js b/bemani/frontend/static/controllers/sdvx/records.react.js index cfdd9a8..4015af3 100644 --- a/bemani/frontend/static/controllers/sdvx/records.react.js +++ b/bemani/frontend/static/controllers/sdvx/records.react.js @@ -211,7 +211,7 @@ var network_records = createReactClass({ if (paginate && curpage != this.state.subtab) { return null; } return ( - + diff --git a/bemani/frontend/static/themes/dark/table.css b/bemani/frontend/static/themes/dark/table.css index d532ec0..d1118e2 100644 --- a/bemani/frontend/static/themes/dark/table.css +++ b/bemani/frontend/static/themes/dark/table.css @@ -63,7 +63,7 @@ table.list tbody tr:nth-child(even) td { } table td.subheader { - background-color: #1f1f1f ! important; + background-color: #192021 ! important; font-weight: bold; } @@ -116,10 +116,6 @@ table.list input[type="checkbox"], table.add input[type="checkbox"] { margin: 0px; } -td.subheader { - color: 121212; -} - table.events div.circle { width: 16px; height: 16px;
Song / Artist / Difficulties { 'Green (\u7FE0)' } { 'Orange (\u6A59)' }
{ !paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties" }
{ !paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties" }
{ !paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties" }