Added view for package/details
This commit is contained in:
parent
f5710545ed
commit
42f9f85a48
1 changed files with 44 additions and 0 deletions
44
app/views/packages/details.slim
Normal file
44
app/views/packages/details.slim
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
// Package list
|
||||
.row.detailpage
|
||||
.small-12.columns
|
||||
|
||||
h1 = "#{@package.name}>"
|
||||
p.subtitle = @package.description
|
||||
|
||||
//.small-4.columns
|
||||
//.rating
|
||||
// TODO: use actual rating
|
||||
//.progress.radius
|
||||
//span.meter style="width: #{rand(100)}%" Rating
|
||||
|
||||
.row.detailpage
|
||||
.small-7.medium-8.columns
|
||||
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
||||
- for screenshot in @package.screenshots
|
||||
li
|
||||
a.black.fancybox href=screenshot.url('large') rel='fancybox-group' title=screenshot.caption
|
||||
img src=screenshot.url('large')
|
||||
.imgcaption =screenshot.caption
|
||||
|
||||
// TODO: Enable comments in a later version
|
||||
// = partial '/package/comments'
|
||||
|
||||
.small-5.medium-4.columns
|
||||
.longdescription
|
||||
// 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.
|
||||
|
||||
// TODO: Enable comment form
|
||||
//javascript:
|
||||
// $('#comment-summary').on( 'input', function() {
|
||||
// //$('#comment-content,#comment-author').fadeIn();
|
||||
// $('form.comment > *').fadeIn();
|
||||
// });
|
||||
Loading…
Add table
Add a link
Reference in a new issue