Nice little directory browser :D
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

temporarily(?) remove `-dl` column

all files are attachments and download anyways, so it has no effect. maybe reintroduce later?

+11 -6
+3 -3
Components/Pages/Index.razor
··· 81 81 <thead> 82 82 <tr> 83 83 @{ String InstallSort(String x) => $"install sort_table(property: '{x}') end"; } 84 - <th id="filetable-head-dl" class="pointer-events-none" tabindex="0"> 84 + @*<th id="filetable-head-dl" class="pointer-events-none" tabindex="0"> 85 85 <span class="visually-hidden">Download link</span> 86 - </th> 86 + </th>*@ 87 87 88 88 <th id="filetable-head-icon" class="pointer-events-none" tabindex="0"> 89 89 <span class="visually-hidden">File type icon</span> ··· 141 141 @* pregen rows to prevent massive layout shift *@ 142 142 @foreach (FileSystemInfo fsi in _joinedPath.EnumerateFileSystemInfos()) { 143 143 <tr> 144 - <td /> 144 + @*<td />*@ 145 145 <td /> 146 146 <td>@( "\u00A0" )</td> 147 147 <td />
+2 -1
Components/Pages/api/Files.razor
··· 31 31 <tbody> 32 32 @foreach (var row in _rows) { 33 33 <tr class="fsobject @row.TypeString"> 34 - <td> 34 + @*<td> 35 35 @if (row.IsFile && !row.IsBad) { 36 36 <a 37 37 download ··· 41 41 } 42 42 </td> 43 43 <td>@row.Icon</td> 44 + </td>*@ 44 45 <td class="file-name" data-order="@row.Name"> 45 46 @if (row.IsBad) { 46 47 <s class="text-stone-500">
+6 -2
Tailwind/style.tw.css Style/style.tw.css
··· 355 355 & th { 356 356 @apply text-center; 357 357 358 - &#filetable-head-dl { 358 + /*&#filetable-head-dl { 359 359 @apply w-[2.25ch]; 360 - } 360 + }*/ 361 361 362 362 &#filetable-head-icon { 363 363 @apply w-[3ch]; ··· 375 375 @apply w-[15.25ch]; 376 376 } 377 377 } 378 + } 379 + 380 + .file-icon { 381 + @apply px-2; 378 382 } 379 383 380 384 .file-name {