Commit Graph

28 Commits

Author SHA1 Message Date
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
17cd8ee223 Add close link for the keyboard help. 2020-07-07 00:43:36 +02:00
Rasmus Kaj
79f16ba8bc Calc function is fixed in rsass 0.11.2. 2019-09-29 15:17:39 +02:00
Rasmus Kaj
59cea4ddeb Implement negative searching.
Can now search for images with or without specific tags, places
or people, in any combination.
2019-08-13 18:57:18 +02:00
Rasmus Kaj
b613c16029 Implement search. 2019-07-23 00:58:52 +02:00
Rasmus Kaj
51fd4279f5 Improve size/pos of admin buttons. 2019-05-29 18:14:08 +02:00
Rasmus Kaj
ee7b497745 More work on sizing in image lists. 2019-05-12 17:27:01 +02:00
Rasmus Kaj
610aced5d2 Updated style.
Use more screen for images and less for borders and frames.
2019-05-01 16:17:19 +02:00
Rasmus Kaj
afefc93eff Fix keyboard escape from map and a chrome size issue. 2019-04-26 22:56:29 +02:00
Rasmus Kaj
a3912d21b0 Fix broken keyboard stuff in admin. 2019-04-26 22:14:42 +02:00
Rasmus Kaj
336b439d7a Update leaflet. 2019-04-26 00:33:59 +02:00
Rasmus Kaj
f6b988259a Enable submitting location by pressing enter. 2018-09-08 16:23:09 +02:00
Rasmus Kaj
768fbd3bb4 Allow deeper zoom when placing image. 2018-09-08 15:07:27 +02:00
Rasmus Kaj
39126f2bc0 Improve presentation of places on a photo. 2018-09-06 13:52:06 +02:00
Rasmus Kaj
e74cbb0c3d Nicer positioning by local storage
Use local storage to remember the last position set for a picture, and
use that as a starting point when positioning an image that does not
allreay have any known position.
2018-08-12 12:11:43 +02:00
Rasmus Kaj
4193a99d5b Tighter cluster.
A smaller maxclusterradius (35, rather than the default 80)
allows a better view of where pictures are actually taken.
2018-08-12 11:29:17 +02:00
Rasmus Kaj
a9db221aac Add photo previews to map markers. 2018-07-19 21:17:00 +02:00
Rasmus Kaj
df1c33c7ee Add leaflet clustering.
Nice handling of maps with extreme numbers of photos.
2018-07-18 21:20:38 +02:00
Rasmus Kaj
fa08f8d3cc Fix leaflet markers.
Sometimes the markers would not view, that was because the trick to
find the correct url for the marker images didn't work when the css
might load after the js.  So just load the css before the js instead.
2018-07-15 22:46:56 +02:00
Rasmus Kaj
5222194c5c Add admin ux to set image position. 2018-07-15 21:52:44 +02:00
Rasmus Kaj
fe7ca3b1cb Use image size on details view. 2018-03-05 18:33:17 +01:00
Rasmus Kaj
498548e3dd Don't let the map hide dropdowns. 2018-02-19 23:03:07 +01:00
Rasmus Kaj
025c142c15 Put admin forms before map. 2018-02-11 16:10:20 +01:00
Rasmus Kaj
5c4cefd3f6 Improve map scaling and rescaling. 2018-02-11 15:32:15 +01:00
Rasmus Kaj
25ad308992 DRYer map initialization. 2018-02-11 13:32:23 +01:00
Rasmus Kaj
bf017aeacd Limit height of map.
It should not take more than 60% of browser height, this is
not primarily a map site.
2018-02-11 01:09:13 +01:00
Rasmus Kaj
f756411162 Disable scrollwWheelZoom on the map.
The map is on a page that might be scrolled.  Having the scroll
wheel change action in mid-scroll is confusing and irritating.
2018-02-11 01:07:40 +01:00
Rasmus Kaj
59d26c5bce Move source for statics to res directory. 2018-02-10 23:06:09 +01:00