mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 19:22:26 +00:00
33 lines
992 B
HTML
33 lines
992 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}RustiCal{% endblock %}</title>
|
|
<link rel="stylesheet" href="/frontend/assets/style.css" />
|
|
{% block imports %}{% endblock %}
|
|
</head>
|
|
|
|
<body>
|
|
{% block header %}
|
|
<header>
|
|
<a class="logo" href="/frontend/user">RustiCal</a>
|
|
{% block header_center %}{% endblock %}
|
|
{% if self.get_user().is_some() %}
|
|
<form method="POST" action="/frontend/logout" class="logout_form">
|
|
<button type="submit">Log out</button>
|
|
</form>
|
|
{% endif %}
|
|
</header>
|
|
{% endblock %}
|
|
<div id="app">
|
|
{% block content %}<p>Placeholder</p>{% endblock %}
|
|
</div>
|
|
<footer>
|
|
<a href="{{ env!("CARGO_PKG_REPOSITORY") }}" target="_blank">RustiCal {{ env!("CARGO_PKG_VERSION") }}</a>
|
|
<a href="/frontend/assets/licenses.html" target="_blank">Open Source Licenses</a>
|
|
</footer>
|
|
</body>
|
|
</html>
|