You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
576 B
Plaintext
23 lines
576 B
Plaintext
9 years ago
|
extends layout
|
||
|
|
||
|
block pageTitle
|
||
|
| Gallery
|
||
|
|
||
|
block content
|
||
|
div.gallery.clearfix
|
||
|
for document in documents
|
||
|
a.document(href="/d/#{document.SlugId}")
|
||
|
span.thumb: img(src="/static/thumbs/#{document.SlugId}.png")
|
||
|
span.name= document.OriginalFilename
|
||
|
span.date Uploaded on #{document.Uploaded}
|
||
|
span.views #{document.Views} views
|
||
|
else
|
||
|
p No documents have been uploaded yet.
|
||
|
|
||
|
if pageNumber > 0
|
||
|
a.previous(href="/gallery/#{(pageNumber + 1) - 1}") << Previous
|
||
|
|
||
|
if (pageNumber + 1) < pageCount
|
||
|
a.next(href="/gallery/#{(pageNumber + 1) + 1}") Next >>
|
||
|
|