summary refs log tree commit diff stats
path: root/lib/Crater
Commit message (Collapse)AuthorAgeFilesLines
* Handle sub-directories, show error on 0 imagesAndinus2022-06-112-4/+13
|
* Protect logout routeAndinus2022-06-111-1/+1
| | | | Only logged in users should be able to logout.
* Update allowed methodsAndinus2022-06-111-0/+1
|
* Display gallery title, fix authentication, show directoriesAndinus2022-06-113-20/+47
| | | | | | | - Earlier non-authenticated users could access the images too. - Serve original image if thumbnail doesn't exist. - Show directories in gallery. - Remove lazy loading attribute.
* Add alt tags to images, fix flash of unstyled contentAndinus2022-06-102-4/+6
| | | | | | | - FOUC: On firefox, maybe the '@import' rule caused this. Also tried out lightGallery.js for lightbox, it doesn't work with text & anyways, it's buggy with bricks.js & you have to request license key.
* Add bricks.js for masonry layout, fix password inputAndinus2022-06-101-0/+3
| | | | | | multi-column didn't do what I wanted. bricks.js does the masonry layout, I think left-to-right would be even better but we'll go with this.
* CSS & Image Optimzations, Print passwordAndinus2022-06-101-0/+1
| | | | | | | | - Prints password required to access. - will-change lets the browser prepare for those changes in advance. - loading="lazy" enables lazy loading on images. - column-fill: balance -- not an optimization.
* Initial Gallery versionAndinus2022-06-096-0/+167
- Handles login, logout, simple directories.