minecraft_manager/templates/minecraft_manager/base.html

41 lines
1.5 KiB
HTML

<!DOCTYPE html>
{% load static %}
{% load template_settings %}
<html>
<head>
<!-- favicon -->
<link rel="shortcut icon" type="image/png" href="{% static 'minecraft_manager/img/favicon.png' %}"/>
<!-- Latest compiled and minified JQuery -->
<script src="{% static 'minecraft_manager/js/jquery-3.3.1.min.js' %}" ></script>
<!-- Latest compiled and minified CSS -->
{% block bootstrap %}{% endblock bootstrap %}
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- DataTables -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.13/css/dataTables.bootstrap.min.css"></link>
<script src="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.min.js"></script>
<script src="{% static "minecraft_manager/js/FilterByText.js" %}"></script>
{% block head %}{% endblock head %}
{% template_settings 'WINDOW_TITLE' as WINDOW_TITLE %}
<title>{% if WINDOW_TITLE %}{{ WINDOW_TITLE }}{% else %}MCM{% endif %}</title>
</head>
<body>
{% block content %}{% endblock content %}
</body>
<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
String.prototype.htmlEscape = function() {
return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');
}
</script>
</html>