aboutsummaryrefslogtreecommitdiffstats
path: root/templates/errors
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-05 16:07:35 +0100
committerGravatar GitHub <[email protected]>2018-06-05 16:07:35 +0100
commit13a3c1e29473aa9f563e8db4ad94cb3eee9bdfe6 (patch)
tree290c6d668ec9161a39065456a33ec634215907cc /templates/errors
parentdocumentation 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/errors')
-rw-r--r--templates/errors/error.html22
1 files changed, 8 insertions, 14 deletions
diff --git a/templates/errors/error.html b/templates/errors/error.html
index 366bd49e..6132aea1 100644
--- a/templates/errors/error.html
+++ b/templates/errors/error.html
@@ -2,11 +2,8 @@
{% block title %}Error {{ code }}{% endblock %}
{% block og_title %}Error {{ code }}{% endblock %}
{% block og_description %}{{ error_message | safe }}{% endblock %}
-{% block beta_error %}{% endblock %}
{% block extra_head %}
- <link href="{{ static_file('css/window.css') }}" rel="stylesheet" type="text/css"/>
-
<script>
window._RequestMethod = "{{ request.method.lower() }}";
window._Code = {{ code }};
@@ -22,7 +19,7 @@
<div class="uk-background-muted">
<div class="uk-container">
<div class="uk-section uk-text-center uk-panel uk-panel-box">
- <p style="color: #e84149; font-family: monospace;" class="error-header uk-text-large uk-text-break">{{ error_title }}</p>
+ <p class="error-header uk-text-large uk-text-break">{{ error_title }}</p>
</div>
</div>
</div>
@@ -32,20 +29,16 @@
<div class="window" id="win">
<div class="top">
<div class="panel">
- <span class="first" id="terminal-close"></span>
- <span class="second"></span>
- <span class="third"></span>
+ <span id="terminal-close"></span>
+ <span id="second-button"></span>
+ <span id="third-button"></span>
</div>
- <div class="nav">
- <span class="prev active"><i class="fa fa-angle-left"></i></span>
- <span class="next"><i class="fa fa-angle-right"></i></span>
- </div>
</div>
<div class="inside">
- <div class="blok">
- <pre id="terminal"><code style="white-space: pre-wrap;" class="python" id="error"></code></pre>
+ <div class="block">
+ <pre id="terminal"><code class="python" id="error"></code></pre>
</div>
</div>
</div>
@@ -61,4 +54,5 @@
<h1>There was an issue processing your request</h1>
<p>{{ error_message | safe }}</p>
</noscript>
-{% endblock %} \ No newline at end of file
+{% endblock %}
+