2022-07-29 17:53:59 +02:00
|
|
|
{% if render_partial and render_partial == true %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% endblock content %}
|
|
|
|
|
|
|
|
{% else %}
|
2022-04-23 20:03:09 +02:00
|
|
|
<!DOCTYPE html>
|
2022-07-31 16:33:02 +02:00
|
|
|
<html lang="en">
|
2022-04-25 17:23:38 +02:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Actix Admin</title>
|
|
|
|
|
2022-07-26 11:47:49 +02:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
|
2022-06-04 16:34:16 +02:00
|
|
|
<script src="https://unpkg.com/htmx.org@1.7.0"></script>
|
2022-07-29 17:53:59 +02:00
|
|
|
|
|
|
|
<style type="text/css">
|
2022-07-31 16:33:02 +02:00
|
|
|
.full-width { width: 100%; }
|
2022-07-29 17:53:59 +02:00
|
|
|
</style>
|
2022-08-01 15:06:54 +02:00
|
|
|
|
|
|
|
<script>
|
|
|
|
function checkAll(bx) {
|
|
|
|
var cbs = document.getElementsByTagName('input');
|
|
|
|
for(var i=0; i < cbs.length; i++) {
|
|
|
|
if(cbs[i].type == 'checkbox') {
|
|
|
|
cbs[i].checked = bx.checked;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2022-04-25 17:23:38 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2022-07-31 16:33:02 +02:00
|
|
|
<main class="container-fluid">
|
2022-07-29 17:53:59 +02:00
|
|
|
{% include "header.html" %}
|
2022-04-25 17:23:38 +02:00
|
|
|
<div>
|
|
|
|
{% block content %}
|
|
|
|
{% endblock content %}
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
|
2022-07-29 17:53:59 +02:00
|
|
|
</html>
|
|
|
|
{% endif %}
|