2021-02-10 01:01:50 +04:00
|
|
|
extends base.pug
|
|
|
|
|
|
|
|
block nav
|
|
|
|
nav
|
2021-02-11 02:57:18 +04:00
|
|
|
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
|
2021-02-12 21:31:29 +04:00
|
|
|
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
|