Refactor/everything #11

Merged
KevinMidboe merged 21 commits from refactor/everything into master 2020-03-10 09:23:31 +00:00

21 Commits

Author SHA1 Message Date
78fb6f30de Desktop friendly styling for login and create pages. 2020-03-10 10:16:48 +01:00
0fc7e65612 When setting colors from localstorage we set to null if value is 0. 2020-03-10 10:16:32 +01:00
dd4875698c All v-for gets a key 2020-03-10 10:15:53 +01:00
6c22b0e54f Max width on mobile to keep two rows. 2020-03-10 01:07:00 +01:00
05d3530035 No need to remove localstorage item, and reload to reset everything. 2020-03-10 01:06:47 +01:00
203ca83202 Input elements in wine edit view now have label-div styling.. 2020-03-10 01:00:05 +01:00
ebdaf4a4da Safari does not have BigInt implemented 🤯 2020-03-10 00:52:41 +01:00
e5319662b8 Chart functions moved to /api.js 2020-03-10 00:50:55 +01:00
035b129c9f Barcode library 2020-03-10 00:50:35 +01:00
20421afd4d Wine has bottom slot where components or ui elements can be injected. 2020-03-10 00:28:42 +01:00
ded1b2a084 Vipps now uses __PRICE__ from env variables. 2020-03-10 00:27:11 +01:00
0a2cee479a Removed static definition of api endpoints, import from /api.js 2020-03-10 00:26:49 +01:00
386551baaf Moved label-div and button styling to global stylesheet. New primary color in variables. 2020-03-10 00:26:14 +01:00
54d9060f5f Include new wineinfo route. 2020-03-10 00:24:33 +01:00
a4960c41b1 /log/schema endpoint for getting prelottery schema template. 2020-03-10 00:23:49 +01:00
6c05a829ac Use new api function and now tickets animate whenever input is changed. 2020-03-10 00:23:09 +01:00
d04164280f Dev config should also use create template. 2020-03-10 00:21:45 +01:00
3cf3151677 New lottery.config property for setting api url. 2020-03-10 00:21:16 +01:00
1ce0d02b72 Use new mustBeAuthenticated middleware. 2020-03-10 00:20:32 +01:00
9b7894ca7d Login and register pages uses api functions, new styling and better handling in backend. 2020-03-10 00:19:01 +01:00
43bf312007 Register page now uses api functions and can scan from vinmonopolet qr codes. Re-did formatting and styling on page. 2020-03-10 00:17:58 +01:00