Rasmus Kaj
8ee8b809bc
Redesign details view.
...
The details view is now implemented with css grid, in a full-window
no-scroll layout (except for small screens, where the design is still
sequential and scroll is used)
This incudes some cleanup of the markup and corresponding changes in
the admin script.
2020-07-16 20:12:22 +02:00
Rasmus Kaj
5c03a28f59
Use warp instead of nickel.
...
Use the modern async warp web framework instead of nickel (which is
starting to feel a bit stale).
Url routing and context passing is changed a lot.
2019-04-22 16:08:19 +02:00
Rasmus Kaj
4d333741dd
WIP: Edition 2018.
2019-03-26 18:10:00 +01:00
Rasmus Kaj
de86a3432c
Add opengraph metadata to photo details.
2018-11-03 17:17:09 +01:00
Rasmus Kaj
914d68acf0
Shorter about string in footer.
2018-03-05 18:34:21 +01:00
Rasmus Kaj
72c07fbe5d
Get rid of a reexport.
2018-03-03 14:39:33 +01:00
Rasmus Kaj
1c6ed1c709
Shorten and simplify admin.js.
2017-12-11 23:11:36 +01:00
Rasmus Kaj
4471f9e083
Async AND defer is apparently a bad idea.
2017-12-11 22:07:51 +01:00
Rasmus Kaj
94e661065b
Some styling and UX.
2017-11-25 01:22:01 +01:00
Rasmus Kaj
3dd706c1ef
More accesskeys, incl a helpful listing.
2017-11-17 00:26:17 +01:00
Rasmus Kaj
3a6a9cb21d
Add admin function to rotate image.
2017-09-25 07:25:58 +02:00
Rasmus Kaj
a0df34644b
Allways give "next" argument for login link.
2017-08-03 19:59:21 +02:00
Rasmus Kaj
ce44b1f18f
Expose version in command line and footer.
2017-08-01 01:41:27 +02:00
Rasmus Kaj
5ea5a9bd90
Update ructe.
...
It now supports adding static sass files, so remove direct dependency
on rsass.
2017-05-08 07:09:22 +02:00
Rasmus Kaj
fee9a801db
Add viewport setting.
2017-02-16 13:59:52 +01:00
Rasmus Kaj
abf5dcf384
Large is full.
...
The "large" version of an image is the full original file. Only
logged-in users may access the large version.
2017-02-12 15:24:39 +01:00
Rasmus Kaj
878f2f6ad8
Add a footer.
...
And some layout changes.
2017-02-11 12:20:48 +01:00
Rasmus Kaj
eada496c5b
Use slices in templates.
2017-02-05 12:08:38 +01:00
Rasmus Kaj
8cd215cdc2
Improve handling of static files.
...
Use static files handling from updated ructe rather than local
handling, and use rsass rather than sass-rs and sass-sys.
Static files are now kept in the binary (no more need to access the
build directory at runtime). Also, there is an admin command to save
the static files to a directory, for the benefit of fronting web
servers and backwards compatibility.
2017-01-29 19:03:35 +01:00
Rasmus Kaj
fa60b6e1f8
No need to defind CSSLINK in main.
2016-12-19 07:19:26 +01:00
Rasmus Kaj
f4f06434f9
Use a base template.
2016-09-26 00:45:13 +02:00