minecraft_manager/templates/minecraft_manager/base.html

44 lines
1.8 KiB
HTML

<!DOCTYPE html>
{% load static %}
{% load template_settings %}
<html>
<head>
<!-- favicon -->
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.png' %}"/>
<!-- Latest compiled and minified JQuery -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- 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 "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>