diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 000000000..b4d5946dd
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ {% block title %}GUDLFT{% endblock %}
+ {% block head_extra %}{% endblock %}
+
+
+ {% block content %}{% endblock %}
+
+
\ No newline at end of file
diff --git a/templates/booking.html b/templates/booking.html
index 06ae1156c..69208cc85 100644
--- a/templates/booking.html
+++ b/templates/booking.html
@@ -1,10 +1,9 @@
-
-
-
-
- Booking for {{competition['name']}} || GUDLFT
-
-
+{% extends "base.html" %}
+{% block title %}Booking for {{ competition['name'] }} | GUDLFT{% endblock %}
+{% block head_extra %}
+
+{% endblock %}
+{% block content %}
{{competition['name']}}
Places available: {{competition['numberOfPlaces']}}
-
-
\ No newline at end of file
+{% endblock %}
\ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
index 926526b7d..4616fc5e7 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,10 +1,7 @@
-
-
-
-
- GUDLFT Registration
-
-
+{% extends "base.html" %}
+
+{% block title %}GUDLFT Registration{% endblock %}
+{% block content %}
Welcome to the GUDLFT Registration Portal!
Please enter your secretary email to continue:
-
-
\ No newline at end of file
+{% endblock %}
\ No newline at end of file
diff --git a/templates/welcome.html b/templates/welcome.html
index ff6b261a2..5f9b72c35 100644
--- a/templates/welcome.html
+++ b/templates/welcome.html
@@ -1,20 +1,18 @@
-
-
-
-
- Summary | GUDLFT Registration
-
-
- Welcome, {{club['email']}}
Logout
+{% extends "base.html" %}
+{% block title %}Summary | GUDLFT Registration{% endblock %}
+{% block content %}
- {% with messages = get_flashed_messages()%}
+ Welcome, {{club['email']}}
Logout
+
+ {% with messages = get_flashed_messages() %}
{% if messages %}
-
+
{% for message in messages %}
- - {{message}}
+ - {{ message }}
{% endfor %}
{% endif%}
+ {% endwith %}
Points available: {{club['points']}}
Competitions:
@@ -30,7 +28,4 @@ Competitions:
{% endfor %}
- {%endwith%}
-
-
-
\ No newline at end of file
+{% endblock %}
\ No newline at end of file