parent
64a2b67473
commit
75eef410b0
@ -1,5 +1,88 @@
|
||||
{% extends 'app/base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Home</h1>
|
||||
<script>
|
||||
document.getElementById('body').classList.replace('bg-white-color','bg-blue-color');
|
||||
document.getElementById('header-color-block').classList.replace('bg-white-color','bg-blue-color');
|
||||
document.getElementById('HeaderText').style.display = 'block';
|
||||
document.getElementById('maincontainer').classList.replace('align-items-center', 'align-items-top')
|
||||
</script>
|
||||
|
||||
<div class="container" id="welcome_content"> <!-- d-none muss entfernt werden für richtige Funktion -->
|
||||
<h1>Wilkommen!</h1>
|
||||
<p>Schön das du hier bist!
|
||||
<br>Ich wünsche dir viel Freude mit der App.
|
||||
<br>Sollten Fragen oder Probleme auftauchen, fühl dich frei in der Community <a href="http://piomint.de/feedback"><u>piomint.de/feedback</u></a> einen Eintrag da zu lassen.
|
||||
<br>
|
||||
<br><b>Hinweis:</b>
|
||||
<br>Diese App ist für Pioniere optimiert und deshalb für den normalen Dienst oder Hilfspionierdienst nicht so gut geeignet.
|
||||
<br>Eine Ausnahme ist der "Dauer-Hippi" - Dieser ist in den Einstellung auswählbar.
|
||||
</p>
|
||||
<br>
|
||||
<button class="btn btn-primary" id="allOk">Alles klar</button>
|
||||
|
||||
<script>
|
||||
document.getElementById("allOk").addEventListener('click', function(){
|
||||
document.getElementById('welcome_content').style.display = 'none';
|
||||
document.getElementById('dashboard').classList.remove('d-none');
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="d-none" id="dashboard">
|
||||
<div class="row justify-content-around mt-3" style="width: 95vw; color: black;">
|
||||
<div class="col-5" style="height: 15vh; padding: 1rem; border-radius:1rem; box-shadow: 0 0 0.5rem gray">
|
||||
<p style="font-size: 1.2rem;"><b>Monat</b></p>
|
||||
<div class="progress" style="height: 12px; width: 90%; border-radius: 2rem; background-color: lightgray;">
|
||||
<div class="progress-bar" role="progressbar" style="background-color:rgb(120,170,86); width: 20%; height: 12px;" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<p style="font-size: 2rem;">12h</p>
|
||||
</div>
|
||||
<div class="col-5" style="height: 15vh; padding: 1rem; border-radius:1rem; box-shadow: 0 0 0.5rem gray">
|
||||
<p style="font-size: 1.2rem;"><b>Jahr</b></p>
|
||||
<div class="progress" style="height: 12px; width: 90%; border-radius: 2rem; background-color: lightgray;">
|
||||
<div class="progress-bar" role="progressbar" style="background-color:rgb(120,170,86); width: 51%; height: 12px;" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<p style="font-size: 2rem;">310h</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-around" style="width: 95vw; color: black; padding-top: 2rem;">
|
||||
<div class="col-11" style="height: 15vh; padding: 1rem; border-radius:1rem; box-shadow: 0 0 0.5rem gray">
|
||||
<p style="font-size: 1.2rem;"><b>Timer</b></p>
|
||||
<p style="font-size: 2.5rem;">00:00h</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-content-around" style="width: 95vw; color: black; padding-top: 2rem;"></div>
|
||||
<div class="col-12" style="height: 45vh; padding: 1rem; border-radius:1rem; box-shadow: 0 0 0.5rem gray">
|
||||
<p style="font-size: 1.2rem;"><b>Aktivitäten</b></p>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Dauer</th>
|
||||
<th scope="col">Datum</th>
|
||||
<th scope="col">Typ</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>01:30</td>
|
||||
<td>12.09.24</td>
|
||||
<td>Dienst</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>03:30</td>
|
||||
<td>13.09.24</td>
|
||||
<td>LDC</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>03:00</td>
|
||||
<td>08.09.24</td>
|
||||
<td>Dienst</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Reference in new issue