Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap 5 upgrade #1667

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f69cd3a
WIP: Migration to bootstrap 5
zarya Sep 27, 2024
b03bb42
Updated fontawesome, more bootstrap fixes
zarya Sep 28, 2024
79f9c77
Now really remove them
zarya Sep 28, 2024
796fc6d
Fixed camp menu item size, added font-face for compatibility with fa v5
zarya Sep 28, 2024
d566fba
Fixed all frontpages, fixed broken width on mobile
zarya Sep 28, 2024
464f1a8
More BS5 conversion things
zarya Sep 28, 2024
a48ac50
Fixed the ticket list table
zarya Sep 28, 2024
ac882ba
Added some example themes, fixed some more colors
zarya Sep 28, 2024
744ed6e
use nh3 instead of bleach to clean untrusted input
tykling Sep 21, 2024
8ba4b7f
remove reorder-python-imports due to conflict with black import ordering
tykling Sep 21, 2024
b46d1f3
make linters happy
tykling Sep 21, 2024
d4ff577
make PDF_TEST_MODE ansibleable
tykling Sep 21, 2024
b1f6504
make PDF_TEST_MODE ansibleable
tykling Sep 21, 2024
15c6ece
fix weasyprint static file finding on prod
tykling Sep 21, 2024
54d9277
remove unused setting
tykling Sep 21, 2024
3eea9a5
Bump pandas from 2.2.2 to 2.2.3 in /src/requirements (#1661)
dependabot[bot] Sep 24, 2024
393f507
Bump django-allauth from 64.2.1 to 65.0.0 in /src/requirements (#1660)
dependabot[bot] Sep 24, 2024
ade32be
Invoice pdf fixes (#1666)
zarya Sep 28, 2024
705f640
WIP: Migration to bootstrap 5
zarya Sep 27, 2024
4faacad
Updated buttons, added year color bar below year buttons
zarya Sep 28, 2024
7c62339
Merge branch 'master' into bootstrap_upgrade
zarya Sep 28, 2024
b9c672c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 28, 2024
325cf67
Bleach be gone
zarya Sep 28, 2024
063ca0b
Removed buttons/endbuttons tag
zarya Sep 28, 2024
b06bb08
Initial try at darkmode
zarya Sep 28, 2024
8eb0994
more dark theme fixes
zarya Sep 28, 2024
140c316
More fixes to support themes
zarya Sep 28, 2024
590ebc2
Fixed various styling things, added theme settings option to profile,…
zarya Sep 29, 2024
f5d23e7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 29, 2024
e16ff0c
Does this fix tests?
zarya Sep 29, 2024
e372ff8
And now?
zarya Sep 29, 2024
60ca496
A few more fixes here and there
zarya Sep 29, 2024
378f6af
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 29, 2024
f4e879e
Upgraded datatables, moment
zarya Sep 29, 2024
0dbdfbb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 29, 2024
c17cf86
Upgraded htmx to 2.0.2
zarya Sep 29, 2024
86fa5bd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions src/backoffice/templates/accountingexport_delete.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Delete AccountingExport {{ accountingexport.uuid }}?</h2>
<div class="card">
<div class="card-header">
<h2 class="card-title">Delete AccountingExport {{ accountingexport.uuid }}?</h2>
</div>
<div class="panel-body">
<div class="card-body">
<p class="lead">Really delete this Accounting Export? It covers the period from {{ accountingexport.date_from }} to {{ accountingexport.date_to }}, with the comment: <i>{{ accountingexport.comment|default:"N/A" }}</i>. This action cannot be undone!</p>
<form method="POST">
{% csrf_token %}
Expand Down
12 changes: 6 additions & 6 deletions src/backoffice/templates/accountingexport_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
{% endblock %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{{ accountingexport.pk }} | Accounting Export | BackOffice</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ accountingexport.pk }} | Accounting Export | BackOffice</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p>
<a href="{% url 'backoffice:accountingexport_list' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> Accounting Export List</a>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> BackOffice</a>
<a href="{% url 'backoffice:accountingexport_list' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Accounting Export List</a>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> BackOffice</a>
</p>
<table class="table">
<tbody>
Expand Down
12 changes: 6 additions & 6 deletions src/backoffice/templates/accountingexport_form.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}
{% load tz %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Create/Update Accounting Export</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">Create/Update Accounting Export</h3>
</div>
<div class="panel-body">
<div class="card-body">
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-success"><i class="fas fa-check"></i> Save</button>
<a href="{% url 'backoffice:accountingexport_list' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> Cancel</a>
<a href="{% url 'backoffice:accountingexport_list' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Cancel</a>
</form>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/backoffice/templates/accountingexport_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
{% endblock %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Accounting Exports List - BackOffice</h3></div>
<div class="panel-body">
<div class="card">
<div class="card-header"><h3 class="card-title">Accounting Exports List - BackOffice</h3></div>
<div class="card-body">
<p>A list of accounting exports made for bookkeeping purposes.</p>
{% if not accountingexport_list %}
<p class="lead">No Accounting Exports found. Go <a href="{% url 'backoffice:accountingexport_create' camp_slug=camp.slug %}">create one</a>!</p>
{% else %}
<p>
<a class="btn btn-default" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
<a class="btn btn-secondary" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
<a class="btn btn-success" href="{% url 'backoffice:accountingexport_create' camp_slug=camp.slug %}">Create</a>
{% include "includes/accounting_export_list_table.html" %}
</p>
{% endif %}
<p>
<a class="btn btn-default" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
<a class="btn btn-secondary" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
<a class="btn btn-success" href="{% url 'backoffice:accountingexport_create' camp_slug=camp.slug %}">Create</a>
</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/backoffice/templates/add_recording.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

{% block content %}
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<div class="card">
<div class="card-header">
<span class="h2">BackOffice - Add Event recordings</span>
</div>
<div class="panel-body">
<div class="card-body">
<div class="lead">
The Content team can add video links to all events that are configured to be recorded
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/backoffice/templates/approve_feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

{% block content %}
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<div class="card">
<div class="card-header">
<span class="h2">BackOffice - Approve Event Feedback</span>
</div>
<div class="panel-body">
<div class="card-body">
<div class="lead">
The Content team can approve or reject pending EventFeedback from this page. The feedback will not be visible to the Event owner before it is approved. The Event owner will not be able to see the username of the feedback authors. The feedback author can see when the feedback has been approved or rejected by returning to the feedback page.
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/backoffice/templates/autoschedule_apply.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Really Apply AutoSchedule?</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">Really Apply AutoSchedule?</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p>Applying the AutoSchedule will schedule Events in EventSlots to match the result of the AutoScheduler calculation. Any existing autoscheduled Events will be unscheduled.</P>
<form method="POST">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-success">
<i class="fas fa-check"></i> Apply Schedule
</button>
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-default">
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-secondary">
<i class="fas fa-undo"></i> Cancel
</a>
</form>
Expand Down
10 changes: 5 additions & 5 deletions src/backoffice/templates/autoschedule_crash_course.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% extends 'base.html' %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">AutoScheduler Crash Course</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">AutoScheduler Crash Course</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p>The AutoScheduler needs a list of <i>AutoScheduler Slots</i> and a list of <i>AutoScheduler Events</i> to do its thing.</p>
<p>We create one <i>AutoScheduler Slot</i> for each <i>EventSlot</i> in all <i>EventSessions</i> for the AutoScheduler-enabled <i>EventTypes</i>.</p>
<p>We create one <i>AutoScheduler Event</i> for each <i>EventType</i> which support autoscheduling, excluding any Events which have been scheduled manually.</p>
Expand All @@ -25,7 +25,7 @@ <h3 class="panel-title">AutoScheduler Crash Course</h3>

<p>It is fully supported to mix manual scheduling with using the AutoScheduler. The AutoScheduler can be used as needed: It can act strictly as a validator for a manually planned schedule. It could also be used for scheduling some events, while manually scheduling others. It can also be used to do the full schedule. The AutoScheduler will avoid scheduling over manually scheduled events, and will consider manually scheduled events when looking to avoid conflicts.</p>

<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> AutoSchedule Management</a>
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> AutoSchedule Management</a>
</div>
</div>
{% endblock content %}
4 changes: 2 additions & 2 deletions src/backoffice/templates/autoschedule_debug_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{% block body %}
<p class="lead">The following conflicts have been found between events in the AutoScheduler, events with a red table cell will not be scheduled together.</p>
<p><a class="btn btn-default" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
<p><a class="btn btn-secondary" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
<table class="table table-condensed table-bordered">
<thead>
<th><br></th>
Expand All @@ -25,5 +25,5 @@
</tr>
{% endfor %}
</table>
<p><a class="btn btn-default" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
<p><a class="btn btn-secondary" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
{% endblock body %}
4 changes: 2 additions & 2 deletions src/backoffice/templates/autoschedule_debug_slots.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{% block body %}
<p class="lead">The following availability matrix has been generated for the Event/Slot combinations in the AutoScheduler</p>
<p><a class="btn btn-default" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
<p><a class="btn btn-secondary" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
<table class="table table-condensed table-bordered">
<thead>
<th>fedt nok</th>
Expand All @@ -26,5 +26,5 @@
{% endfor %}
</tbody>
</table>
<p><a class="btn btn-default" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
<p><a class="btn btn-secondary" href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Back</a></p>
{% endblock body %}
12 changes: 6 additions & 6 deletions src/backoffice/templates/autoschedule_diff.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Show schedule diff</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">Show schedule diff</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p class="lead">Showing the diff between the current schedule (calculated from currently published Events), and the new schedule based on current database object.</p>
{% include 'includes/autoschedule_diff_table.html' %}
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> Back</a>
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Back</a>
</div>
</div>
{% endblock content %}
10 changes: 5 additions & 5 deletions src/backoffice/templates/autoschedule_index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% extends 'base.html' %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Manage AutoScheduler</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">Manage AutoScheduler</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p class="lead">Select your desired action below</p>
<div class="list-group">
<a href="{% url 'backoffice:autoschedule_validate' camp_slug=camp.slug %}" class="list-group-item">
Expand Down Expand Up @@ -50,7 +50,7 @@ <h4 class="list-group-item-heading">
</a>
</div>
<p><i>If you are new to the AutoScheduler you might wish to consult the <a href="{% url 'backoffice:autoschedule_crash_course' camp_slug=camp.slug %}">crash course</a> for a five minute introduction to the terminology and concepts used.</i></p>
<p><a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> Backoffice</a></p>
<p><a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Backoffice</a></p>
</div>
</div>

Expand Down
12 changes: 6 additions & 6 deletions src/backoffice/templates/autoschedule_validate.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Validate Schedule</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">Validate Schedule</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p class="lead">What do you want to validate?</p>
<p>Validating the <i>current</i> schedule means looking at the EventSessions, EventLocations, EventTypes, Events and their conflicts, Speakers, SpeakerAvailability, and Speaker&lt;&gt;EventConflicts, and comparing all that with the currently published schedule. Maybe some speakers changed availability or added some event conflicts? Use this tool to check if we still have a valid schedule!</p>
<p>Validating the <i>similar</i> schedule means looking at the same things as above, then calculating a new schedule (as similar to the current one as possible), and checking if the new schedule is (would be) valid. Use this to find out if it is feasible to create a new similar schedule from the current data in the database.</p>
Expand All @@ -17,7 +17,7 @@ <h3 class="panel-title">Validate Schedule</h3>
<button type="submit" class="btn btn-success">
<i class="fas fa-check"></i> Validate Schedule
</button>
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-default">
<a href="{% url 'backoffice:autoschedule_manage' camp_slug=camp.slug %}" class="btn btn-secondary">
<i class="fas fa-undo"></i> Cancel
</a>
</form>
Expand Down
10 changes: 5 additions & 5 deletions src/backoffice/templates/backoffice_proxy.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">See proxied content</h3></div>
<div class="panel-body">
<div class="card">
<div class="card-header"><h3 class="card-title">See proxied content</h3></div>
<div class="card-body">
<ul class="list-group">
{% for slug, urltuple in urls.items %}
<a class="list-group-item" href="{% url 'backoffice:proxy' camp_slug=camp.slug proxy_slug=slug %}"><span class="h4">{{ urltuple.0 }}</span><span class="pull-right">{{ urltuple.1 }}</span></a>
<a class="list-group-item" href="{% url 'backoffice:proxy' camp_slug=camp.slug proxy_slug=slug %}"><span class="h4">{{ urltuple.0 }}</span><span class="ms-auto">{{ urltuple.1 }}</span></a>
{% endfor %}
</ul>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/backoffice/templates/bank_csv_upload_form.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{% extends 'base.html' %}
{% load bootstrap3 %}
{% load django_bootstrap5 %}
{% load tz %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Bank CSV Upload for {{ bank.name }}</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">Bank CSV Upload for {{ bank.name }}</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p class="lead">Bank CSV Upload for {{ bank.name }}.</p>
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-success"><i class="fas fa-check"></i> Upload</button>
<a href="{% url 'backoffice:bank_detail' camp_slug=camp.slug bank_uuid=bank.pk %}" class="btn btn-default"><i class="fas fa-undo"></i> Cancel</a>
<a href="{% url 'backoffice:bank_detail' camp_slug=camp.slug bank_uuid=bank.pk %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Cancel</a>
</form>
</div>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/backoffice/templates/bank_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
{% endblock %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{{ bank.name }} | Bank | BackOffice</h3>
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ bank.name }} | Bank | BackOffice</h3>
</div>
<div class="panel-body">
<div class="card-body">
<p>
<a href="{% url 'backoffice:bank_list' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> Bank List</a>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> BackOffice</a>
<a href="{% url 'backoffice:bank_list' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Bank List</a>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> BackOffice</a>
<a href="{% url 'backoffice:bank_csvupload' camp_slug=camp.slug bank_uuid=bank.pk %}" class="btn btn-primary"><i class="fas fa-file-csv"></i> Import CSV</a>
</p>
<table class="table">
Expand All @@ -34,8 +34,8 @@ <h3>Bank Accounts</h3>
None found
{% endif %}
<p>
<a href="{% url 'backoffice:bank_list' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> Bank List</a>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-default"><i class="fas fa-undo"></i> BackOffice</a>
<a href="{% url 'backoffice:bank_list' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> Bank List</a>
<a href="{% url 'backoffice:index' camp_slug=camp.slug %}" class="btn btn-secondary"><i class="fas fa-undo"></i> BackOffice</a>
<a href="{% url 'backoffice:bank_csvupload' camp_slug=camp.slug bank_uuid=bank.pk %}" class="btn btn-primary"><i class="fas fa-file-csv"></i> Import CSV</a>
</p>
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/backoffice/templates/bank_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
{% endblock %}

{% block content %}
<div class="panel panel-default">
<div class="panel-heading"><h3 class="panel-title">Bank List - BackOffice</h3></div>
<div class="panel-body">
<div class="card">
<div class="card-header"><h3 class="card-title">Bank List - BackOffice</h3></div>
<div class="card-body">
<p>A list of the banks where we are or have been customers.</p>
{% if not bank_list %}
<p class="lead">No Bank found.</p>
{% else %}
<p>
<a class="btn btn-default" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
<a class="btn btn-secondary" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
{% include "includes/bank_list_table.html" %}
</p>
{% endif %}
<p>
<a class="btn btn-default" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
<a class="btn btn-secondary" href="{% url 'backoffice:index' camp_slug=camp.slug %}"><i class="fas fa-undo"></i> Backoffice</a>
</p>
</div>
</div>
Expand Down
Loading
Loading