Eintragung von HomeOffice ist über die Oberfläche möglich

This commit is contained in:
2025-06-20 19:43:04 +02:00
parent 4d91a04430
commit dbca8ad570
9 changed files with 87 additions and 15 deletions
@@ -14,6 +14,22 @@
tbody.weekend td input, tbody.weekend td {
color: red;
}
tbody.weekend label {
color: initial;
}
section form fieldset div input {
display: inline-block;
padding: 0.25rem;
border-style: solid;
border-width: thin;
}
section form fieldset div input[type=checkbox] {
display: inline-block;
width: auto;
margin: 0 1rem 1.0rem;
}
</style>
@@ -39,10 +55,19 @@
{day}
</td>
<td>
<input name="{day}" value="08:00:00" type="time" step="1"
<input name="{day}[time]" value="08:00:00" type="time" step="1"
required pattern="[0-5]\d:[0-5]\d:[0-5]\d">
</td>
</tr>
<tr>
<td>
</td>
<td>
<label>wurde zu Hause gearbeitet?
<input name="{day}[isHomeOffice]" type="checkbox">
</label>
</td>
</tr>
{/each}
</tbody>
<tbody class="weekend">
@@ -52,10 +77,19 @@
{day}
</td>
<td>
<input name="{day}" value="00:00:00" type="time" step="1"
<input name="{day}[time]" value="00:00:00" type="time" step="1"
required pattern="[0-5]\d:[0-5]\d:[0-5]\d">
</td>
</tr>
<tr>
<td>
</td>
<td>
<label>wurde zu Hause gearbeitet?
<input name="{day}[isHomeOffice]" type="checkbox">
</label>
</td>
</tr>
{/each}
</tbody>
</table>