Flask-Project-Template/src/core/templates/layout.html

48 lines
1.3 KiB
HTML
Raw Normal View History

2019-12-14 23:03:06 +00:00
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
{% if title %}
<title>{{title}}</title>
{% else %}
2019-12-14 23:14:14 +00:00
<title>App</title>
2019-12-14 23:03:06 +00:00
{% endif %}
2020-01-12 19:42:25 +00:00
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}">
2019-12-14 23:03:06 +00:00
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap/bootstrap.min.css')}}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap/bootstrap-datepicker.css')}}">
2019-12-14 23:14:14 +00:00
2020-01-12 20:24:44 +00:00
{% block header_css %}
2019-12-14 23:14:14 +00:00
{% endblock %}
2020-01-12 20:24:44 +00:00
{% block header_scripts %}
2019-12-14 23:14:14 +00:00
{% endblock %}
2019-12-14 23:03:06 +00:00
</head>
<body>
2020-01-12 20:24:44 +00:00
{% block body_header %}
{% endblock %}
2019-12-14 23:03:06 +00:00
2020-01-12 20:24:44 +00:00
{% block content %}
2019-12-14 23:03:06 +00:00
{% endblock %}
2020-01-12 20:24:44 +00:00
{% block body_footer %}
{% endblock %}
2019-12-14 23:03:06 +00:00
<!-- For Bootstrap in this exact order... -->
<script src="{{ url_for('static', filename='js/bootstrap/jquery-3.3.1.slim.min.js')}}"></script>
<script src="{{ url_for('static', filename='js/bootstrap/popper.min.js')}}"></script>
<script src="{{ url_for('static', filename='js/bootstrap/bootstrap.min.js')}}"></script>
<!-- For DatePicker -->
<script src="{{ url_for('static', filename='js/bootstrap/moment.min.js')}}"></script>
<script src="{{ url_for('static', filename='js/bootstrap/bootstrap-datepicker.min.js')}}"></script>
2020-01-12 20:24:44 +00:00
{% block body_scripts %}
2019-12-14 23:03:06 +00:00
{% endblock %}
</body>
</html>