Changeset 408 for veekun/trunk

Show
Ignore:
Timestamp:
02/09/08 02:58:14 (10 months ago)
Author:
eevee
Message:

Footer now supports non-integral of Pokemon team size. Woohoo?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/templates/wrapper.tt

    r406 r408  
    174174    No SQL was used on this page. <br/> 
    175175[% END %] 
    176 [% poketeam_count = time_delta * 10 + 0.5; poketeam_count = int(poketeam_count); SET poketeam_count = 20 IF poketeam_count > 20 %] 
    177 [% FOREACH i IN [ 1 .. poketeam_count ] %] <img src="/dex-images/icons/[% from_cache ? 123 : 424 %].png" alt=""/>[% END %] 
     176[% poketeam_count = time_delta * 10 %] 
     177[% SET poketeam_count = 20 IF poketeam_count > 20 %] 
     178    <div style="height: 32px; width: [% poketeam_count * 32 %]px; background: url(/dex-images/icons/[% from_cache ? 123 : 424 %].png) repeat-x"></div> 
    178179</div> 
    179180<script id="stats_script" type="text/javascript" src="http://metrics.performancing.com/stats.js"></script>