Upload page layout simplified
This commit is contained in:
parent
d1feaf923b
commit
3a5aee211f
1 changed files with 11 additions and 13 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
p.subtitle = @package.description
|
p.subtitle = @package.description
|
||||||
|
|
||||||
.row.packagepage
|
.row.packagepage
|
||||||
.small-8.columns
|
.small-12.medium-7.large-8.columns
|
||||||
// First row contains the upload form
|
// First row contains the upload form
|
||||||
.row
|
.row
|
||||||
.small-6.columns
|
.small-6.columns
|
||||||
|
|
@ -17,20 +17,18 @@
|
||||||
' Click or drag a PNG screenshot file here
|
' Click or drag a PNG screenshot file here
|
||||||
.small-6.columns
|
.small-6.columns
|
||||||
' Form
|
' Form
|
||||||
- for screenshot in @package.screenshots
|
- @package.screenshots.each do |screenshot|
|
||||||
.row
|
.listview
|
||||||
.small-6.columns
|
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
||||||
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
||||||
|
.imgcaption
|
||||||
|
=> screenshot.caption
|
||||||
|
- if screenshot.uploader
|
||||||
|
| (Uploaded by
|
||||||
|
=< screenshot.uploader
|
||||||
|
| )
|
||||||
|
|
||||||
.small-6.columns
|
.small-12.medium-5.large-4.columns
|
||||||
.property-title This image shows the…
|
|
||||||
.property =screenshot.caption
|
|
||||||
.property-title It was uploaded by…
|
|
||||||
.property =screenshot.uploader
|
|
||||||
.property-title The image…
|
|
||||||
.property =screenshot.status
|
|
||||||
|
|
||||||
.small-4.columns
|
|
||||||
.bigpanel
|
.bigpanel
|
||||||
p Thanks for uploading more screenshots. Please note:
|
p Thanks for uploading more screenshots. Please note:
|
||||||
ul
|
ul
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue