mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-21 13:03:27 +02:00
Move tibiacom boxes to Twig templates
Yes they are looking and working same as before ;)
This commit is contained in:
59
templates/tibiacom/boxes/templates/highscores.html.twig
Normal file
59
templates/tibiacom/boxes/templates/highscores.html.twig
Normal file
@@ -0,0 +1,59 @@
|
||||
<style type="text/css">
|
||||
.top_level {
|
||||
position: absolute;
|
||||
top: 29px;
|
||||
left: 6px;
|
||||
height: 160px;
|
||||
width: 168px;
|
||||
z-index: 20;
|
||||
padding-top: 6px;
|
||||
font-family: Tahoma, Geneva, sans-serif;
|
||||
font-size: 9.2pt;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
text-decoration: inherit;
|
||||
text-shadow: 0.1em 0.1em #333
|
||||
}
|
||||
|
||||
#Topbar a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.online {
|
||||
color: #008000;
|
||||
}
|
||||
|
||||
.offline {
|
||||
color: #FF0000;
|
||||
}
|
||||
|
||||
a.topfont {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
text-decoration: none
|
||||
}
|
||||
a:hover.topfont {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
color: #CCC;
|
||||
text-decoration:none
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="Topbar" class="Themebox" style="background-image:url({{ template_path }}/images/themeboxes/highscores/highscores.png);">
|
||||
<div class="top_level" style="background:url({{ template_path }}/images/themeboxes/bg_top.png)" align=" ">
|
||||
{% for player in topPlayers %}
|
||||
<div style="text-align:left"><a href="{{ getPlayerLink(player['name'], false) }} " class="topfont {% if player['online'] %}online{% else %}offline{% endif %}">
|
||||
<span style="color: #CCC"> {{ player['rank'] }} - </span>{{ player['name'] }}
|
||||
<br>
|
||||
<small><span style="color: white"> Level: ({{ player['level'] }})</span></small>
|
||||
<br>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="Bottom" style="background-image:url({{ template_path }}/images/general/box-bottom.gif); top: 159px;; left:-5px;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br/><br/><br/>
|
Reference in New Issue
Block a user