@@ -244,28 +244,30 @@ <h1 class="h4 mb-0 fw-bold text-primary">Metis</h1>
244244 < main class ="admin-main ">
245245 < div class ="container-fluid p-4 p-lg-4 ">
246246
247- <!-- Page Header -->
248- < div class ="d-flex justify-content-between align-items-center mb-3 ">
249- < div >
250- < h1 class ="h3 mb-0 "> File Manager</ h1 >
251- < p class ="text-muted mb-0 "> Organize, share, and manage your files</ p >
252- </ div >
253- < div class ="d-flex gap-2 ">
254- < button type ="button " class ="btn btn-outline-secondary d-lg-none " @click ="toggleSidebar() ">
255- < i class ="bi bi-folder me-2 "> </ i > Folders
256- </ button >
257- < button type ="button " class ="btn btn-outline-secondary " @click ="createFolder() ">
258- < i class ="bi bi-folder-plus me-2 "> </ i > New Folder
259- </ button >
260- < button type ="button " class ="btn btn-primary " @click ="uploadFile() ">
261- < i class ="bi bi-cloud-upload me-2 "> </ i > Upload
262- </ button >
247+ <!-- Files Container with Header -->
248+ < div x-data ="filesComponent " x-init ="init() ">
249+ <!-- Page Header -->
250+ < div class ="d-flex justify-content-between align-items-center mb-3 ">
251+ < div >
252+ < h1 class ="h3 mb-0 "> File Manager</ h1 >
253+ < p class ="text-muted mb-0 "> Organize, share, and manage your files</ p >
254+ </ div >
255+ < div class ="d-flex gap-2 ">
256+ < button type ="button " class ="btn btn-outline-secondary d-lg-none " @click ="toggleSidebar() ">
257+ < i class ="bi bi-folder me-2 "> </ i > Folders
258+ </ button >
259+ < button type ="button " class ="btn btn-outline-secondary " @click ="createFolder() ">
260+ < i class ="bi bi-folder-plus me-2 "> </ i > New Folder
261+ </ button >
262+ < button type ="button " class ="btn btn-primary " @click ="uploadFile() ">
263+ < i class ="bi bi-cloud-upload me-2 "> </ i > Upload
264+ </ button >
265+ </ div >
263266 </ div >
264- </ div >
265267
266- <!-- Files Container -->
267- < div x-data =" filesComponent " x-init =" init() " class ="files-layout ">
268- < div class ="row g-6 h-100 ">
268+ <!-- Files Layout -->
269+ < div class ="files-layout ">
270+ < div class ="row g-3 h-100 ">
269271
270272 <!-- Files Sidebar -->
271273 < div class ="col-lg-3 files-sidebar " :class ="{ 'show': sidebarVisible } ">
@@ -327,7 +329,7 @@ <h6 class="fw-bold mb-3">Recent Files</h6>
327329 < div class ="recent-files ">
328330 < template x-for ="file in recentFiles " :key ="file.id ">
329331 < div class ="recent-file-item " @click ="openFile(file) ">
330- < div :class ="`file-icon ${file.type}` " style =" width: 32px; height: 32px; margin-right: 0.75rem; margin-bottom: 0; font-size: 1rem; " >
332+ < div :class ="`file-icon ${file.type}` ">
331333 < i :class ="file.icon "> </ i >
332334 </ div >
333335 < div class ="flex-grow-1 min-width-0 ">
@@ -454,7 +456,7 @@ <h5 class="text-muted">Drop files here to upload</h5>
454456 </ td >
455457 < td >
456458 < div class ="d-flex align-items-center ">
457- < div :class ="`file-icon ${file.type}` " style =" width: 32px; height: 32px; margin-right: 0.75rem; margin-bottom: 0; font-size: 1rem; ">
459+ < div :class ="`file-icon ${file.type}` " class =" me-3 ">
458460 < i :class ="file.icon "> </ i >
459461 </ div >
460462 < span class ="fw-medium " x-text ="file.name "> </ span >
@@ -463,7 +465,7 @@ <h5 class="text-muted">Drop files here to upload</h5>
463465 < td x-text ="file.size "> </ td >
464466 < td x-text ="file.modifiedDate "> </ td >
465467 < td >
466- < span class ="badge bg-light text-dark " x-text ="file.typeLabel "> </ span >
468+ < span class ="badge " x-text ="file.typeLabel "> </ span >
467469 </ td >
468470 < td >
469471 < div class ="dropdown ">
@@ -496,6 +498,7 @@ <h5 class="text-muted">Drop files here to upload</h5>
496498 </ div >
497499
498500 </ div >
501+ </ div >
499502 </ div >
500503
501504 </ div >
0 commit comments