-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fileserver: New file browse template #5427
Conversation
I say let's try this. I haven't tested this on a directory with thousands and thousands of entries -- I imagine that'll be fun for a browser to render -- but we can work on optimizations if we get complaints of slow load times. |
I don't know if feedback should be given here or elsewhere, but my personal opinion is that Edit: But I love grid view. 5/7 perfect score. |
True, maybe loading images in the list view should be opt-in or something. |
Didn't even know I can do this with caddy? Is there a guide for this? |
@Tropaion use the latest beta https://github.com/caddyserver/caddy/releases/tag/v2.7.0-beta.1 No, the browse template is read-only, you can't edit files with it. There's no plans to add that kind of functionality, that's entirely out of scope. You can use a project like https://filebrowser.org/ to do that instead. |
@francislavoie Ok, thanks for the information. |
It looks like |
Yeah... I think that was a good idea. Thanks for trying the beta @xnaas! |
Any idea when this is likely to make it into the main release? |
It's been available since v2.7.0 (Aug 3), while the latest is v2.7.5 (Oct 12). |
The current browse template is... fine. It's definitely far better than other servers' built-in file listings. But it's showing its age and we can do better:
The Firefox screenshot tool has a bug that causes the background to be incorrectly repeated here, but I promise that the background is actually fixed as you scroll:
Grid view: