40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
{% if render_partial and render_partial == true %}
|
|
|
|
{% block content %}
|
|
{% endblock content %}
|
|
|
|
{% else %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Actix Admin</title>
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
<script src="https://unpkg.com/htmx.org@1.7.0"></script>
|
|
|
|
<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>
|
|
{% include "header.html" %}
|
|
<div class="container is-fluid">
|
|
{% block content %}
|
|
{% endblock content %}
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|
|
{% endif %} |