Skills levels show as images now

This commit is contained in:
2010-12-23 10:09:19 +00:00
parent 5df62d7188
commit 4e3aa8907d
7 changed files with 2 additions and 2 deletions

BIN
media/img/skills/level0.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 B

BIN
media/img/skills/level1.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 B

BIN
media/img/skills/level2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 B

BIN
media/img/skills/level3.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

BIN
media/img/skills/level4.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 B

BIN
media/img/skills/level5.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 B

View File

@@ -63,10 +63,10 @@
{% for group in skill_group %}
<tr class="skill_heading"><th colspan=3>{{ group.grouper }}</th</tr>
{% for skill in group.list %}
<tr style="display:none;"><td>{{ skill.skill.name }} </td><td>Level {{ skill.level }}</td><td>{{ skill.skillpoints|intcomma }} SP</td></tr>
<tr style="display:none;"><td>{{ skill.skill.name }} </td><td><img src="/static/img/skills/level{{ skill.level }}.gif" alt="Level {{ skill.level }}" /></td><td>{{ skill.skillpoints|intcomma }} SP</td></tr>
{% endfor %}
{% endfor %}
<tr><th colspan=2>Total SP</th><th>{{ character.total_sp|intcomma }} SP</td></tr>
<tr><th colspan=2>Total SP</th><th>{{ character.total_sp|intcomma }} SP</th></tr>
</table>
</div>
</div>