Convert templates to pongo2
This commit is contained in:
parent
266cd2f4d2
commit
d61e607b8a
22 changed files with 311 additions and 136 deletions
38
views/layouts/main.html
Normal file
38
views/layouts/main.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!doctype html>
|
||||
<html lang="fr" data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
{% set PageTitleSuffix = "Camarades | POP Vaud" %}
|
||||
{% if PageTitle %}
|
||||
<title>{{ PageTitle }} | {{ PageTitleSuffix }}</title>
|
||||
{% else %}
|
||||
<title>{{ PageTitleSuffix }}</title>
|
||||
{% endif %}
|
||||
|
||||
<link rel="shortcut icon" href="/static/images/favicon.jpg" type="image/jpg">
|
||||
<link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/static/main.css">
|
||||
{% block stylesheet %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block header %}
|
||||
{% include "partials/header.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<!-- Content goes here -->
|
||||
{% endblock %}
|
||||
|
||||
<script src="/static/jquery/jquery.min.js"></script>
|
||||
<script src="/static/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/static/feather/dist/feather.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
feather.replace();
|
||||
});
|
||||
</script>
|
||||
{% block javascript %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue