Sha256: e71feb4592d79eb5294426e446f43ce204da7af5a43ce9e6abb4096ba7b22dd8

Contents?: true

Size: 1.17 KB

Versions: 16

Compression:

Stored size: 1.17 KB

Contents

= render 'title', :gallery => @gallery
= render 'ish_manager/photos/multinew', :gallery => @gallery

-# deleted
.row
  %p.addToggle Deleted [<>]
  .a
    %ul.inline
      - @deleted_photos.each do |ph|
        %li.border-red= image_tag ph.photo.url( :mini )
    %hr

-# mini
.row
  %ul
    - @photos.each do |photo|
      %li.col-xs-1= image_tag photo.photo.url( :mini ), :alt => ''
.spacer{ :style => 'height: 500px' }

-# thumb
.row
  .a
    - @photos.each do |photo|
      .col-xs-4
        .item{ :style => "border: 1px solid red;" }
          .float-left= button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          = link_to "go to", "#large_#{photo.id}"
          %br
          = image_tag photo.photo.url( :thumb ), :alt => ''
.spacer{ :style => 'height: 100px' }

-# large
.center.large-photos
  - @photos.each do |photo|
    .item
      %a{id: "large_#{photo.id}" }
      .float-left= button_to '[x]', photo_path( :id => photo.id ), :method => :delete, :data => { :confirm => 'Are you sure?' }
      = link_to "large", photo.photo.url(:large)
      .wrapper{ style: "background-image: url('#{photo.photo.url( :large )}')" }

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ish_manager-0.1.8.243 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.242 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.241 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.239 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.238 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.237 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.236 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.235 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.234 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.233 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.232 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.231 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.230 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.229 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.228 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.227 app/views/ish_manager/galleries/show.haml