From 5256aeeda337c4fc78da2d0def31325f32431023 2018-06-24 01:07:10 From: Tobias Schulmann Date: 2018-06-24 01:07:10 Subject: [PATCH] Started dashboard design --- diff --git a/pinaxcon/templates/_form_btns.html b/pinaxcon/templates/_form_btns.html new file mode 100644 index 0000000000000000000000000000000000000000..a38a9ce7ec652c85342a6c07e1472a6acc38342a --- /dev/null +++ b/pinaxcon/templates/_form_btns.html @@ -0,0 +1,2 @@ + + Cancel \ No newline at end of file diff --git a/pinaxcon/templates/_form_snippet.html b/pinaxcon/templates/_form_snippet.html index 1e5193a39c1f6f03dc3d0db216a5e886b3cb37c0..09f49b8801909f4024799f60a5276bfe62184419 100644 --- a/pinaxcon/templates/_form_snippet.html +++ b/pinaxcon/templates/_form_snippet.html @@ -1,5 +1,6 @@ {% load lca2018_tags %} {% load bootstrap %} +{% load crispy_forms_tags %} {% if form.non_field_errors %}
@@ -9,7 +10,7 @@ {% endif %}
- Fields marked with * are required. + Fields marked with a
* are required
-{{ form|bootstrap_horizontal }} +{% crispy form %} diff --git a/pinaxcon/templates/dashboard.html b/pinaxcon/templates/dashboard.html index 94366cf584d30ca7b1e80fbb2ebf43457696fcde..d041014f0144d863fdde48532e3f3ef08d5b4880 100644 --- a/pinaxcon/templates/dashboard.html +++ b/pinaxcon/templates/dashboard.html @@ -11,363 +11,362 @@ {% block header_title %}linux.conf.au 2019{% endblock %} {% block header_lead %}User Dashboard{% endblock %} - +{% block main_class %}{% endblock %} {% block content %} - {% available_categories as categories %} - {% if categories %} +{% available_categories as categories %} +
+

Dashboard

+
+{% if categories %} + +{% if user.is_staff %} +
+

Administration

+
+
+ Reports +
+
+
+{% endif %} - {% if user.is_staff %} -
-