Commit graph

63 commits

Author SHA1 Message Date
Midgard 1ff8ceb521
Improve design
Remove main CSS from shop view page. Make it theme independent and
maximize contrast.

Improve spacing in "add item" list.

Refactor old term "showcase" to "shop_view" in code.
2021-07-24 17:51:25 +02:00
Midgard 65d6de21fa
Change no courier text from "No-one" to "no-one yet" 2021-06-19 01:00:22 +02:00
Midgard 787669823c
Improve spacing between items in ordered dishes 2020-10-13 02:27:31 +02:00
Midgard 695331dd1a
Fix margin in ordered dishes, less bold 2020-10-13 02:18:43 +02:00
Midgard 342e94a7bf
Remove aligned price in menu and my_items 2020-10-13 02:10:45 +02:00
Midgard d3e6c1b08c
Use columns in order info faster, align prices in menu 2020-10-13 02:08:52 +02:00
Midgard c23a11bfdb
Fix flow quirks in "order information" section 2020-10-13 02:01:07 +02:00
Midgard 8cefb48768
Collapse other dishes, save expanded dish in hash 2020-10-13 01:42:03 +02:00
Midgard 837dc682bc
Tweak UI a bit after demo 2020-10-12 22:40:27 +02:00
Midgard 9641435b64
Add norobot tag on order pages 2020-09-26 00:39:50 +02:00
Midgard 7856302028
Improve order menu design 2020-09-25 21:12:41 +02:00
Midgard 0b93307f1f
Fix mobile order page, show dish descriptions 2020-09-01 16:35:18 +02:00
Midgard 6651a8d513
Show less TODOs on order page 2020-09-01 16:26:29 +02:00
Midgard 8ccc508747
Tweak layout 2020-08-26 19:30:01 +02:00
Midgard 1bea3d2fcc
Show stop date if needed, change to "add from favourites" 2020-08-26 19:30:00 +02:00
Midgard 48d67cbd89
Remove weird d from colours, add separate bg 2020-08-26 19:30:00 +02:00
Midgard 65ed818875
Start redesign of order page 2020-08-26 19:29:59 +02:00
Midgard cd67eab29b
Remove colons after some titles
Some titles had a colon, some hadn't. Titles don't need colons.
2020-08-08 15:43:58 +02:00
Midgard 289b36b918
Correct timer behaviour, reload when time up 2020-03-05 00:40:16 +01:00
Midgard 0f9a816eea
Make choice updating after dish change smoother 2020-03-04 22:35:55 +01:00
Midgard 54dc1f23bf
Show choices immediately when changing dish 2020-03-04 22:07:33 +01:00
Midgard f60c1d180c
Stub for choice selection 2020-03-03 16:21:01 +01:00
Midgard f2112ec26d
Restore form field location
Ugh, how did that happen
2020-02-29 20:04:14 +01:00
Midgard b44d34003d
Make whitespace match convention
Convention according to our EditorConfig.
2020-02-29 17:37:33 +01:00
Midgard 172d5d1e08
Fix dish change detection once and for all 2020-02-29 15:40:14 +01:00
Midgard 729dab2ba4
Fix anonymous ordering and dish change 2020-02-26 21:25:51 +01:00
Midgard e15b085006
Add message about options appearing on submit 2020-02-26 20:16:50 +01:00
Midgard ccb034ef7f
Fix bug on anonymous order view
Change to temporary message
2020-02-26 18:10:09 +01:00
Midgard 2b962e99d4
Eliminate excessive whitespace in options
These would show when editing the option by pressing backspace
2020-02-24 14:33:43 +01:00
Midgard b8ac141310
Fix mistake in dish change detection
When the form is submitted, the URL has no dish parameter any more.
To fix this, add a hidden form field to say which dish the form was for.
2020-02-24 14:20:36 +01:00
Midgard 513e495665
Add own logic and form elements
Bypass WTForms and use manually written <select> and all that.
2020-02-23 23:31:11 +01:00
Midgard f900c85931
Add form for choices, submitting fails 2020-02-21 18:38:30 +01:00
Midgard 04fb06d187
Use order.location_name instead of order.location.name 2020-01-27 22:59:07 +01:00
Midgard aa63023383
Improve order items page and other stuff 2020-01-27 03:46:05 +01:00
Midgard 6f24b52855
Make creating order and adding items work 2020-01-27 02:33:55 +01:00
Midgard d564808417
Correct misspelled "courrier" to "courier" 2020-01-26 02:28:20 +01:00
kindtanton c5f82afc6a Created css for 'kerstmis' 2019-12-05 19:39:35 +01:00
Jan-Pieter Baert 7d2653ac42
Make it easier to distinguish orders from
their extra's
2019-10-31 11:11:52 +01:00
Jan-Pieter Baert 8a0e6e3047
Merge branch 'master' into fix-pylint-formatting 2019-10-16 15:00:45 +02:00
midgard 13b846461c
Eliminate third-party resources
Inline select2. Remove Roboto web font (just be happy about what the
system offers us, it's gonna be all right).
2019-10-03 14:52:59 +02:00
Jan-Pieter Baert c4f9222558
Fix pylint for views and templates 2019-09-12 20:50:17 +02:00
redfast00 5e2d5e659c
Convert forms to POST requests, fix euro filter, fix user close debt 2019-09-11 16:44:36 +02:00
mcbloch d0863325a5
Restructuring the codebase!
But for real, it's a real shitstorm in there.
- Added context by making the init go through a function
  and not implicitly happen via imports
- Fixup all context and contextless function mixups
- splitup the models in sensible different files
- give the dump of view functions in views/__init__.py their own file
- add all routes via blueprints, not half of them
- move the slack notifications function and class to its own file,
    no idea what it was doing in a views file in the first place.
2019-08-28 03:46:04 +02:00
mcbloch 2d9f7e7fc5 add extra order items screen, clickable div with shadow 2019-05-29 20:12:19 +02:00
redfast00 34aca21a0b
Don't load over protocol-relative URI 2019-04-05 23:10:12 +02:00
klaasgoethals 71e16064d3 Added startdate and starttime on order page 2019-02-15 19:03:35 +01:00
klaasgoethals 4322f620d7 Show stoptime AND countdown on home and order page 2019-02-15 16:47:02 +01:00
Robbe Van Herck b324d0a723 Added Choose for me button in order 2018-03-19 18:52:15 +01:00
Titouan Vervack b611fe5961 Removed UTF-8 annotations, better count 2018-03-10 00:50:02 +01:00
Titouan Vervack 2e3ef91ec3 Count and display total # of orders 2018-03-09 00:59:33 +01:00