1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Pulled in all third-party resources and standardized on static template tag

This commit is contained in:
Jeremy Stretch
2016-06-21 13:26:19 -04:00
parent bc958a23b3
commit ed07b235a2
91 changed files with 45831 additions and 26 deletions

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load form_helpers %}
{% block title %}Connect {{ consoleport.device }} {{ consoleport }}{% endblock %}
@@ -48,6 +49,5 @@
{% endblock %}
{% block javascript %}
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="/static/js/livesearch.js"></script>
<script src="{% static 'js/livesearch.js' %}"></script>
{% endblock %}

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load form_helpers %}
{% block title %}Connect {{ consoleserverport.device }} {{ consoleserverport }}{% endblock %}
@@ -48,6 +49,5 @@
{% endblock %}
{% block javascript %}
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="/static/js/livesearch.js"></script>
<script src="{% static 'js/livesearch.js' %}"></script>
{% endblock %}

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load render_table from django_tables2 %}
{% load helpers %}
@@ -414,5 +415,5 @@ $('#graphs_modal').on('show.bs.modal', function (event) {
});
});
</script>
<script src="/static/js/secrets.js"></script>
<script src="{% static 'js/secrets.js' %}"></script>
{% endblock %}

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load form_helpers %}
{% block title %}Connect Interfaces{% endblock %}
@@ -85,6 +86,5 @@
{% endblock %}
{% block javascript %}
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="/static/js/livesearch.js"></script>
<script src="{% static 'js/livesearch.js' %}"></script>
{% endblock %}

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load form_helpers %}
{% block title %}Connect {{ poweroutlet.device }} {{ poweroutlet }}{% endblock %}
@@ -48,6 +49,5 @@
{% endblock %}
{% block javascript %}
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="/static/js/livesearch.js"></script>
<script src="{% static 'js/livesearch.js' %}"></script>
{% endblock %}

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load static from staticfiles %}
{% load form_helpers %}
{% block title %}Connect {{ powerport.device }} {{ powerport }}{% endblock %}
@@ -48,6 +49,5 @@
{% endblock %}
{% block javascript %}
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="/static/js/livesearch.js"></script>
<script src="{% static 'js/livesearch.js' %}"></script>
{% endblock %}