Dwelling/views/files/index.pug

25 lines
700 B
Plaintext

extends base.pug
block nav
nav
a(href=main_site) Back to main website
h1 Files
block content
section#files
span#current-path!= current_path
p Files: #{total_files} (#{total_files_size}); Directories: #{total_directories}.
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