Versioning template improvements

//TODO Rather than have seperate asset templates, convert 'id' into a template variable
This commit is contained in:
2020-04-06 03:15:43 +01:00
parent 55e37d8c69
commit d216dd4c74
10 changed files with 96 additions and 211 deletions

View File

@@ -1,4 +1,4 @@
{% load static %}
{% load static %}
<script src="{% static "js/tooltip.js" %}"></script>
<script src="{% static "js/popover.js" %}"></script>
<script src="{% static "js/moment.js" %}"></script>
@@ -6,15 +6,10 @@
$(function () {
$('[data-toggle="tooltip"]').tooltip();
});
var whiteList = $.fn.tooltip.Constructor.Default.whiteList
whiteList.ins = []
whiteList.del = []
$(function() {
$('[data-toggle="popover"]').popover({whiteList: whiteList});
});
</script>
<script>
var whiteList = $.fn.tooltip.Constructor.Default.whiteList
whiteList.ins = []
whiteList.del = []
$(document).ready(function() {
});
</script>