Changeset 101

Show
Ignore:
Timestamp:
04/15/07 21:17:25 (3 years ago)
Author:
eevee
Message:

Awful awful locations list.

Location:
veekun/branches/layout
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • veekun/branches/layout/lib/Vee/Controller/Dex.pm

    r100 r101  
    797797################################################################################ 
    798798 
     799=head2 location_list 
     800 
     801List of areas.  In D/P. 
     802 
     803=cut 
     804 
     805sub 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&eacute;dex</a>', 'Locations' ]; 
     816} 
     817 
    799818=head2 locations 
    800819 
  • veekun/branches/layout/templates/style/dex.tt

    r99 r101  
    108108.dex-pokemon { width: auto; } 
    109109 
     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; } 
    110115 
    111116 
     
    113118 
    114119 
     120 
     121