diff --git a/templates/app.html b/templates/app.html new file mode 100644 index 0000000..22a9a10 --- /dev/null +++ b/templates/app.html @@ -0,0 +1,13 @@ + + + + + + + + {% block head %}{% endblock %} + + + {% block body %}{% endblock %} + + diff --git a/templates/breeds.html b/templates/breeds.html index b2b056b..47fc48a 100644 --- a/templates/breeds.html +++ b/templates/breeds.html @@ -1,5 +1,3 @@ - - @@ -17,11 +15,13 @@

Base

@@ -31,10 +31,9 @@ diff --git a/templates/index.html b/templates/index.html index 792f0e4..b0519e3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,69 +1,58 @@ - - - - - - - dwm-app - - - -

- Welcome to the Dragon Warrior Monsters 2 App -

-
- - +{% extends 'app.html' %} {% block head %}{% endblock %} {% block body %} +

+ Welcome to the Dragon Warrior Monsters 2 App +

+
+ + - - -
- -
- - -
-
+ + +
+ +
+
- {% for file in js_files %} - - {% endfor %} - - +
+ +
+{% for file in js_files %} + +{% endfor %} {% endblock %} diff --git a/templates/layout.html b/templates/layout.html deleted file mode 100644 index e69de29..0000000