work
This commit is contained in:
parent
638ae328ea
commit
d2e6b65a12
8 changed files with 123 additions and 19 deletions
|
@ -1,17 +1,7 @@
|
|||
<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>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
</head>
|
||||
<body>
|
||||
{{ user.display_name }}
|
||||
|
@ -24,11 +14,20 @@
|
|||
</button>
|
||||
{% endif %}
|
||||
|
||||
<div class="min-h-screen bg-gray-100 flex items-center justify-center">
|
||||
{% for report in reports %}
|
||||
<div class="grid-container">
|
||||
<p> {{ report }} </p>
|
||||
<div class="{{ style.card }}">
|
||||
<a href="/report/{{ report.id }}"> {{ report }} </a>
|
||||
</div>
|
||||
|
||||
{% if forloop.last %}
|
||||
{% if report.week != week_now %}
|
||||
</div>
|
||||
<button onclick="location = '/write'" class="{{ style.red_btn }}"> Berichtsheft schreiben </button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue