Changeset 429 for veekun/trunk/templates/dex/utils/breeding_chains.tt
- Timestamp:
- 04/27/08 20:49:18 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/templates/dex/utils/breeding_chains.tt
r428 r429 2 2 3 3 <h1>Breeding Chain Finder</h1> 4 [% form.start %] 4 5 <dl class="compact"> 5 6 <dt>Pokémon</dt> … … 8 9 <dd>[% form.get_field(name => 'move') %]</dd> 9 10 </dl> 10 <p> <input type="submit" value="Find chains"/> <input type="reset" value="Reset form"/> </p> 11 <p> <input type="submit" value="Find chains"/> <input type="reset" value="Reset form"/> </p> 12 [% form.end %] 11 13 [% RETURN IF NOT form.submitted OR form.has_errors %] 12 14 13 15 <h1>Chains</h1> 16 [% IF NOT flattened_tree %] 17 <p> No breeding chains found. </p> 18 [% RETURN %] 19 [% END %] 20 14 21 <p> This tree is arranged by combinations of egg groups. Any Pokémon from a set may be used; since they have the same egg groups, they are all equally valid partners for all the Pokémon in the sets above and below them. </p> 15 22 … … 22 29 [% color = 1 %] 23 30 [% FOR node IN flattened_tree %] 24 [% indent_style = 'style="padding-left: ' _ (node.indent * 2) _ 'em;"' %]31 [% indent_style = 'style="padding-left: ' _ (node.indent * 32) _ 'px;"' %] 25 32 [% UNLESS loop.first %] 26 33 <tr class="heading left">
