Compare commits

..

12 Commits

Author SHA1 Message Date
Tim Van Baak 8d26f21cee Linter pass 2021-09-09 18:13:28 -07:00
Tim Van Baak 5e202a83ce Remove settings from old code that have been reintegrated into new code 2021-09-09 18:10:05 -07:00
Tim Van Baak 4494287e3e Add index settings page unit test 2021-09-09 18:07:25 -07:00
Tim Van Baak cdea172bb5 Remove CSFR from subforms 2021-09-09 18:06:53 -07:00
Tim Van Baak 87531dc8e6 Add index settings page 2021-09-08 22:08:31 -07:00
Tim Van Baak 53ea6d5298 Add index cli and create command 2021-09-04 20:46:34 -07:00
Tim Van Baak 7e54b14b7f Implement player-specific and game setup settings 2021-09-04 15:34:18 -07:00
Tim Van Baak ba722562a8 Add settings page skeleton 2021-09-04 13:37:28 -07:00
Tim Van Baak c5e68f1999 Refactor some css colors
These will be reused in the settings tabs and perhaps elsewhere
2021-09-04 13:24:11 -07:00
Tim Van Baak 30c32f9860 fixup for lexicon_name 2021-09-04 10:08:04 -07:00
Tim Van Baak 7a082e1da7 Add local proxies for the current lexicon and membership
This somewhat duplicates loading the objects into flask.g, but doesn't require
the lexicon route decorators. Additionally, lazy-loading these objects can save
the occasional db call, and for the current membership this is more convenient
than having to add a second decorator or staple it to the lexicon loading.
2021-09-04 09:58:58 -07:00
Tim Van Baak bb49e319dd Rename route parameter to lexicon_name
This disambiguates and future-proofs the route parameters so they can be more
easily referenced in before_request contexts shared by all routes.
2021-09-04 09:53:06 -07:00
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<ul class="unordered-tabs"> <ul class="unordered-tabs">
<li>{{ settings_page_link("player", "Player Settings") }}</li> <li>{{ settings_page_link("player", "Player Settings") }}</li>
<li>{{ settings_page_link("setup", "Game Setup") }}</li> <li>{{ settings_page_link("setup", "Game Setup") }}</li>
<li>{{ settings_page_link("index", "Article Indices") }}</li> <li>{{ settings_page_link("index", "Article Indexes") }}</li>
<li>{{ settings_page_link("publish", "Turn Publishing") }}</li> <li>{{ settings_page_link("publish", "Turn Publishing") }}</li>
<li>{{ settings_page_link("article", "Article Requirements") }}</li> <li>{{ settings_page_link("article", "Article Requirements") }}</li>
</ul> </ul>