parent
1f2461ef5a
commit
0e8b4b61a2
@ -1,25 +1,27 @@ |
|||||||
#auction-view |
.content-container#auction-view-container |
||||||
- if auction.images.length >= 1 |
#auction-view |
||||||
.slideshow-container |
- if auction.images.length >= 1 |
||||||
- auction.images.each do |image| |
.slideshow-container |
||||||
.slide-container |
- auction.images.each do |image| |
||||||
.numbertext |
.slide-container |
||||||
a.prev onclick="nextSlide(-1)" = "<" |
img src="#{image.url}" |
||||||
| #{image.image_order+1}/#{auction.images.length} |
.numbertext |
||||||
a.next onclick="nextSlide(1)" = ">" |
| #{image.image_order+1}/#{auction.images.length} |
||||||
img src="#{image.url}" |
|
||||||
|
|
||||||
|
.next-container |
||||||
|
a.prev onclick="nextSlide(-1)" = "<" |
||||||
|
a.next onclick="nextSlide(1)" = ">" |
||||||
|
|
||||||
.slideshow-button-container |
.slideshow-button-container |
||||||
- auction.images.each do |image| |
- auction.images.each do |image| |
||||||
span.dot onclick="setSlide(#{image.image_order})" |
span.dot onclick="setSlide(#{image.image_order})" |
||||||
|
|
||||||
#auctioninfo.card |
#auctioninfo.card |
||||||
h2 = auction.title |
h2 = auction.title |
||||||
|
|
||||||
ul.list-container#category-list |
ul.list-container#category-list |
||||||
- auction.categories.each do |category| |
- auction.categories.each do |category| |
||||||
p = category.name |
p = category.name |
||||||
|
|
||||||
|
|
||||||
script src="/js/slides.js" type="text/javascript" |
script src="/js/slides.js" type="text/javascript" |
||||||
|
Loading…
Reference in new issue