From 1adaf20f6106ea7ded2e6c16513409d287a7087e Mon Sep 17 00:00:00 2001 From: ducoterra Date: Fri, 24 Apr 2020 21:00:29 -0400 Subject: [PATCH] major style overhaul --- ui/static/ui/button.css | 0 ui/templates/ui/base.html | 24 +++++++++++++++++ ui/templates/ui/button.html | 52 +++++++++++++++++-------------------- 3 files changed, 48 insertions(+), 28 deletions(-) create mode 100644 ui/static/ui/button.css create mode 100644 ui/templates/ui/base.html diff --git a/ui/static/ui/button.css b/ui/static/ui/button.css new file mode 100644 index 0000000..e69de29 diff --git a/ui/templates/ui/base.html b/ui/templates/ui/base.html new file mode 100644 index 0000000..1842884 --- /dev/null +++ b/ui/templates/ui/base.html @@ -0,0 +1,24 @@ +{% load static %} + + + + + + + + The Button + + + {% block css %} + {% endblock %} + + + + {% csrf_token %} + + {% block body %} + {% endblock %} + + {% block js %} + {% endblock %} + \ No newline at end of file diff --git a/ui/templates/ui/button.html b/ui/templates/ui/button.html index 495d27a..163d3f0 100644 --- a/ui/templates/ui/button.html +++ b/ui/templates/ui/button.html @@ -1,33 +1,29 @@ +{% extends 'ui/base.html' %} + {% load static %} - - +{% block css %} + +{% endblock %} - - - - Hello Bulma! - - - +{% block js %} + +{% endblock %} - - {% csrf_token %} -
-
-
-

- The Button -

- -
-

-
-

{{ pressed }}

-
+ +{% block body %} +
+
+
+

+ The Button +

+
-
- - - - \ No newline at end of file +

+
+

{{ pressed }}

+
+
+
+{% endblock %} \ No newline at end of file