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/participants.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/participants.html')
-rw-r--r-- | templates/staff/jams/participants.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/staff/jams/participants.html b/templates/staff/jams/participants.html index 8dc9ce03..978088bb 100644 --- a/templates/staff/jams/participants.html +++ b/templates/staff/jams/participants.html @@ -2,9 +2,6 @@ {% block title %}Staff | Jams | Participants{% endblock %} {% block og_title %}Staff | Jams | Participants{% endblock %} {% block og_description %}Listing of participant applications and their status{% endblock %} -{% block extra_head %} - <script src="{{ static_file('js/jams.js') }}"></script> -{% endblock %} {% block content %} {% macro card_header(app) %} <div> @@ -78,7 +75,7 @@ </div> <script> - const actions = new Actions("{{ url_for("staff.jams.action") }}", "{{ csrf_token() }}"); + const actions = new JamActions("{{ url_for("staff.jams.action") }}", "{{ csrf_token() }}"); for (let elem of document.getElementsByClassName("expand-button")) { elem.onclick = function(result, data) { |