actix-admin/actix_admin/templates/base.html
2022-08-01 15:06:54 +02:00

44 lines
966 B
HTML

{% if render_partial and render_partial == true %}
{% block content %}
{% endblock content %}
{% else %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Actix Admin</title>
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
<script src="https://unpkg.com/htmx.org@1.7.0"></script>
<style type="text/css">
.full-width { width: 100%; }
</style>
<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>
</head>
<body>
<main class="container-fluid">
{% include "header.html" %}
<div>
{% block content %}
{% endblock content %}
</div>
</main>
</body>
</html>
{% endif %}