mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 10:44:55 +02:00
Feature/experience stages twig (#135)
* Move Experience Stages to Twig * Change name to underline (standard) * Update system/pages/experiencestages.php Co-authored-by: whiteblXK <krzys16001@gmail.com> Co-authored-by: whiteblXK <krzys16001@gmail.com>
This commit is contained in:
30
system/templates/experience_stages.html.twig
Normal file
30
system/templates/experience_stages.html.twig
Normal file
@@ -0,0 +1,30 @@
|
||||
<div style="text-align:center">
|
||||
<h3>Experience stages</h3>
|
||||
</div>
|
||||
<table style="border: 0; background-color: {{ config.darkborder }}; width: 100%" cellpadding="4" cellspacing="1">
|
||||
<tbody>
|
||||
<tr style="background-color: {{ config.vdarkborder }}">
|
||||
<td class="white" colspan="5"><b>Stages table</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="border: 0; width: 100%" cellpadding="2" cellspacing="1"><tbody>
|
||||
<tr style="background-color: {{ config.lightborder }}">
|
||||
<td>
|
||||
<b>Level</b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Stage</b>
|
||||
</td>
|
||||
</tr>
|
||||
{% for stage in stages %}
|
||||
<tr style="background-color: {{ config.lightborder }}">
|
||||
<td>{{ stage.levels }}</td><td>x{{ stage.multiplier}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
Reference in New Issue
Block a user