summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2025-02-22 13:43:09 -0600
committergrothedev <grothedev@gmail.com>2025-02-22 13:43:09 -0600
commit74bae9e8a2e92145aa065e6534f3312cec42702e (patch)
treee7935bfaeeed3735346e53628f43c36d9839aa5d
parentadb482e32ad3688e469a18cf6158dd9526565461 (diff)
simplify file view. not meant to be directories, but just a file pile
-rw-r--r--resources/views/f.blade.php25
1 files changed, 3 insertions, 22 deletions
diff --git a/resources/views/f.blade.php b/resources/views/f.blade.php
index a2abecb..0a2c9a8 100644
--- a/resources/views/f.blade.php
+++ b/resources/views/f.blade.php
@@ -219,25 +219,6 @@
@section('body')
<main>
- <h1>{{ htmlspecialchars(ucfirst($currentDirName)) }}</h1>
-
- <!-- Breadcrumb Navigation -->
- <div class="breadcrumb">
- <a href="/f">Home</a>
- @if ($currentDir != $baseDir)
- <span>/</span>
- <a href="/f?dir={{ $currentDirName }}">{{ htmlspecialchars($currentDirName) }}</a>
- @endif
- </div>
-
- <!-- Main Actions -->
- <div class="main-actions">
- <a href="#upload-section" class="action-btn download-btn">Upload File</a>
- @if ($currentDir != $baseDir)
- <a href="/f" class="action-btn tag-btn">Go to Root Directory</a>
- @endif
- </div>
-
<!-- Upload Section -->
<section>
<div id="upload-section" class="upload-form">
@@ -301,15 +282,15 @@
</thead>
<tbody>
@if ($currentDir != $baseDir)
- <tr>
+ {{-- <tr>
<td colspan="5">
<a href="/f{{ substr_count($currentDir, '/') > 1 ? '?dir=' . dirname(str_replace($baseDir . '/', '', $currentDir)) : '' }}">
<span class="dir-icon">📁</span> ../ (Go Up)
</a>
</td>
- </tr>
+ </tr> --}}
@endif
-
+ {{-- TODO add support for dirs --}}
@foreach ($fileData as $item)
<tr>
<td>