mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-09 08:11:30 +01:00
Restore vocations.xml loading + support for Monk (#345)
* Restore vocations.xml loading For better handling of vocations Monk is supported now * New images for vocations (+ added Monk) * Fix online.html.twig cause of merge
This commit is contained in:
@@ -18,35 +18,35 @@
|
||||
<table width="200" cellspacing="1" cellpadding="0" border="0" align="center" class="myaac-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="white" style="text-align: center;"><strong>Sorcerers</strong></td>
|
||||
<td class="white" style="text-align: center;"><strong>Druids</strong></td>
|
||||
<td class="white" style="text-align: center;"><strong>Paladins</strong></td>
|
||||
<td class="white" style="text-align: center;"><strong>Knights</strong></td>
|
||||
{% for vocationId in baseVocations %}
|
||||
<td style="text-align: center;"><strong>{{ config('vocations')[vocationId] }}s</strong></td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tr>
|
||||
<td><img src="images/sorcerer.png" /></td>
|
||||
<td><img src="images/druid.png" /></td>
|
||||
<td><img src="images/paladin.png" /></td>
|
||||
<td><img src="images/knight.png" /></td>
|
||||
{% for vocationId in baseVocations %}
|
||||
<td><img src="images/{{ config('vocations')[vocationId]|lower }}.png" width="150" height="200"/></td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: center;">{{ vocs[1] }}</td>
|
||||
<td style="text-align: center;">{{ vocs[2] }}</td>
|
||||
<td style="text-align: center;">{{ vocs[3] }}</td>
|
||||
<td style="text-align: center;">{{ vocs[4] }}</td>
|
||||
{% for vocationId in baseVocations %}
|
||||
<td style="text-align: center;">{{ vocs[vocationId] }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</table>
|
||||
<div style="text-align: center;"> </div>
|
||||
{% else %}
|
||||
<table border="0" cellspacing="1" cellpadding="4" width="100%" class="myaac-table">
|
||||
{% for i in 1..config.vocations_amount %}
|
||||
<tr>
|
||||
<td width="25%">{{ config.vocations[i] }}</td>
|
||||
<td width="75%">{{ vocs[i] }}</td>
|
||||
</tr>
|
||||
{% set i = 0 %}
|
||||
{% for vocationId in baseVocations %}
|
||||
<tr>
|
||||
<td width="25%">{{ config.vocations[vocationId] }}</td>
|
||||
<td width="75%">{{ vocs[vocationId] }}</td>
|
||||
</tr>
|
||||
|
||||
{% set i = i + 1 %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user