diff --git a/housewars/static/css/main.css b/housewars/static/css/main.css index 8b95fe3..49416b3 100644 --- a/housewars/static/css/main.css +++ b/housewars/static/css/main.css @@ -15,10 +15,22 @@ html, body { height: 100%; } +#banner { + /* background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRp-RkNnMsGagfx0oV3SsHNONyIVlF3tfl9EiXhACZe&s"); + background-repeat: no-repeat; + background-size: 100% 100%; */ + background-color: #00f; +} + +#step-counter { + height: 10% +} + .steps-form { display: table; width: 100%; position: relative; + margin-bottom: 1rem; } .steps-form .steps-row { diff --git a/housewars/templates/housewars/activity_form.html b/housewars/templates/housewars/activity_form.html index 480be4e..a84a224 100644 --- a/housewars/templates/housewars/activity_form.html +++ b/housewars/templates/housewars/activity_form.html @@ -1,25 +1,27 @@ {% extends 'base.html' %} {% load i18n %} +{% block step-counter %} +
+
+
+ +

Student Information

+
+
+ +

Activity Information

+
+
+
+{% endblock %} + {% block content %}
{% csrf_token %} {{ wizard.management_form }} -
-
-
- -

Student Information

-
-
- -

Activity Information

-
-
-
-
{{ form.activity1 }} diff --git a/housewars/templates/housewars/entry_form.html b/housewars/templates/housewars/entry_form.html index 12baebe..5c551b8 100644 --- a/housewars/templates/housewars/entry_form.html +++ b/housewars/templates/housewars/entry_form.html @@ -1,23 +1,26 @@ {% extends 'base.html' %} {% load i18n %} +{% block step-counter %} +
+
+
+ +

Student Information

+
+
+ +

Activity Information

+
+
+
+{% endblock %} + {% block content %} {% csrf_token %} {{ wizard.management_form }} -
-
-
- -

Student Information

-
-
- -

Activity Information

-
-
-
diff --git a/templates/base.html b/templates/base.html index fa9a0c3..c8f1a8d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -21,28 +21,35 @@ {% endblock %} -
-
-
-

{% if formtitle %}{{ formtitle }}{% endif %}

- - {% block content %}{% endblock %} -
- {% if messages %} - {% for message in messages %} -
{{ message }}
+
+
+
+ {% block step-counter %}{% endblock %} +
+ + + + + {% block content %}{% endblock %} + + +
+ {% if messages %} + {% for message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} + + {% if form.errors %} + {% for field in form %} + {% for error in field.errors %} +
{{ error }}
{% endfor %} - {% endif %} - {% if form.errors %} - {% for field in form %} - {% for error in field.errors %} -
{{ error }}
- {% endfor %} - {% endfor %} - {% endif %} -
+ {% endfor %} + {% endif %}
+