From 5c21ec869924500f9f36e29ac4175e48322b05ac Mon Sep 17 00:00:00 2001 From: Robert Einsle Date: Mon, 9 Jan 2017 14:13:07 +0100 Subject: [PATCH] update template --- billard/static/billard/css/billard.css | 6 +++ billard/templates/billard/base.html | 52 ++++++++++++++++--- .../templates/billard/locationdata_list.html | 22 ++++++-- 3 files changed, 69 insertions(+), 11 deletions(-) create mode 100644 billard/static/billard/css/billard.css diff --git a/billard/static/billard/css/billard.css b/billard/static/billard/css/billard.css new file mode 100644 index 0000000..2787bd7 --- /dev/null +++ b/billard/static/billard/css/billard.css @@ -0,0 +1,6 @@ +body { + padding-top: 50px; +} +.starter-template { + padding: 40px 15px; +} diff --git a/billard/templates/billard/base.html b/billard/templates/billard/base.html index 47d71fa..dd8c7e0 100644 --- a/billard/templates/billard/base.html +++ b/billard/templates/billard/base.html @@ -1,12 +1,48 @@ {% load static %} - - - Test - - - + + + + + + + {% block title %}TITLE SETZEN{% endblock %} + + + + + + + + + + +
+
{% block content %} {% endblock %} - - +
+
+ + + + diff --git a/billard/templates/billard/locationdata_list.html b/billard/templates/billard/locationdata_list.html index e8737cf..1bfc956 100644 --- a/billard/templates/billard/locationdata_list.html +++ b/billard/templates/billard/locationdata_list.html @@ -1,12 +1,28 @@ {% extends 'billard/base.html' %} +{% block title %}Location Data{% endblock %} + {% block content %} {% if object_list %} -