diff options
author | 2018-06-05 16:07:35 +0100 | |
---|---|---|
committer | 2018-06-05 16:07:35 +0100 | |
commit | 13a3c1e29473aa9f563e8db4ad94cb3eee9bdfe6 (patch) | |
tree | 290c6d668ec9161a39065456a33ec634215907cc /templates/staff/jams/edit_info.html | |
parent | documentation metadata API (#57) (diff) |
Move from CSS to SCSS (#86)
* Rewrite existing style.css with sass
* Add "uses-rst" class for pages that use rendered RST
This replaces the previous method of just listing
every page in the sass
* Remove old debug print
* Mixins and error pages
* Newly built CSS
* Add SASS cache to .gitignore
* New error SASS
* Slight changes to error template
* Add UIKit SCSS to repo
This includes the LICENSE and our customizations, which
makes life way easier for contributors
* Reorganize sass folder; your watchers can avoid uikit now
* Sass folder should be called scss
* Change variable names
* [SCSS] Linting
* Fix scss_lint gem name [ci skip]
* [SCSS] Now you can compile with just Python!
* Temporary hack to make the wiki editor taller
* [SCSS] @jchristgit
* [SCSS.py] Require specification of include dir to simplify the SCSS imports
* [SCSS] All inline styles have been removed
* [SCSS] Update UIKit theme to import from our variables
* [SCSS] Remove extra newlines in errors/_common.scss
Diffstat (limited to 'templates/staff/jams/edit_info.html')
-rw-r--r-- | templates/staff/jams/edit_info.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/staff/jams/edit_info.html b/templates/staff/jams/edit_info.html index 81a0a9ac..7fdc3c22 100644 --- a/templates/staff/jams/edit_info.html +++ b/templates/staff/jams/edit_info.html @@ -2,9 +2,12 @@ {% block title %}Staff | Jams | Edit (Info){% endblock %} {% block og_title %}Staff | Jams | Edit (Info){% endblock %} {% block og_description %}Edit the basic info for a code jam{% endblock %} + +{% block page_classes %}uses-rst{% endblock %} {% block extra_head %} <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ace.js" type="application/javascript"></script> {% endblock %} + {% block content %} <div class="uk-container uk-container-small uk-section"> <h1 class="uk-text-center">Code Jam: Edit (Info)</h1> @@ -44,7 +47,7 @@ </div> <div class="uk-form-controls uk-form-controls-text"> - <div id="info_editor" class="uk-textarea" style="resize: vertical; min-height: 15rem;">{{ jam.info_rst }}</div> + <div id="info_editor" class="uk-textarea editor">{{ jam.info_rst }}</div> </div> <input type="hidden" name="info_rst" id="info_rst" value="{{ jam.info_rst }}" /> @@ -65,7 +68,7 @@ </div> <div class="uk-form-controls uk-form-controls-text"> - <div id="task_editor" class="uk-textarea" style="resize: vertical; min-height: 15rem;">{{ jam.task_rst }}</div> + <div id="task_editor" class="uk-textarea editor">{{ jam.task_rst }}</div> </div> <input type="hidden" name="task_rst" id="task_rst" value="{{ jam.task_rst }}" /> |