Changeset 369
- Timestamp:
- 11/03/07 22:42:44 (2 years ago)
- Location:
- veekun/trunk/templates
- Files:
-
- 2 modified
-
dex/search/pokemon.tt (modified) (3 diffs)
-
style/dex.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/templates/dex/search/pokemon.tt
r308 r369 19 19 [% END %] 20 20 [% CASE 'table' %] 21 <form action="[% c.uri_for('/dex/pokemon/compare') %]" method="GET"/> 21 22 <table class="dex-table dex-pokemon" cellspacing="0"> 22 23 <tr class="heading"> 23 <th class="number"> </th> 24 <th class="name"> Pokémon </th> 24 <th class="number"> </th> 25 <th class="number"> </th> 26 <th class="name"> Pokémon </th> 25 27 [% pokemon_header %] 26 28 </tr> … … 28 30 [% FOREACH p IN results %] 29 31 <tr class="color[% color %]"> 30 <td class="right">[% p.id %]</td> 31 <td class="left"><a href="[% dex_uri('pokemon', PokemonNames.${p.id}) %]"><img src="/dex-images/icons/[% p.id.pad(3) %].png" alt=""/> [%+ PokemonNames.${p.id} %]</a></td> 32 <td><input type="checkbox" name="poke" value="[% p.name %]"/></td> 33 <td class="right">[% p.id %]</td> 34 <td class="left"><a href="[% dex_uri('pokemon', PokemonNames.${p.id}) %]"><img src="/dex-images/icons/[% p.id.pad(3) %].png" alt=""/> [%+ PokemonNames.${p.id} %]</a></td> 32 35 [% pokemon_cells(p) %] 33 36 [% color = 3 - color %] … … 35 38 [% END %] 36 39 </table> 40 <p> <input type="submit" value="Compare selected Pokémon"/> <input type="reset" value="Clear selection"/> </p> 41 </form> 37 42 [% CASE %] 38 43 <ul> -
veekun/trunk/templates/style/dex.tt
r368 r369 87 87 .dex-table th.level { width: 2em; } /* colspan does weird things to tds with widths */ 88 88 .dex-table .levels{ width: 5em; text-align: center; } 89 .dex-table .name { width: 8em; text-align: center; }89 .dex-table .name { width: 9em; text-align: center; } 90 90 .dex-table .type { width: 3em; text-align: center; } 91 91 .dex-table .pp { width: 2em; text-align: center; }
