Commit graph

676 commits

Author SHA1 Message Date
Laura Klünder
bf98f54b55 refactor tile code in meny places to allow reusing it 2017-11-21 00:15:49 +01:00
Laura Klünder
39c76f4342 remove old c3nav.narrow variable 2017-11-15 22:39:23 +01:00
Laura Klünder
467734f078 make sure the loading state is always removed 2017-11-15 18:20:00 +01:00
Laura Klünder
3a7b64a49d remove legacy event call 2017-11-15 17:47:42 +01:00
Laura Klünder
fdc59c7a77 strech sidebar on mobile devices if they are slightly wider than 400px 2017-11-15 17:47:20 +01:00
Laura Klünder
40857699b6 pad beside instead below sidebar on screens if that is the better option 2017-11-15 17:34:42 +01:00
Laura Klünder
cbd37e3835 set Leaflet maxBounds dynamically to work with padding 2017-11-15 17:21:03 +01:00
Laura Klünder
240325eada remove old unneeded variables 2017-11-15 16:52:55 +01:00
Laura Klünder
cb9997fc0c fix django css linting 2017-11-15 16:49:11 +01:00
Laura Klünder
2275129ff4 show loader gif while sidebar is loading 2017-11-15 16:39:42 +01:00
Laura Klünder
9e7ebd48bf remove background css properties for old image based icon buttons 2017-11-15 16:30:32 +01:00
Laura Klünder
da5d8acd1e remove css for old button in #route-summary 2017-11-15 16:28:08 +01:00
Laura Klünder
ae4c20db4f remove fallback for location icon 2017-11-15 16:27:03 +01:00
Laura Klünder
8db4dbcf72 some 1px tweaks 2017-11-15 16:26:20 +01:00
Laura Klünder
ec75850e17 text in empty locationinput was 1px too low 2017-11-15 16:19:51 +01:00
Laura Klünder
d8b335697f remove more SVG icons that are no longer needed / replaced by an icon font 2017-11-15 16:11:14 +01:00
Laura Klünder
6b9fb01b0c force-unfocus search if we just filled in the last locationinput 2017-11-15 16:08:35 +01:00
Laura Klünder
08fbb27fe4 click through location icon and route dots, react only on input focus 2017-11-15 16:03:41 +01:00
Laura Klünder
8184684a2a unfold locationinputs if they get the focus 2017-11-15 16:00:20 +01:00
Laura Klünder
5942c2978a change min-width for route view collapse 2017-11-15 15:50:12 +01:00
Laura Klünder
b8800f76c3 collapse origin and destination inputs of screen size is low 2017-11-15 15:46:06 +01:00
Laura Klünder
b8ec4c4437 fix closing autocomplete if window last focus in between 2017-11-15 15:04:14 +01:00
Laura Klünder
caf5d8c152 fix missing html in location popups after loaded state 2017-11-15 15:00:43 +01:00
Laura Klünder
e63d209767 decrease locate button size to fix better 2017-11-15 14:54:52 +01:00
Laura Klünder
863ef84645 use icons in location popup 2017-11-15 14:53:41 +01:00
Laura Klünder
79a9f95b02 add location icon to autocomplete 2017-11-15 14:45:04 +01:00
Laura Klünder
66a90ed3d9 move route summary and improve ui with more icons 2017-11-15 14:10:59 +01:00
Laura Klünder
b7b0f2c21e add icons to buttons 2017-11-15 12:36:10 +01:00
Laura Klünder
08ecc2be9f replace svg icons with google material icons font 2017-11-15 12:10:11 +01:00
Laura Klünder
43cdba9950 fix iconRetinaUrl 2017-11-12 00:08:03 +01:00
Laura Klünder
e94145cc96 route-summary for mobile devices 2017-11-12 00:07:22 +01:00
Laura Klünder
aea9069285 fix typo in c3nav.js when closing route view 2017-11-11 22:33:10 +01:00
Laura Klünder
400f2892bb fix scroll wheel zoom on thinkpads and similar 2017-11-05 18:19:45 +01:00
Laura Klünder
0e3fa01131 main index: only show primary levels 2017-11-05 17:54:03 +01:00
Laura Klünder
f928fd8b6e fix imports 2017-11-05 12:32:07 +01:00
Laura Klünder
df451f9143 cleanup render code to make room for the opengl rendering engine 2017-11-04 23:21:36 +01:00
Laura Klünder
94a23454a1 change short urls to not rely on doule slashes 2017-10-31 18:35:42 +01:00
Laura Klünder
86b090a29f move .leaflet-touch disable code elsewhere due to leaflet update 2017-10-31 18:00:26 +01:00
Laura Klünder
5c7e172ee7 add missing bottom padding 2017-10-31 17:22:39 +01:00
Laura Klünder
f0813f1acf vor location or route links without position, fly to bounds 2017-10-31 17:20:31 +01:00
Laura Klünder
11c2d1616a call update_map_locations() after load_state() 2017-10-31 17:14:10 +01:00
Laura Klünder
432df73df7 fix level url representation 2017-10-31 16:12:42 +01:00
Laura Klünder
0f137bab81 x y and zoom can start with a minus 2017-10-31 16:09:10 +01:00
Laura Klünder
e98c38e5fb represent level in state url as short_label, not its id 2017-10-31 16:08:20 +01:00
Laura Klünder
4c32a22aac remove whitespaces in state json serialization 2017-10-31 15:45:07 +01:00
Laura Klünder
8813f00e95 remove old view get_map_image 2017-10-31 15:44:33 +01:00
Laura Klünder
9787d915f4 improve state logic in map_index 2017-10-31 15:37:19 +01:00
Laura Klünder
91bf8b9652 finish history state logic, implement it in python 2017-10-31 15:28:49 +01:00
Laura Klünder
aec7935ab0 comment out debug statements 2017-10-31 12:38:00 +01:00
Laura Klünder
4e39a3b8a4 implement load_state / onpopstate 2017-10-31 12:37:21 +01:00