recipes/backend/templates/base.html

36 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="{{ context.tr.current_lang_and_territory_code() }}" data-user-logged="{{ context.user.is_some() }}" >
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recettes de cuisine</title>
<link rel="stylesheet" type="text/css" href="/static/
{% if context.dark_theme %}
style_dark.css
{% else %}
style_light.css
{% endif %}">
<link rel="modulepreload" href="/static/wasm/frontend.js" crossorigin="anonymous" as="fetch" type="application/wasm">
</head>
<body>
<script type="module">
import init, * as bindings from '/static/wasm/frontend.js';
const wasm = await init({ module_or_path: '/static/wasm/frontend_bg.wasm' });
window.wasmBindings = bindings;
dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
</script>
<div id="toast"></div>
<dialog id="modal-dialog">
<div class="content"></div>
<input type="button" class="ok" value="OK">
<input type="button" class="cancel" value="Cancel">
</dialog>
{% block body_container %}{% endblock %}
<footer class="footer-container">recipes v{{ crate::consts::VERSION ~}} - <a href="https://www.gburri.org/">gburri</a> 2025</footer>
</body>
</html>