Changeset 101
- Timestamp:
- 04/15/07 21:17:25 (3 years ago)
- Location:
- veekun/branches/layout
- Files:
-
- 1 added
- 2 modified
-
lib/Vee/Controller/Dex.pm (modified) (1 diff)
-
templates/dex/list/locations.tt (added)
-
templates/style/dex.tt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
veekun/branches/layout/lib/Vee/Controller/Dex.pm
r100 r101 797 797 ################################################################################ 798 798 799 =head2 location_list 800 801 List of areas. In D/P. 802 803 =cut 804 805 sub location_list : Path('locations') : Args(0) { 806 my ($self, $c) = @_; 807 my $s = $c->stash; 808 809 $s->{locations_rs} = $c->model('DBIC::Locations')->search(undef, { order_by => 'name' }); 810 811 $s->{template} = 'dex/list/locations.tt'; 812 813 $s->{page_title} = 'Locations List'; 814 $s->{extra_css} = 'dex'; 815 $s->{breadcrumbs} = [ '<a href="' . $c->uri('Dex') . '">Pokédex</a>', 'Locations' ]; 816 } 817 799 818 =head2 locations 800 819 -
veekun/branches/layout/templates/style/dex.tt
r99 r101 108 108 .dex-pokemon { width: auto; } 109 109 110 .dex-locations-map { position: relative; } 111 .dex-locations-map img.map { float: left; margin-right: 16px; } 112 .dex-locations-map .location { position: absolute; top: 0; left: 0; } 113 .dex-locations-map .partition { position: absolute; overflow: hidden; -moz-outline-radius: 2px; z-index: 1; } 114 .dex-locations-map .partition img { position: absolute; } 110 115 111 116 … … 113 118 114 119 120 121
