PyTaxonomies/website/templates/main.html

31 lines
935 B
HTML
Raw Normal View History

{% extends "bootstrap/base.html" %}
2016-10-12 16:35:54 +02:00
{% import "bootstrap/wtf.html" as wtf %}
{% block scripts %}
{{ super() }}
<script src='{{ url_for('static', filename='jquery.dataTables.min.js') }}'></script>
<script src='{{ url_for('static', filename='dataTables.bootstrap.min.js') }}'></script>
<script>
$(document).ready(function() {
var table = $('#pytaxonomies_table').DataTable({
"pageLength": 25,
"lengthMenu": [[25, 25, 100, -1], [25, 50, 100, "All"]]
});
} );
</script>
{% endblock %}
2016-10-12 14:22:19 +02:00
{% block styles %}
{{ super() }}
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='dataTables.bootstrap.min.css') }}">
2016-10-12 14:22:19 +02:00
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='pytaxonomies.css') }}">
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block navbar %}
{{nav.mynavbar.render()}}
{% endblock %}