From 4bb1c0a2a4863e5e3190b68cfda5dcc2f75b9659 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sat, 17 Oct 2020 18:11:42 +0100 Subject: [PATCH] More search and replace for BS changes Thought I'd got them all. Clearly not! --- RIGS/templates/event_checklist_form.html | 6 ++-- RIGS/templates/event_detail_buttons.html | 4 +-- RIGS/templates/event_form.html | 30 +++++++++---------- RIGS/templates/eventauthorisation_form.html | 10 +++---- RIGS/templates/hs_list.html | 2 +- RIGS/templates/invoice_detail.html | 4 +-- RIGS/templates/item_modal.html | 8 ++--- RIGS/templates/item_row.html | 4 +-- RIGS/templates/item_table.html | 6 ++-- RIGS/templates/payment_form.html | 6 ++-- RIGS/templates/risk_assessment_detail.html | 2 +- RIGS/templates/risk_assessment_form.html | 2 +- assets/templates/asset_audit.html | 2 +- assets/templates/asset_audit_list.html | 2 +- .../registration/password_change_form.html | 4 +-- .../registration/password_reset_confirm.html | 6 ++-- .../registration/password_reset_form.html | 4 +-- templates/registration/registration_form.html | 4 +-- users/templates/profile_button.html | 12 -------- users/templates/profile_form.html | 4 +-- 20 files changed, 55 insertions(+), 67 deletions(-) delete mode 100644 users/templates/profile_button.html diff --git a/RIGS/templates/event_checklist_form.html b/RIGS/templates/event_checklist_form.html index 063ef8cd..98661e24 100644 --- a/RIGS/templates/event_checklist_form.html +++ b/RIGS/templates/event_checklist_form.html @@ -117,7 +117,7 @@
+ class="col-4 col-form-label">{{ form.date.label }} {% if not form.date.value %} {% render_field form.date class+="form-control col-8" value=event.start_date %} {% else %} @@ -126,7 +126,7 @@
+ class="col-4 col-form-label">{{ form.venue.label }} {% if power_mic %} diff --git a/RIGS/templates/event_detail_buttons.html b/RIGS/templates/event_detail_buttons.html index f60a258a..7e9ead8c 100644 --- a/RIGS/templates/event_detail_buttons.html +++ b/RIGS/templates/event_detail_buttons.html @@ -20,7 +20,7 @@ " href="{% url 'event_authorise_request' object.pk %}"> -
diff --git a/RIGS/templates/event_form.html b/RIGS/templates/event_form.html index 26673ef0..a68685ea 100644 --- a/RIGS/templates/event_form.html +++ b/RIGS/templates/event_form.html @@ -92,7 +92,7 @@ {% block content %} {% include 'item_modal.html' %} -
+ {% csrf_token %}
@@ -127,7 +127,7 @@
+ class="col-sm-4 col-form-label">{{ form.person.label }}
@@ -153,7 +153,7 @@
+ class="col-sm-4 col-form-label">{{ form.organisation.label }}
@@ -185,7 +185,7 @@
+ class="col-sm-4 col-form-label">{{ form.description.label }}
{% render_field form.description class+="form-control" %} @@ -203,7 +203,7 @@
+ class="col-sm-4 col-form-label">{{ form.name.label }}
{% render_field form.name class+="form-control" %} @@ -211,7 +211,7 @@
+ class="col-sm-4 col-form-label">{{ form.venue.label }}
@@ -238,7 +238,7 @@
+ class="col-sm-4 col-form-label">{{ form.start_date.label }}
@@ -253,7 +253,7 @@
+ class="col-sm-4 col-form-label">{{ form.end_date.label }}
@@ -271,14 +271,14 @@
+ class="col-sm-4 col-form-label">{{ form.access_at.label }}
{% render_field form.access_at class+="form-control" step="60" %}
+ class="col-sm-4 col-form-label">{{ form.meet_at.label }}
{% render_field form.meet_at class+="form-control" step="60" %} @@ -298,7 +298,7 @@ {# Status is needed on all events types and it looks good here in the form #}
+ class="col-sm-4 col-form-label">{{ form.status.label }}
{% render_field form.status class+="form-control" %} @@ -308,7 +308,7 @@
+ class="col-sm-4 col-form-label">{{ form.mic.label }}
@@ -336,7 +336,7 @@
+ class="col-sm-4 col-form-label">{{ form.collector.label }}
{% render_field form.collector class+="form-control" %} @@ -345,7 +345,7 @@
+ class="col-sm-4 col-form-label">{{ form.purchase_order.label }}
{% render_field form.purchase_order class+="form-control" %} diff --git a/RIGS/templates/eventauthorisation_form.html b/RIGS/templates/eventauthorisation_form.html index 3a3bbfd5..479777c6 100644 --- a/RIGS/templates/eventauthorisation_form.html +++ b/RIGS/templates/eventauthorisation_form.html @@ -11,7 +11,7 @@
Event Authorisation
- + {% csrf_token %} {% include 'form_errors.html' %}
@@ -29,7 +29,7 @@
+ class="col-sm-4 col-form-label">{{ form.name.label }}
{% render_field form.name class+="form-control" %} @@ -39,7 +39,7 @@
+ class="col-sm-4 col-form-label">{{ form.uni_id.label }}
{% render_field form.uni_id class+="form-control" %}
@@ -50,7 +50,7 @@
+ class="col-sm-4 col-form-label">{{ form.account_code.label }}
{% render_field form.account_code class+="form-control" %}
@@ -59,7 +59,7 @@
+ class="col-sm-4 col-form-label">{{ form.amount.label }}
{% render_field form.amount class+="form-control" %}
diff --git a/RIGS/templates/hs_list.html b/RIGS/templates/hs_list.html index 74c3b517..0a11b99b 100644 --- a/RIGS/templates/hs_list.html +++ b/RIGS/templates/hs_list.html @@ -31,7 +31,7 @@
{% endfor %} + class="d-none d-sm-inline">Create {% empty %} diff --git a/RIGS/templates/invoice_detail.html b/RIGS/templates/invoice_detail.html index 5074c989..c2cb3f8f 100644 --- a/RIGS/templates/invoice_detail.html +++ b/RIGS/templates/invoice_detail.html @@ -8,11 +8,11 @@ diff --git a/RIGS/templates/item_modal.html b/RIGS/templates/item_modal.html index 2c07e039..f8ce7390 100644 --- a/RIGS/templates/item_modal.html +++ b/RIGS/templates/item_modal.html @@ -10,14 +10,14 @@