58 lines
2.1 KiB
Text
58 lines
2.1 KiB
Text
// Package list
|
|
//.small-4.columns
|
|
//.rating
|
|
// TODO: use actual rating
|
|
//.progress.radius
|
|
//span.meter style="width: #{rand(100)}%" Rating
|
|
|
|
.row.packagepage
|
|
.small-12.columns
|
|
h1 =@package.name
|
|
|
|
.small-12.medium-8.columns
|
|
p.subtitle = @package.description
|
|
|
|
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
|
- @package.screenshots.each do |screenshot|
|
|
li
|
|
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)
|
|
.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
|
|
|
|
// TODO: Enable comments in a later version
|
|
// = partial '/package/comments'
|
|
|
|
.small-12.medium-4.columns
|
|
.bigpanel
|
|
// Use action long description
|
|
p
|
|
' Mail client suitable for free distribution. It supports different mail
|
|
' accounts (POP, IMAP, Gmail), has an integrated learning Spam filter, and
|
|
' offers easy organization of mails with tagging and virtual folders. Also,
|
|
' more features can be added by installing extensions.
|
|
|
|
p
|
|
' The goal of Icedove is to produce a cross platform standalone mail
|
|
' application using the XUL user interface language.
|
|
|
|
//a.button.radius.expand href=upload_package_by_name_path(name: @package.name) Upload a new screenshot
|
|
|
|
// TODO: Enable comment form
|
|
//javascript:
|
|
// $('#comment-summary').on( 'input', function() {
|
|
// //$('#comment-content,#comment-author').fadeIn();
|
|
// $('form.comment > *').fadeIn();
|
|
// });
|