Commit Graph
100 Commits
Author SHA1 Message Date
Commander1024 9a30ced90c Calculates correct map_center for paginated place_list. 2020-08-22 09:58:57 +02:00
Commander1024 d44bf0c0f2 Customized PlaceListView to provide data for map rendering. 2020-08-22 09:24:50 +02:00
Commander1024 cad53c070c Added map to place_list, but place_center_map is still a bit off. 2020-08-22 09:23:12 +02:00
Commander1024 a0627761a7 Fixed indentation again. Because I'm stupid ;-) 2020-08-22 09:22:20 +02:00
Commander1024 04940a0901 Added ol.css.map to static files and noted it down in linklist. 2020-08-22 09:19:50 +02:00
Commander1024 3ef31eda0f Added OSM map to place_detail view and template. 2020-08-22 09:19:01 +02:00
Commander1024 7cb8bc6bac Added place_list sorting to sort by name. 2020-08-22 02:59:04 +02:00
Commander1024 636bb880c1 Removed debug output. 2020-08-21 20:38:52 +02:00
Commander1024 c9d9ca9de0 Indentation fixed to 4 spaces. 2020-08-21 20:38:05 +02:00
Commander1024 5f3be5fc83 Pointed template to new location of static map files. 2020-08-21 10:33:56 +02:00
Commander1024 f916ac9742 Removed obsolete include of static files function. 2020-08-21 10:33:33 +02:00
Commander1024 03af8a0c02 Made the center of the map consider only shown places (dynamic). 2020-08-21 10:31:30 +02:00
Commander1024 65f3642272 Added note to where these files were pulled from. 2020-08-21 10:30:17 +02:00
Commander1024 e00a0f687b Moved static osm_map files to subfolder. 2020-08-21 10:29:59 +02:00
Commander1024 9af55d3f24 Made place urls dynamic, changed zoom level. Works so far - but div is still 0px high :P. 2020-08-20 23:49:16 +02:00
Commander1024 719e75a449 Reverted to paginate by 5 in place_list. 2020-08-20 23:33:33 +02:00
Commander1024 6688536a78 Revert "Reverted to paginate by 5 in place_list."
This reverts commit 7835ddcf16.
2020-08-20 23:32:52 +02:00
Commander1024 7835ddcf16 Reverted to paginate by 5 in place_list. 2020-08-20 23:32:27 +02:00
Commander1024 3caada8f08 Moved additional headers to parent template. 2020-08-20 23:07:52 +02:00
Commander1024 4113811c5f Added and included ol.css. 2020-08-20 22:46:56 +02:00
Commander1024 a660763ea4 Corrected map_center_coords variables. 2020-08-20 22:08:35 +02:00
Commander1024 55fe79b82c Added missing ol.js.map. 2020-08-20 22:02:47 +02:00
Commander1024 b34e88a3ad Formatting. 2020-08-20 21:50:00 +02:00
Commander1024 f52dd733d8 Inluded ol.js. 2020-08-20 21:47:44 +02:00
Commander1024 ff428beaef Added ol.js for map rendering. 2020-08-20 21:44:05 +02:00
Commander1024 e8c4faff8e Minor corrections. 2020-08-20 21:38:35 +02:00
Commander1024 0b0a401486 Added export of place coords to home conext. 2020-08-20 21:38:01 +02:00
Commander1024 2b56eed759 Added OSM map partial, Place model function and added it to home. 2020-08-20 21:37:27 +02:00
Commander1024 e387091da6 Removed obsoleted JS. 2020-08-20 21:07:39 +02:00
Commander1024 6b90ca39eb Converted indentation to spaces globally. 2020-08-17 15:38:52 +02:00
Commander1024 c1007fb7bc Added migrations directory to .gitignore. 2020-08-17 12:36:27 +02:00
Commander1024 aa4c77e675 Deleted old migrations. 2020-08-17 12:30:45 +02:00
Commander1024 7a378c26d0 Unified first/last - next/prev behaviour. Fixed previous button. 2020-08-17 12:03:30 +02:00
Commander1024 c2b9b494cc Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-16 11:56:18 +02:00
Commander1024 99fbe827c9 Changed pagination template to show disabled nav elements. 2020-08-16 11:56:13 +02:00
Commander1024 42d1137dfb Fixed icon absolute path error. 2020-08-14 15:52:17 +02:00
Commander1024 e2152662cf Updated main css from frontend repo. Vertical pagination alignment. 2020-08-14 13:58:21 +02:00
Commander1024 9f33b994dd Renamed object instance to mark current page css class. 2020-08-14 10:58:31 +02:00
Commander1024 70f2137af5 Removed HTML entities, linked first/last css classes. 2020-08-14 10:13:44 +02:00
Commander1024 b5147ee59b Moved pagination to partials and included it in place_list. 2020-08-14 09:45:00 +02:00
Commander1024 86087c2b8d Fixed stupid syntax errors. 2020-08-13 20:30:43 +02:00
Commander1024 f616b713d4 Minor pagination themplate fixes. Needs unified decorations. 2020-08-13 12:54:59 +02:00
Commander1024 9f788ab44c Added sweet navigation html entities. 2020-08-12 23:28:06 +02:00
Commander1024 f27fc71a01 Added pagination in PlaceList template. 2020-08-12 23:20:32 +02:00
Commander1024 2f1f356eb0 Fixed indentation. 2020-08-12 22:20:31 +02:00
Commander1024 adc0fd4d5e Changed PlaceList description to not cus description < threshold. 2020-08-12 22:15:44 +02:00
Commander1024 8889314d9e Changed sorting to newest first in PlaceGrid. 2020-08-12 22:00:45 +02:00
Commander1024 1a70c1437e Converted PlaceList into a ListView and added pagination. 2020-08-12 21:53:49 +02:00
Commander1024 564d20c73e Added success message to deleteview. 2020-08-12 20:56:37 +02:00
Commander1024 0b3aff1d1d Simplified UpdatePlace success message using Mixin. 2020-08-12 20:52:17 +02:00
Commander1024 0cf482dc5c Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-12 20:44:13 +02:00
Commander1024 275bec6560 Success message for place update. 2020-08-12 20:44:08 +02:00
Commander1024 852def01d2 Added success and error messages to CreatePlaceView. 2020-08-12 20:35:49 +02:00
Commander1024 1130ee70d9 Added missing self to get method. 2020-08-12 20:11:25 +02:00
Commander1024 759c42279d Converted last function-based views into class-based-views. 2020-08-12 19:24:04 +02:00
Commander1024 87efccf6c9 Finally removed "hello_world". 2020-08-12 19:14:06 +02:00
Commander1024 a82ddaa44e Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-12 19:07:12 +02:00
Commander1024 78f087fb3c Moved check for submitter to own view, included it in update place. 2020-08-12 19:07:07 +02:00
Commander1024 b6b17f4caf Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-12 18:59:27 +02:00
Commander1024 c0191fc6c4 Added LoginRequiredMixin to check for authenticated user. 2020-08-12 18:59:21 +02:00
Commander1024 5c9a52b01c Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-12 18:32:11 +02:00
Commander1024 7bcb08a4ae More German removed. 2020-08-12 18:32:07 +02:00
Commander1024 cbcfda3726 Removed another German title string. 2020-08-12 18:16:32 +02:00
Commander1024 0620ac2325 Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-12 18:13:45 +02:00
Commander1024 c39bbef47c Removed german string, reodered comment. 2020-08-12 18:13:41 +02:00
Commander1024 aff5babb20 Added UserTestMixin to PlaceDeleteView. 2020-08-12 17:18:31 +02:00
Commander1024 8f340f6567 Cancel buttons type="button". 2020-08-12 16:19:52 +02:00
Commander1024 118c48cd66 More markup errors. 2020-08-12 16:16:52 +02:00
Commander1024 bc484b9ff9 More Cancel-Buttons. (create_place, update_place). 2020-08-12 12:44:14 +02:00
Commander1024 313748f5ac Munch simpler solution using link-button. 2020-08-12 12:38:50 +02:00
Commander1024 8b01bbb2ce Added named cancel button that redirects to success_url. 2020-08-12 11:28:11 +02:00
Commander1024 147c0e8dfe Removed obsoleted checkbox form. 2020-08-11 10:34:39 +02:00
Commander1024 f77650b54d Hide hero image div if none present. 2020-08-09 13:48:45 +02:00
Commander1024 89060f4ce0 Removed debug output. 2020-08-07 12:27:54 +02:00
Commander1024 602a8bb1e6 Got Place object in get request. 2020-08-07 12:27:35 +02:00
Commander1024 fe97e02e41 Doesn't do shit. 2020-08-06 22:30:52 +02:00
Commander1024 15a74f1f31 Added basic checkbox form and delete template. 2020-08-06 22:29:03 +02:00
Commander1024 19847d0e1f Fixed typos and install / prod warning. 2020-08-06 20:34:46 +02:00
Commander1024 5a9e86d3c0 Transated to English. 2020-08-06 19:51:45 +02:00
Commander1024 172e462d1d Dyfunct, but non-breaking WIP commit. :P 2020-08-06 16:57:43 +02:00
Commander1024 565c58019b Limited length of name / location in placegrid. Added padding. 2020-08-05 20:44:31 +02:00
Commander1024 e63601955e Added max-height to hero image css. 2020-08-05 20:16:09 +02:00
Commander1024 c2d08f637f Removed obsoleted fonts.css. 2020-08-05 20:03:21 +02:00
Commander1024 805363eac5 Trying to move navigation into sidebar. 2020-08-05 19:54:13 +02:00
Commander1024 985ab2ed75 Unified indentation using 4 spacec according to PEP8. 2020-08-05 18:57:09 +02:00
Commander1024 2b3fa6f216 Updated readme, according to thumbnail plugin change. 2020-08-05 18:29:03 +02:00
Commander1024 5d500100e5 Formatting. 2020-08-05 18:23:11 +02:00
Commander1024 b7fd19e5ef Removed unused fonts. 2020-08-05 18:19:52 +02:00
Commander1024 9a2ff27810 Merge branch 'master' of mowoe.com:reverend/lostplaces-backend 2020-08-05 18:13:43 +02:00
Commander1024 05b770f56d Removed unused fonts include CSS. 2020-08-05 18:13:35 +02:00
Commander1024 e2f4fca8ca Moved fonts to expected location in subfolder. 2020-08-05 13:05:13 +02:00
Commander1024 28d09c968a Changed otf font references by correct ttf ones. 2020-08-04 23:41:13 +02:00
Commander1024 284302e3dc Moved login prompt and welcome msg together into one line. 2020-08-04 23:33:51 +02:00
Commander1024 9e2a54b8e5 Stupid is not to check your changes before committing. 2020-08-04 23:20:53 +02:00
Commander1024 c20e9c866d Moved login / logout links and greeting into header. 2020-08-04 23:16:45 +02:00
Commander1024 66404eea87 Fixed typo and / url. 2020-08-04 22:10:31 +02:00
Commander1024 713595f5e8 Typos in headings are hard to notice ;-) 2020-08-04 13:07:50 +02:00
Commander1024 f69f137402 Made image-sized quadratic again, for the images to honor the aspect ratio. Will be cropped in thumbnails anyway. 2020-08-03 21:57:42 +02:00
Commander1024 e74bdd58d2 Removed old django-thumbs thumbnail sizes and a rogue newline. 2020-08-03 21:49:12 +02:00
Commander1024 3ab5bf6826 Added signup formcheck signup. 2020-08-02 23:22:47 +02:00