Commit graph

57 commits

Author SHA1 Message Date
Jan-Pieter Baert
d6f0019232
Small fixes
Remove print statements and use format strings instead of "+"
2019-12-17 23:44:15 +01:00
Pieter-Jan Cassiman
98c57b161e Added css_list to render_template for profile page 2019-12-17 22:28:36 +01:00
Pieter-Jan Cassiman
285c36f0cf Updated css_list function to return a list instead of a json 2019-12-17 22:26:48 +01:00
Pieter-Jan Cassiman
7ac0d6291e Fixed css function to deal with default [customTheme] cookie 2019-12-17 22:25:59 +01:00
Jan-Pieter Baert
b8c15e5cf3
Add css misc functions
A function to list all possible themes and a list to load the css from
the cookie
2019-12-17 19:53:34 +01:00
redfast00
2d0e405fb2
Fix typo 2019-12-07 09:49:02 +01:00
Jan-Pieter Baert
528da7d777
Remove todo which is done 2019-12-06 16:22:57 +01:00
Jan-Pieter Baert
ababb85402
Make custom theme code a bit cleaner 2019-12-06 16:12:05 +01:00
Jan-Pieter Baert
a81055b574
Remove useless 'str(...)' usage 2019-12-06 15:34:39 +01:00
kindtanton
ee627b7dfa Plausible fix for internal server error when requesting the css 2019-12-06 12:32:51 +01:00
kindtanton
d34369df11 merged + added scss cache to gitignore 2019-12-05 20:38:07 +01:00
kindtanton
c5f82afc6a Created css for 'kerstmis' 2019-12-05 19:39:35 +01:00
Pieter-Jan Cassiman
a71f7434d1 Updated code to deal with dates that wrap around the new year 2019-12-05 19:19:36 +01:00
Pieter-Jan Cassiman
15f8f6c5d9 Updated theme dates 2019-12-05 19:19:03 +01:00
Pieter-Jan Cassiman
204e1945da Added functionality to automatically choose the relevant seasonal theme 2019-11-22 12:22:25 +01:00
Pieter-Jan Cassiman
0b88c9b660 Added file for storing and parsing all themes 2019-11-22 12:21:46 +01:00
kindtanton
eb61d3286b Styled the home page for the christmas theme + little tweaks 2019-11-22 07:53:24 +01:00
kindtanton
608e708a1d Changed the way themes work. The client sends a cookie containing the theme which the server uses to send the correct css file. 2019-11-21 10:52:08 +01:00
0af72376a1
Increase line length limit to 100
Up from 80.
2019-09-12 20:53:26 +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
Jan-Pieter Baert
c64e4bd998
Run black and isort on all code 2019-09-08 02:04:34 +02:00
Jan-Pieter Baert
b7fa92a22a
Add typing to view files 2019-09-08 01:34:16 +02:00
mcbloch
d591f846d8
add and run black formatter 2019-09-05 03:33:29 +02:00
mcbloch
f59ec75bea
forgot to remove the old endpoint 2019-09-05 03:25:17 +02:00
mcbloch
e660627249
move routes endpoint to debug blueprint 2019-09-04 17:18:11 +02:00
mcbloch
0538c9f984
remove author variables 2019-08-29 15:58:15 +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
Maxime
5020556dcb
Merge pull request #121 from ZeusWPI/feature/order_items
add order items screen
2019-05-31 17:12:43 +00:00
Tom Naessens
2d4ad2a605 Adds a button on the location/ and locations/ page to start a new order at the given location #120 2019-05-30 14:10:47 +12:00
mcbloch
2d9f7e7fc5 add extra order items screen, clickable div with shadow 2019-05-29 20:12:19 +02:00
mcbloch
02c9abe28c add location name to browser title 2019-05-29 18:02:55 +02:00
mcbloch
83e4a10bbc fix big ass close order issue #107 2019-04-05 18:24:24 +02:00
Maxime
82d870e825
Merge pull request #95 from Kortika/feature/map
Feature/map
2019-04-04 17:51:00 +02:00
Sitt Min Oo
baf000eaab edited db models to separate address and tele no. added map for locations 2019-02-14 18:45:24 +01:00
Sitt Min Oo
0a36eab231 added leaflet files and init maps.html 2019-02-14 16:43:29 +01:00
klaasgoethals
65b27f7668 Logo with red icon added 2019-02-13 22:28:16 +01:00
klaasgoethals
eece1844f2 Added favicon 2019-02-13 20:25:44 +01:00
Feliciaan De Palmenaer
6abd9614ab Fix deprecations 2017-01-06 12:05:31 +01:00
Wout Schellaert
30a5d05362 Fix errors 2016-09-10 23:25:09 +02:00
Wout Schellaert
ba33a05f66 Add top4 products 2016-09-10 23:01:13 +02:00
Wout Schellaert
a6f71195fd First data 2016-09-10 16:52:46 +02:00
Wout Schellaert
7ca0e36946 Small reformat 2016-09-10 15:49:52 +02:00
Feliciaan De Palmenaer
ce0fe33c0e Show prices for locations
For @procrat
2016-08-01 23:40:04 +02:00
Rien Maertens
1ea873fe17 Added <!channel|@channel> 2016-02-09 01:07:34 +01:00
Feliciaan De Palmenaer
b51fb2d6de Haldis hot fix, anonymous users cannot delete stuff 2015-10-30 20:30:18 +01:00
Feliciaan De Palmenaer
dd4754ec0d Updated forms and orders 2015-06-09 13:46:37 +02:00
Feliciaan De Palmenaer
e50e97b428 Add initial profile 2015-06-05 11:39:34 +02:00
Feliciaan De Palmenaer
46bf2a0cbb Merge branch 'master' of github.com:ZeusWPI/Foodbot into feat/38/post_to_slack
* 'master' of github.com:ZeusWPI/Foodbot:
  Fixed bug for volunteering closes #44
  Check if user is allowed to edit
  Add paid indicator, fixes #19
  spacing
  Edit orders
  Added phone number
  Added alembic and flask-migrate to haldis
2015-06-04 22:57:42 +02:00
Feliciaan De Palmenaer
a5e231cc12 Merge branch 'master' of github.com:ZeusWPI/Foodbot into feat/19/paid-indicator
* 'master' of github.com:ZeusWPI/Foodbot:
  Check if user is allowed to edit
  spacing
2015-06-04 22:08:04 +02:00