FIXED milestones dashboard

This commit is contained in:
Lili (Tlapka) 2023-03-14 16:28:45 +01:00
parent cb574618a6
commit 9323b58ed6
1 changed files with 7 additions and 13 deletions

View File

@ -69,28 +69,25 @@
</thead> </thead>
{% for milestone in milestones %} {% for milestone in milestones %}
<tbody> <tbody>
<td> <label for="file"> {{ milestone[0] }}</label> </td> <td> {{ milestone[0] }} </td>
<td> <progress id="file" max={{ milestone[2] }} value={{ milestone[1] }}></progress> </td> <td> <progress id="file" max={{ milestone[2] }} value={{ milestone[1] }}></progress></td>
</tbody> </tbody>
{% endfor %} {% endfor %}
</table>
{% endif %} {% endif %}
{% endif %} {% endif %}
</body> </body>
</div> </div>
<div id='redeem-queue' class="tabcontent"> <div id='redeem-queue' class="tabcontent">
<p>Tlap tlap.</p>
<body> <body>
<h3>Redeems Queue</h3> <h3>Redeems Queue</h3>
<p>Tlap tlap 2.</p>
{% if queue %} {% if queue %}
<p>Tlap tlap. 3</p>
<table> <table>
<thead> <thead>
<tr> <tr>
<th colspan="2">Recent redeems</th> <th colspan="2">Recent redeems</th>
<p>Tlap tlap. 4</p>
</tr> </tr>
<tr> <tr>
<th>Time</th> <th>Time</th>
@ -108,14 +105,10 @@
<td>{{ row[2] }}</td> <td>{{ row[2] }}</td>
{% endif %} {% endif %}
</tbody> </tbody>
<p>Tlap tlap. 5</p>
{% endfor %} {% endfor %}
</table> </table>
<p>Tlap tlap. 6</p>
{% endif %} {% endif %}
<p>Tlap tlap. 7</p>
</body> </body>
<p>Tlap tlap. 8</p>
</div> </div>
<div id='redeems-list' class="tabcontent"> <div id='redeems-list' class="tabcontent">
@ -126,7 +119,8 @@
<li><strong>List</strong> redeems get added to the list of recent redeems (without a note).</li> <li><strong>List</strong> redeems get added to the list of recent redeems (without a note).</li>
<li><strong>Note</strong> redeems require you to send a message together with the redeem.</li> <li><strong>Note</strong> redeems require you to send a message together with the redeem.</li>
<li><strong>Milestone</strong> redeems are long-term goals to which you can donate any amount of points you <li><strong>Milestone</strong> redeems are long-term goals to which you can donate any amount of points you
want. They will be completed once the amount of points donated reaches the goal.</li> want.</li>
<li>They will be completed once the amount of points donated reaches the goal.</li>
</ul> </ul>
<body> <body>