aboutsummaryrefslogtreecommitdiffstats
path: root/templates/staff/jams/infractions/view.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-13 16:43:42 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-13 16:43:42 +0100
commitbe2bbe35cf49763ad0258c005f3cbdddd7a21d75 (patch)
tree962d5e52f4bb57c397c068ae6a11b57952cfc459 /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.html5
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");