Layout of details package improved
This commit is contained in:
parent
b2eb08b975
commit
165f6f166d
1 changed files with 16 additions and 4 deletions
|
|
@ -5,11 +5,11 @@
|
||||||
//.progress.radius
|
//.progress.radius
|
||||||
//span.meter style="width: #{rand(100)}%" Rating
|
//span.meter style="width: #{rand(100)}%" Rating
|
||||||
|
|
||||||
.row.packagepage.listview
|
.row.packagepage
|
||||||
.small-12.columns
|
.small-12.columns
|
||||||
h1 =@package.name
|
h1 =@package.name
|
||||||
|
|
||||||
.small-7.medium-8.columns
|
.small-12.medium-8.columns
|
||||||
p.subtitle = @package.description
|
p.subtitle = @package.description
|
||||||
|
|
||||||
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
||||||
|
|
@ -18,12 +18,24 @@
|
||||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
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
|
.imgcaption =screenshot.caption
|
||||||
|
|
||||||
|
// Upload image
|
||||||
|
li
|
||||||
|
//a.button.radius.expand href=upload_package_by_name_path(name: @package.name) Upload a new screenshot
|
||||||
|
//= form_for @package, :url => upload_image_path, :html => { :multipart => true } do |form|
|
||||||
|
//= form.file_field :image
|
||||||
|
|
||||||
|
= form_for Screenshot.new, url: upload_image_path, html: { multipart: true } do |f|
|
||||||
|
= f.label :image, 'Upload new screenshot'
|
||||||
|
= f.file_field :image, id: 'fileupload', multiple: true
|
||||||
|
= f.submit 'Save'
|
||||||
|
|
||||||
//- raise
|
//- raise
|
||||||
|
|
||||||
// TODO: Enable comments in a later version
|
// TODO: Enable comments in a later version
|
||||||
// = partial '/package/comments'
|
// = partial '/package/comments'
|
||||||
|
|
||||||
.small-5.medium-4.columns
|
.small-12.medium-4.columns
|
||||||
.bigpanel
|
.bigpanel
|
||||||
// Use action long description
|
// Use action long description
|
||||||
p
|
p
|
||||||
|
|
@ -36,7 +48,7 @@
|
||||||
' The goal of Icedove is to produce a cross platform standalone mail
|
' The goal of Icedove is to produce a cross platform standalone mail
|
||||||
' application using the XUL user interface language.
|
' application using the XUL user interface language.
|
||||||
|
|
||||||
a.button.radius.expand href=upload_package_by_name_path(name: @package.name) Upload a new screenshot
|
//a.button.radius.expand href=upload_package_by_name_path(name: @package.name) Upload a new screenshot
|
||||||
|
|
||||||
// TODO: Enable comment form
|
// TODO: Enable comment form
|
||||||
//javascript:
|
//javascript:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue