Skip to content

Commit

Permalink
feaet: add header to file tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschubek committed May 29, 2024
1 parent 91a7494 commit 44eae92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ diretly embed pohpo in nginx maximum performance
- when path contains a dot it triggers full reload -> turbolinks
TODO: add experimental nginx caching (only safe when no password protection is used)
TODO: add search php glob() . add nginx ratelimit
TODO Features:
- support parameters in URL ?key=password123 for protected directories/files
Expand Down
7 changes: 4 additions & 3 deletions src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,11 @@ public function __toString(): string
<?php } else { ?>
<div class="rounded container card px-3" id="filetree">
<div class="row db-row py-2">
<div class="row db-row py-2 text-muted">
<div class="col">Name</div>
<div class="col col-auto text-end">Size</div>
<div class="col col-2 text-end">Last Modified</div>
<div class="col col-auto text-end d-none d-md-inline-block">Size</div>
<div class="col col-2 text-end d-none d-md-inline-block">Last Modified</div>
<!-- <div title="Last modified" class="col col-2 text-end d-sm-none">Mod.</div> -->
</div>
<?php
$now = new DateTime();
Expand Down

0 comments on commit 44eae92

Please sign in to comment.