From 3a3da0fa86fa19f99da885afb482b00d478476b4 Mon Sep 17 00:00:00 2001 From: Ed Date: Sun, 18 Dec 2022 17:50:03 +0100 Subject: [PATCH] Removed inline css from template --- tpl/base.html | 1 + tpl/create_room.html | 5 +---- tpl/error.html | 2 +- tpl/welcome.html | 3 --- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tpl/base.html b/tpl/base.html index 1a2a971..3cb1045 100644 --- a/tpl/base.html +++ b/tpl/base.html @@ -13,6 +13,7 @@ h1 img {max-height:1.4em;} .notice {padding:0.8em;border-radius:3px;background:#e53935;color:#eee;} .notice a {color:#eee;font-decoration:underline;} + .container {max-width:40em} diff --git a/tpl/create_room.html b/tpl/create_room.html index 8b3ee3e..5e24286 100644 --- a/tpl/create_room.html +++ b/tpl/create_room.html @@ -1,9 +1,6 @@ {% extends "base.html" %} -{% block title %}Welcome!{% endblock %} +{% block title %}Create a new room{% endblock %} {% block main %} -

Create a new room

diff --git a/tpl/error.html b/tpl/error.html index d75a946..72b3e05 100644 --- a/tpl/error.html +++ b/tpl/error.html @@ -2,7 +2,7 @@ {% block title %}Error {{exception.status_code}}{% endblock %} {% block main %}
-

Oh no! Error {{exception.status_code}}

+

{{exception.status_code}}

{{exception}}

{% endblock %} diff --git a/tpl/welcome.html b/tpl/welcome.html index fd57179..79504a8 100644 --- a/tpl/welcome.html +++ b/tpl/welcome.html @@ -1,9 +1,6 @@ {% extends "base.html" %} {% block title %}{{order.name}}'s Booking{% endblock %} {% block main %} -

{{order.name}}'s Booking