Commit Graph

156 Commits

Author SHA1 Message Date
ba83f73c31 MAPG-137 add width and height to images where possible 2020-06-14 11:12:18 +02:00
86f05f7738 MAPG-137 place static maps into container to avoid large layout shifts 2020-06-14 11:11:37 +02:00
14fd723f26 MAPG-125 add functionality to delete map button 2020-06-14 02:37:49 +02:00
d1d9dede9c MAPG-125 use modal instead of custom box in map editor 2020-06-14 02:31:09 +02:00
171064816c MAPG-125 add modal design 2020-06-14 02:30:47 +02:00
f8bb7bd092 MAPG-125 rename #cover to #guessCover in game 2020-06-14 02:07:20 +02:00
25262fb5fe MAPG-133 pass CSRF token to JS
create separate mapguesser.js
2020-06-13 22:39:17 +02:00
2ef67d53f4 MAPG-28 fix static asset paths (add STATIC_ROOT and REVISION) 2020-06-12 20:13:43 +02:00
b3caf1fb38 MAPG-28 adapt cssFiles and jsFiles to the new handler 2020-06-12 20:00:45 +02:00
08d4aec48e MAPG-28 add static root and revision to the local JS and CSS files 2020-06-12 20:00:45 +02:00
a869a55b7e MAPG-127 load markercluster's CSS and JS in map_editor 2020-06-11 23:23:03 +02:00
a0d1e8778c MAPG-126 add configurable attribution for Leaflet maps 2020-06-11 00:14:30 +02:00
805d91c0c0 MAPG-119 small fixes for game 2020-06-10 23:36:00 +02:00
ec7e806277 MAPG-119 'add new map' button and some desing improvements on maps page 2020-06-10 23:36:00 +02:00
947ce6b183 MAPG-119 view and JS adaptations for new map creation 2020-06-10 23:32:38 +02:00
ad818af543 MAPG-117 show the edit button only if user is admin 2020-06-10 20:20:36 +02:00
2725754504 Merged in bugfix/MAPG-116-improve-loading-animation (pull request #93)
MAPG-116 don't show loading when no real link clicked
2020-06-09 22:41:25 +00:00
a70d59ed95 MAPG-116 don't show loading when no real link clicked 2020-06-10 00:40:47 +02:00
5a450c46db MAPG-117 remove admin/maps and place a button to the maps page if admin is logged in 2020-06-10 00:30:29 +02:00
5e28fcb64d MAPG-116 attach loading animation to anchors and not to beforeunload 2020-06-09 23:00:07 +02:00
fbab712496 MAPG-103 save map metadata 2020-06-09 21:29:51 +02:00
46ef7f3b3b MAPG-103 unify some styles and show map name in the header 2020-06-09 21:29:51 +02:00
3fd37b0a78 MAPG-103 add info about the modified places into the header 2020-06-09 21:13:16 +02:00
55a1cd24d6 MAPG-103 make some CSS rules more general 2020-06-09 21:13:16 +02:00
edc2e4111a MAPG-115 add login functionality 2020-06-09 21:04:27 +02:00
9085793c9f MAPG-97 add initial map editor with Leaflet (works as map viewer now) 2020-06-01 21:56:57 +02:00
b823af1f7d MAPG-97 make better split up of JSs, CSSs, SVGs, templates 2020-06-01 21:56:57 +02:00
665eb7e4d1 MAPG-86 adapt URLs in HTML and JS 2020-05-31 21:00:23 +02:00
28464fc4ac MAPG-86 add 404 error page 2020-05-31 21:00:23 +02:00
fe095cf435 MAPG-90 disable unload prevention and unify onbeforeunload script (loading animation) 2020-05-31 03:50:06 +02:00
9a4d9435d9 MAPG-82 introduce very basic templating 2020-05-31 00:21:29 +02:00
ea272582eb MAPG-81 modify Bootstrap Icon copyright not to be in generated code 2020-05-30 23:19:10 +02:00
2e2524474f MAPG-81 add favicons 2020-05-30 23:18:05 +02:00
77238a6ead MAPG-83 format area value with decimal separator and superscript in unit 2020-05-30 20:40:47 +02:00
88a1d5ab8e MAPG-64 create cover div when user should not click on the pano or guess map
add loading animation to maps page too
CSS fixes
2020-05-30 20:13:00 +02:00
b9a36e5ccf MAPG-85 make static map's width mobile friendly
further style improvements on map selection page
2020-05-30 19:11:38 +02:00
8afcde393f MAPG-73 show header with link on the gaming screen
move round info to the new header
2020-05-30 17:39:45 +02:00
c773240512 MAPG-73 add license of Boostrap Icons 2020-05-30 17:39:45 +02:00
9ffedf6030 MAPG-73 introduce map selection
unify CSS
2020-05-30 17:39:45 +02:00
92c35a2087 MAPG-73 pass mapId to GameController and PositionController
adapt JS to send mapId
make separate JS for the game
2020-05-30 15:33:28 +02:00
567238c979 MAPG-47 refactor GameController and its view 2020-05-25 19:14:49 +02:00
4641aa81f8 MAPG-52 replace loading animation 2020-05-24 14:02:42 +02:00
3285ce2a4f MAPG-58 make resultinfo fixed height and move out continue button 2020-05-23 02:07:50 +02:00
e8492994dd MAPG-54 introduce round info - current round number and score 2020-05-23 01:25:43 +02:00
f110bb9b18 MAPG-20 rename guessMap to map 2020-05-22 23:23:54 +02:00
96ee250f96 MAPG-20 merge guessMap and resultMap into one map 2020-05-22 23:22:11 +02:00
b0b95fbbee MAPG-25 implement multi round game
refator of JS code
2020-05-21 23:55:59 +02:00
4d8ad9f10f MAPG-35 introduce layout for mobile
further style fixes and adjustments
2020-05-21 01:58:47 +02:00
f647e77366 MAPG-19 show loading gif during loading 2020-05-20 15:54:09 +02:00
c0ad64cbe5 MAPG-7 refactor JS to be more readable
load Google Maps API async
2020-05-20 03:19:53 +02:00
066afa6e2e MAPG-26 remove "async defer" from <script> because they depend on each other 2020-05-20 01:54:14 +02:00
916995161f MAPG-6 add score element to game HTML 2020-05-20 01:05:46 +02:00
e4c59739dc MAPG-4 show real position after guess
make workflow better
2020-05-19 16:18:12 +02:00
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +02:00
88e8a4e9e4 MAPG-10 add GetNewPosition controller
remove position selecing from GuessController
adapt GuessController to the new view-controller concept
2020-05-19 03:17:40 +02:00
c63f05295e MAPG-3 move index.php's view part to views/guess.php 2020-05-17 22:28:34 +02:00