code under construction

This commit is contained in:
Angelo Rodriguez 2024-12-02 16:49:45 +01:00
parent fb848b9244
commit 02341dccee
26 changed files with 820 additions and 1 deletions

34
core/templates/index.html Executable file
View file

@ -0,0 +1,34 @@
<html>
<head>
<title>Azube</title>
<style>
.grid-container {
display: inline-grid;
grid-template-columns: repeat(3, 1fr);
gap: 5px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 0.5rem;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
{{ user.display_name }}
<h1> Deine Berichtshefte </h1>
{% if reports|length == 0 %}
<button onclick="location = '/write'">
Füge dein erstes Berichtsheft hinzu!
</button>
{% endif %}
{% for report in reports %}
<div class="grid-container">
<p> {{ report }} </p>
</div>
{% endfor %}
</body>
</html>