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