diff options
| author | ilotterytea <iltsu@alright.party> | 2025-06-04 18:44:10 +0400 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-06-04 18:44:10 +0400 |
| commit | 8245832be8470f20091eb71946fdeff3cab79aa7 (patch) | |
| tree | be375483c1e81f0ad3e23f688efe88fea5544366 /lib/partials.php | |
| parent | 27027f5b6a9ea2a4cb5f2324018be8ce0f22cc50 (diff) | |
feat: file page
Diffstat (limited to 'lib/partials.php')
| -rw-r--r-- | lib/partials.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/partials.php b/lib/partials.php index 489acae..c35fe43 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -28,6 +28,32 @@ function html_big_navbar() <?php ; } +function html_mini_navbar() +{ + echo '' ?> + <section class="row align-center gap-8 navbar"> + <a href="/" class="row gap-8 align-bottom" style="text-decoration:none;color:inherit;"> + <img src="/static/img/brand/mini.webp" alt=""> + <h2><?= INSTANCE_NAME ?></h2> + </a> + + <div class="row gap-8 align-bottom" style="height: 100%"> + <a href="/"> + <button>Home</button> + </a> + <?php if (FILE_CATALOG_RANDOM): ?> + <a href="/?random"> + <button>I'm Feeling Lucky</button> + </a> + <?php endif; ?> + <a href="/uploaders.php"> + <button>Uploaders</button> + </a> + </div> + </section> + <?php ; +} + function html_footer() { $files = glob(FILE_UPLOAD_DIRECTORY . "/*.*"); |
