42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Jahr</th>
|
|
{% for ab_info in user_years.all %}
|
|
<th scope="">{{ab_info.year}}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th scope="row">Urlaub</th>
|
|
{% for ab_info in user_years.all %}
|
|
<td class="" id="holiday_{{ab_info.pk}}">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control readytochange_holiday" id="new_holiday_nor_{{ab_info.pk}}" aria-describedby="" value="{{ab_info.days}}">
|
|
</div>
|
|
</td>
|
|
{% endfor %}
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Genommener Urlaub</th>
|
|
{% for ab_info in user_years.all %}
|
|
<td>{{ab_info.days_inuse}}</td>
|
|
{% endfor %}
|
|
</tr>
|
|
<tr>
|
|
<th scope="row">Resturlaub aus Vorjahr</th>
|
|
{% for ab_info in user_years.all %}
|
|
{% if forloop.counter0 > 0 %}
|
|
<td class="" id="rest_holiday_{{ab_info.pk}}">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control readytochange_holiday" id="new_holiday_rest_{{ab_info.pk}}" aria-describedby="" value="{{ab_info.restdays}}">
|
|
</div>
|
|
</td>
|
|
{% else %}
|
|
<td> </td>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tr>
|
|
</tbody>
|
|
</table> |