Skip to content
Snippets Groups Projects
  • Benjamin Hättasch's avatar
    2c359090
    Fix several javascript issues · 2c359090
    Benjamin Hättasch authored
    Make sure popper frontend dependency is always loaded before bootstrap script files load
    This fixes #121 as well as issues in admin interface (scheduling and track management)
    Make track management javascript more robust (this resolves an issue occurring when moving an AK with track back to list of AKs without tracks)
    2c359090
    History
    Fix several javascript issues
    Benjamin Hättasch authored
    Make sure popper frontend dependency is always loaded before bootstrap script files load
    This fixes #121 as well as issues in admin interface (scheduling and track management)
    Make track management javascript more robust (this resolves an issue occurring when moving an AK with track back to list of AKs without tracks)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
base_site.html 747 B
{% extends "admin/base_site.html" %}

{% load bootstrap4 %}
{% load fontawesome_5 %}
{% load static %}

{% block extrastyle %}
    {% if not debug %}
        <link rel="stylesheet" type="text/css" href="{% static "common/css/admin-color.css" %}"/>
    {% endif %}
{% endblock %}

{% block extrahead %}
    <!-- Load popper before bootstrap loads -->
    <script src="{% static "common/vendor/popper/popper-1.14.7.min.js" %}"></script>

    <!-- Load bootstrap, jquery and fontawesome-->
    {% bootstrap_css %}
    {% bootstrap_javascript jquery='full' %}
    {% fontawesome_5_static %}

    <style>
        a.btn {
            color: #FFFFFF;
        }

        .block-header {
            margin-top: 20px;
        }
    </style>
{% endblock %}