Sha256: 794d7b1f1e8888d2497852ddb9c7ecef91b4b6b98ed630380ef61fd891e49bbc

Contents?: true

Size: 1.24 KB

Versions: 6

Compression:

Stored size: 1.24 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)
      &nbsp;|&nbsp;
      = link_to "original", photo.photo.url(:original)
      .wrapper{ style: "background-image: url('#{photo.photo.url( :large )}')" }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ish_manager-0.1.8.249 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.248 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.247 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.246 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.245 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.244 app/views/ish_manager/galleries/show.haml