suite
This commit is contained in:
parent
c8bce92e3e
commit
3b54dea891
@ -89,21 +89,16 @@
|
||||
|
||||
|
||||
-elsif input.style==1
|
||||
.portlet.input
|
||||
%table.gallery_images
|
||||
=raw "<tr>"
|
||||
.rea-gal
|
||||
|
||||
- i = 0
|
||||
-input.gallery_images.each do |gallery_images|
|
||||
-if gallery_images.image_file
|
||||
- i = i+1
|
||||
|
||||
%td=link_to image_tag(gallery_images.image_file.file.large.medium.small.thumb.url, :alt => "#{gallery_images.title}"), gallery_images.image_file.file.large.url, :rel => "prettyPhoto"
|
||||
|
||||
-if i % 4 == 0
|
||||
=raw "</tr><tr>"
|
||||
=link_to gallery_images.image_file.file.large.url, :style => "display:inline;" do
|
||||
%div.with_ratio{:style => "display:inline-block;margin:5px;width:200px;;background:center center no-repeat;background-size:cover;background-image:url('#{gallery_images.image_file.file.large.medium.small.thumb.url}');", :data => {:ratio => "0.60"}}
|
||||
.clear
|
||||
|
||||
|
||||
=raw "</tr>"
|
||||
|
||||
|
BIN
public/arrow-next.png
Executable file
BIN
public/arrow-next.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
public/arrow-prev.png
Executable file
BIN
public/arrow-prev.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
public/close.png
Normal file
BIN
public/close.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Loading…
x
Reference in New Issue
Block a user