2022-12-20 11:21:31 +00:00
|
|
|
{% extends tpl/layout.html %}
|
|
|
|
|
|
|
|
{% block title %}irgendwas mit Doppelklinge{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action="/doppelklinge" method="post">
|
|
|
|
<p>Gesamten Mainframe von Position X: 80 Y: 126 einfügen (strg-a, strg-c):</p>
|
|
|
|
<textarea name="progress" rows="4" cols="60">{{ $progress }}</textarea>
|
|
|
|
<br />
|
|
|
|
<input type="submit" value="abschnalzen" />
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% if(isset($list)): %}
|
|
|
|
<hr />
|
|
|
|
<table class="table table-sm table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Aufgabe</th>
|
|
|
|
<th>Fortschritt</th>
|
|
|
|
<th>Ziel</th>
|
2022-12-22 06:06:30 +00:00
|
|
|
<th>übrig</th>
|
2022-12-20 11:21:31 +00:00
|
|
|
<th>Prozent</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for($i = 0; $i < count($list); $i++): %}
|
|
|
|
<tr style="background-color: {{ $i >= 5 ? 'red' : 'white' }}">
|
|
|
|
<td>{{ $list[$i]->task }}</td>
|
2022-12-22 06:06:30 +00:00
|
|
|
<td>{{ number_format($list[$i]->act, 0, '', '.') }}</td>
|
|
|
|
<td>{{ number_format($list[$i]->max, 0, '', '.') }}</td>
|
|
|
|
<td>{{ number_format($list[$i]->left, 0, '', '.') }}</td>
|
2022-12-20 11:21:31 +00:00
|
|
|
<td>{{ $list[$i]->percent }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor; %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
insgesamt {{ $percent }}% erledigt (ø {{ $avg }}%).
|
|
|
|
{% endif; %}
|
|
|
|
{% endblock %}
|