24 lines
605 B
Plaintext
24 lines
605 B
Plaintext
|
extends base.pug
|
||
|
|
||
|
block nav
|
||
|
nav
|
||
|
a(href=host) Back to main website
|
||
|
h1 Files
|
||
|
|
||
|
block content
|
||
|
section#files
|
||
|
span#current-path!= current_path
|
||
|
table
|
||
|
thead
|
||
|
tr
|
||
|
th Name
|
||
|
th Date
|
||
|
th Size
|
||
|
tbody
|
||
|
tr
|
||
|
td #[a(href="../") ../]
|
||
|
each item in items
|
||
|
tr
|
||
|
td #[a(href=item.link)= item.name]
|
||
|
td!= item.datetime
|
||
|
td= item.size + ' ' + item.size_unit
|