Dwelling/views/files/index.pug

25 lines
700 B
Plaintext
Raw Normal View History

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