mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 23:50:12 +01:00
overhaul: migrated to tailwind css for css management, consolidated custom css, removed inline css, removed unneeded css, and otherwise improved page styling
This commit is contained in:
parent
f1e21873e7
commit
b994978f60
81 changed files with 15784 additions and 2936 deletions
|
|
@ -1,13 +1,25 @@
|
|||
{% extends "base.html" %}
|
||||
{% from 'partials/_buttons.html' import button %}
|
||||
{% from 'partials/_panels.html' import simple_panel %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h2>Page not found</h2>
|
||||
<p>The page you requested could not be found.</p>
|
||||
<p class="muted">Request ID: <code>{{ request_id or request.state.request_id }}</code></p>
|
||||
<p><a class="btn" href="/">Go home</a></p>
|
||||
<details>
|
||||
{{ simple_panel(
|
||||
title='Page Not Found',
|
||||
content='<p>The page you requested could not be found.</p>
|
||||
<p class="muted">Request ID: <code>' ~ (request_id or request.state.request_id) ~ '</code></p>',
|
||||
variant='bordered',
|
||||
padding='lg'
|
||||
) }}
|
||||
|
||||
<div style="margin-top: 1rem;">
|
||||
{{ button('Go Home', variant='primary', href='/') }}
|
||||
</div>
|
||||
|
||||
<details style="margin-top: 1rem;">
|
||||
<summary>Details</summary>
|
||||
<pre>Status: {{ status }}
|
||||
Path: {{ request.url.path }}</pre>
|
||||
</details>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
{% from 'partials/_buttons.html' import button %}
|
||||
{% from 'partials/_panels.html' import info_panel %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h2>Internal Server Error</h2>
|
||||
<p>Something went wrong.</p>
|
||||
<p class="muted">Request ID: <code>{{ request_id or request.state.request_id }}</code></p>
|
||||
<p><a class="btn" href="/">Go home</a></p>
|
||||
{{ info_panel(
|
||||
icon='❌',
|
||||
title='Internal Server Error',
|
||||
content='Something went wrong. Our team has been notified.<br><br>
|
||||
<span class="muted">Request ID: <code>' ~ (request_id or request.state.request_id) ~ '</code></span>',
|
||||
type='error',
|
||||
action_text='Go Home',
|
||||
action_href='/'
|
||||
) }}
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue