diff options
author | 2018-06-13 16:43:42 +0100 | |
---|---|---|
committer | 2018-06-13 16:43:42 +0100 | |
commit | be2bbe35cf49763ad0258c005f3cbdddd7a21d75 (patch) | |
tree | 962d5e52f4bb57c397c068ae6a11b57952cfc459 /templates/staff/jams/infractions/view.html | |
parent | [DB] Attempt reconnection if current connection was lost (diff) |
Compile as much JS with Gulp as possible
This will concatenate ALL of our JS, and minify it - thus leaving us with a single file to be loaded.
There's a few libraries we can't do this with, unfortunately - these are now added in fouc.js:
* Ace Editor
* Flatpickr
* Font-Awesome
Diffstat (limited to 'templates/staff/jams/infractions/view.html')
-rw-r--r-- | templates/staff/jams/infractions/view.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/staff/jams/infractions/view.html b/templates/staff/jams/infractions/view.html index 00374632..a4391c53 100644 --- a/templates/staff/jams/infractions/view.html +++ b/templates/staff/jams/infractions/view.html @@ -2,9 +2,6 @@ {% block title %}Staff | Jams | Infractions{% endblock %} {% block og_title %}Staff | Jams | Infractions{% endblock %} {% block og_description %}Manage infractions{% endblock %} -{% block extra_head %} - <script src="{{ static_file('js/jams.js') }}"></script> -{% endblock %} {% block content %} <div class="uk-container uk-container-small uk-section"> <h1>Infractions</h1> @@ -125,7 +122,7 @@ <script type="application/javascript"> "use strict"; - const actions = new Actions("{{ url_for("staff.jams.action") }}", "{{ csrf_token() }}"); + const actions = new JamActions("{{ url_for("staff.jams.action") }}", "{{ csrf_token() }}"); const table_body = document.getElementById("table-body"); const table = document.getElementById("table"); |