BlueGit

timfa filemanager

a

timfa Tim Falken · pushed by timfa

Authored 2026-05-17 · 6 months ago

Hash
75cb88e3b96b33ecdcd2193d1a0fb6b166b76cf8
Parent
5cd67d65
2 files changed +22 −19
public/index.html +20 −17
@@ -57,8 +57,8 @@
57 57 <div id="top-search" class="top-search" role="search">
58 58 <input id="top-search-input" type="text" placeholder="Search files" aria-label="Search files" />
59 59 <button id="btn-search" class="icon-btn icon-only" title="Search files" aria-label="Search files">
60 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
61 stroke-linecap="round" stroke-linejoin="round">
60 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
61 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
62 62 <circle cx="11" cy="11" r="8" />
63 63 <line x1="21" y1="21" x2="16.65" y2="16.65" />
64 64 </svg>
@@ -69,9 +69,10 @@
69 69 <input id="folder-input" type="file" webkitdirectory directory multiple class="hidden" aria-hidden="true" />
70 70
71 71 <div class="topbar-dropdown" data-dropdown>
72 <button id="btn-upload-menu" class="icon-btn" title="Upload options" aria-label="Upload options" aria-expanded="false">
73 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
74 stroke-linecap="round" stroke-linejoin="round">
72 <button id="btn-upload-menu" class="icon-btn" title="Upload options" aria-label="Upload options"
73 aria-expanded="false">
74 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
75 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
75 76 <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
76 77 <polyline points="17 8 12 3 7 8" />
77 78 <line x1="12" y1="3" x2="12" y2="15" />
@@ -87,8 +88,8 @@
87 88
88 89 <div class="topbar-dropdown" data-dropdown>
89 90 <button id="btn-user-menu" class="icon-btn" title="User menu" aria-label="User menu" aria-expanded="false">
90 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
91 stroke-linecap="round" stroke-linejoin="round">
91 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
92 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
92 93 <circle cx="12" cy="8" r="4" />
93 94 <path d="M6 20v-2a6 6 0 0 1 12 0v2" />
94 95 </svg>
@@ -96,17 +97,19 @@
96 97 <span id="admin-update-badge" class="topbar-badge hidden" aria-hidden="true"></span>
97 98 </button>
98 99 <div class="topbar-dropdown-menu topbar-dropdown-menu--right" role="menu" aria-label="User actions">
99 <button id="btn-admin" class="topbar-menu-item hidden" type="button" role="menuitem" title="Admin panel" aria-label="Admin panel">
100 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
101 stroke-linecap="round" stroke-linejoin="round">
100 <button id="btn-admin" class="topbar-menu-item hidden" type="button" role="menuitem" title="Admin panel"
101 aria-label="Admin panel">
102 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
103 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
102 104 <rect x="3" y="11" width="18" height="11" rx="2" ry="2" />
103 105 <path d="M7 11V7a5 5 0 0 1 10 0v4" />
104 106 </svg>
105 107 Admin
106 108 </button>
107 <button id="btn-logout" class="topbar-menu-item" type="button" role="menuitem" title="Sign out" aria-label="Sign out">
108 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
109 stroke-linecap="round" stroke-linejoin="round">
109 <button id="btn-logout" class="topbar-menu-item" type="button" role="menuitem" title="Sign out"
110 aria-label="Sign out">
111 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
112 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
110 113 <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
111 114 <polyline points="16 17 21 12 16 7" />
112 115 <line x1="21" y1="12" x2="9" y2="12" />
@@ -183,7 +186,6 @@
183 186 <button id="admin-new-user-btn" class="primary">+ New user</button>
184 187 <div id="admin-orphan-userfolders-section" class="hidden">
185 188 <h4>Orphaned User Folders</h4>
186 <p class="muted">Folders without an existing account. Admins always have full read and write access.</p>
187 189 <div id="admin-orphan-userfolders-list"></div>
188 190 </div>
189 191 </section>
@@ -192,10 +194,11 @@
192 194 <h3>Server</h3>
193 195 <div class="admin-favicon-row">
194 196 <span>Global favicon</span>
195 <button id="btn-admin-favicon" class="icon-btn icon-only" title="Set global favicon" aria-label="Set global favicon">
197 <button id="btn-admin-favicon" class="icon-btn icon-only" title="Set global favicon"
198 aria-label="Set global favicon">
196 199 <span id="global-favicon-preview" class="global-favicon-preview" aria-hidden="true">
197 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
198 stroke-linecap="round" stroke-linejoin="round">
200 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
201 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
199 202 <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
200 203 <polyline points="14 2 14 8 20 8" />
201 204 </svg>
@@ -57,8 +57,8 @@
57 <div id="top-search" class="top-search" role="search">
57 <div id="top-search" class="top-search" role="search">
58 <input id="top-search-input" type="text" placeholder="Search files" aria-label="Search files" />
58 <input id="top-search-input" type="text" placeholder="Search files" aria-label="Search files" />
59 <button id="btn-search" class="icon-btn icon-only" title="Search files" aria-label="Search files">
59 <button id="btn-search" class="icon-btn icon-only" title="Search files" aria-label="Search files">
60 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
60 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
61 stroke-linecap="round" stroke-linejoin="round">
61 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
62 <circle cx="11" cy="11" r="8" />
62 <circle cx="11" cy="11" r="8" />
63 <line x1="21" y1="21" x2="16.65" y2="16.65" />
63 <line x1="21" y1="21" x2="16.65" y2="16.65" />
64 </svg>
64 </svg>
@@ -69,9 +69,10 @@
69 <input id="folder-input" type="file" webkitdirectory directory multiple class="hidden" aria-hidden="true" />
69 <input id="folder-input" type="file" webkitdirectory directory multiple class="hidden" aria-hidden="true" />
70
70
71 <div class="topbar-dropdown" data-dropdown>
71 <div class="topbar-dropdown" data-dropdown>
72 <button id="btn-upload-menu" class="icon-btn" title="Upload options" aria-label="Upload options" aria-expanded="false">
72 <button id="btn-upload-menu" class="icon-btn" title="Upload options" aria-label="Upload options"
73 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
73 aria-expanded="false">
74 stroke-linecap="round" stroke-linejoin="round">
74 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
75 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
75 <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
76 <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
76 <polyline points="17 8 12 3 7 8" />
77 <polyline points="17 8 12 3 7 8" />
77 <line x1="12" y1="3" x2="12" y2="15" />
78 <line x1="12" y1="3" x2="12" y2="15" />
@@ -87,8 +88,8 @@
87
88
88 <div class="topbar-dropdown" data-dropdown>
89 <div class="topbar-dropdown" data-dropdown>
89 <button id="btn-user-menu" class="icon-btn" title="User menu" aria-label="User menu" aria-expanded="false">
90 <button id="btn-user-menu" class="icon-btn" title="User menu" aria-label="User menu" aria-expanded="false">
90 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
91 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
91 stroke-linecap="round" stroke-linejoin="round">
92 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
92 <circle cx="12" cy="8" r="4" />
93 <circle cx="12" cy="8" r="4" />
93 <path d="M6 20v-2a6 6 0 0 1 12 0v2" />
94 <path d="M6 20v-2a6 6 0 0 1 12 0v2" />
94 </svg>
95 </svg>
@@ -96,17 +97,19 @@
96 <span id="admin-update-badge" class="topbar-badge hidden" aria-hidden="true"></span>
97 <span id="admin-update-badge" class="topbar-badge hidden" aria-hidden="true"></span>
97 </button>
98 </button>
98 <div class="topbar-dropdown-menu topbar-dropdown-menu--right" role="menu" aria-label="User actions">
99 <div class="topbar-dropdown-menu topbar-dropdown-menu--right" role="menu" aria-label="User actions">
99 <button id="btn-admin" class="topbar-menu-item hidden" type="button" role="menuitem" title="Admin panel" aria-label="Admin panel">
100 <button id="btn-admin" class="topbar-menu-item hidden" type="button" role="menuitem" title="Admin panel"
100 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
101 aria-label="Admin panel">
101 stroke-linecap="round" stroke-linejoin="round">
102 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
103 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
102 <rect x="3" y="11" width="18" height="11" rx="2" ry="2" />
104 <rect x="3" y="11" width="18" height="11" rx="2" ry="2" />
103 <path d="M7 11V7a5 5 0 0 1 10 0v4" />
105 <path d="M7 11V7a5 5 0 0 1 10 0v4" />
104 </svg>
106 </svg>
105 Admin
107 Admin
106 </button>
108 </button>
107 <button id="btn-logout" class="topbar-menu-item" type="button" role="menuitem" title="Sign out" aria-label="Sign out">
109 <button id="btn-logout" class="topbar-menu-item" type="button" role="menuitem" title="Sign out"
108 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
110 aria-label="Sign out">
109 stroke-linecap="round" stroke-linejoin="round">
111 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
112 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
110 <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
113 <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
111 <polyline points="16 17 21 12 16 7" />
114 <polyline points="16 17 21 12 16 7" />
112 <line x1="21" y1="12" x2="9" y2="12" />
115 <line x1="21" y1="12" x2="9" y2="12" />
@@ -183,7 +186,6 @@
183 <button id="admin-new-user-btn" class="primary">+ New user</button>
186 <button id="admin-new-user-btn" class="primary">+ New user</button>
184 <div id="admin-orphan-userfolders-section" class="hidden">
187 <div id="admin-orphan-userfolders-section" class="hidden">
185 <h4>Orphaned User Folders</h4>
188 <h4>Orphaned User Folders</h4>
186 <p class="muted">Folders without an existing account. Admins always have full read and write access.</p>
187 <div id="admin-orphan-userfolders-list"></div>
189 <div id="admin-orphan-userfolders-list"></div>
188 </div>
190 </div>
189 </section>
191 </section>
@@ -192,10 +194,11 @@
192 <h3>Server</h3>
194 <h3>Server</h3>
193 <div class="admin-favicon-row">
195 <div class="admin-favicon-row">
194 <span>Global favicon</span>
196 <span>Global favicon</span>
195 <button id="btn-admin-favicon" class="icon-btn icon-only" title="Set global favicon" aria-label="Set global favicon">
197 <button id="btn-admin-favicon" class="icon-btn icon-only" title="Set global favicon"
198 aria-label="Set global favicon">
196 <span id="global-favicon-preview" class="global-favicon-preview" aria-hidden="true">
199 <span id="global-favicon-preview" class="global-favicon-preview" aria-hidden="true">
197 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
200 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
198 stroke-linecap="round" stroke-linejoin="round">
201 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
199 <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
202 <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
200 <polyline points="14 2 14 8 20 8" />
203 <polyline points="14 2 14 8 20 8" />
201 </svg>
204 </svg>
public/style.css +2 −2
@@ -225,7 +225,7 @@ button.danger.admin-update-highlight {
225 225 flex-shrink: 0;
226 226 }
227 227
228 #topbar > #btn-refresh {
228 #topbar>#btn-refresh {
229 229 flex: 0 0 auto;
230 230 }
231 231
@@ -1247,7 +1247,7 @@ button.danger.admin-update-highlight {
1247 1247 flex-direction: column;
1248 1248 }
1249 1249
1250 #topbar > #btn-refresh {
1250 #topbar>#btn-refresh {
1251 1251 align-self: flex-start;
1252 1252 }
1253 1253
@@ -225,7 +225,7 @@ button.danger.admin-update-highlight {
225 flex-shrink: 0;
225 flex-shrink: 0;
226}
226}
227
227
228#topbar > #btn-refresh {
228#topbar>#btn-refresh {
229 flex: 0 0 auto;
229 flex: 0 0 auto;
230}
230}
231
231
@@ -1247,7 +1247,7 @@ button.danger.admin-update-highlight {
1247 flex-direction: column;
1247 flex-direction: column;
1248 }
1248 }
1249
1249
1250 #topbar > #btn-refresh {
1250 #topbar>#btn-refresh {
1251 align-self: flex-start;
1251 align-self: flex-start;
1252 }
1252 }
1253
1253