Adrian Thompson
13e0c26eef
rework to boolean logic on classname
2020-09-09 09:20:59 +02:00
Adrian Thompson
d1044ee6c8
add background color on header and enlargen menu toggle a bit
2020-09-08 16:31:47 +02:00
Adrian Thompson
3b490e9995
cleanup
2020-09-08 16:14:33 +02:00
Adrian Thompson
21603dc856
added link color variable
2020-09-08 16:03:23 +02:00
Adrian Thompson
07d751700f
reworked banner with animations
2020-09-08 16:02:58 +02:00
a2fbbf0715
Merge pull request #30 from KevinMidboe/feat/highscore-page
...
Feat/highscore page
2020-09-08 10:56:55 +02:00
83f69ff007
Removed unused console.log.
2020-09-08 10:24:29 +02:00
aa19c3b3a7
Pulled feature branch up-stream.
2020-09-08 09:19:56 +02:00
23165c0b3f
Updated drone node docker version from 13.6.0 > 14.
2020-09-07 17:58:09 +02:00
3ebd3d3dce
drone builds solution on changes w/ cmd backend.
2020-09-07 17:54:31 +02:00
8c0a002020
Fixed loose check for headers.
...
Now search for lower-case header variable and convert to boolean before
sending back to caller.
2020-09-07 17:49:33 +02:00
Adrian Thompson
5cfec8bb9d
Merge pull request #25 from KevinMidboe/feat/navigation-in-header
...
Add navigation to the banner
2020-09-07 16:57:39 +02:00
Adrian Thompson
f17931a014
add middleware
2020-09-07 16:46:45 +02:00
Adrian Thompson
ee15c65988
add routes to request wine
2020-09-07 16:32:46 +02:00
Adrian Thompson
68f20268b8
Merge branch 'master' of github.com:KevinMidboe/vinlottis into feat/navigation-in-header
2020-09-07 16:30:00 +02:00
Adrian Thompson
563c45bc27
Merge pull request #24 from KevinMidboe/feat/request-wine
...
Functionality to request wines for next lottery
2020-09-07 16:28:30 +02:00
Adrian Thompson
2764972abd
remove unused code and fix or check
2020-09-07 16:22:59 +02:00
Adrian Thompson
2406d2b81a
remove commented code
2020-09-07 15:56:19 +02:00
Adrian Thompson
052b5007c2
add is admin middleware
2020-09-07 15:53:03 +02:00
Adrian Thompson
e060ff3aaa
cleanup api use
2020-09-07 14:57:52 +02:00
Adrian Thompson
ea278a4892
remove console log
2020-09-07 14:50:40 +02:00
Adrian Thompson
4a98e79414
fix conflicts and rework routes
2020-09-07 14:49:24 +02:00
Adrian Thompson
6d26da1817
resolve first batch of comments
2020-09-07 13:15:10 +02:00
34216c2708
Moved link styling to global.scss.
2020-09-06 22:34:55 +02:00
9174338621
Highscore has viewmore link for highscorePage.
2020-09-06 22:34:19 +02:00
2cc5c81df6
More positioning and global style rules.
2020-09-06 22:32:30 +02:00
ace222749a
Person highscore overview page.
2020-09-06 22:32:07 +02:00
1aa266ad71
Merge pull request #21 from KevinMidboe/refactor/routeSeparation
...
Refactor/route separation
2020-09-06 16:00:11 +02:00
20dd638133
Resovled merge conflict in yarn.lock.
2020-09-06 15:58:17 +02:00
f6c1e35180
Removed deprecated package: requests.
2020-09-06 15:56:09 +02:00
bf0670c285
Reflect backend changes. Winners nested in lottery.
2020-09-06 15:20:11 +02:00
7e08e2d628
Finer control when updating lottery.
...
Lottery update now has endpoint/functions for also submitting winners,
wines and lottery (what's bought) separatly.
2020-09-06 15:17:56 +02:00
4b926c9ece
Forward /winner/:id to frontend endpoint. (w/ hash)
2020-09-06 15:17:16 +02:00
a7f4f9af27
Utils file. Includes date format function.
2020-09-06 14:42:27 +02:00
ec1685dfa8
Adding attendee shows toast not alert.
...
Also better feedback when no colors are defined or name/phone number
missing.
2020-09-06 14:41:04 +02:00
f171853c22
Register wines, lottery and winners separatly.
...
Register page now uses new /lottery, /lottery/wines and /lottery/winners
endpoints for sending information separatly. This allows lottery
(colors, bought total & stolen), lottery wines (prelottery wines) and
lottery winners (wine mapped to winner) sent. Before /lottery/winners &
/lottery was sent together to a single endpoint.
2020-09-06 14:34:43 +02:00
c1f0a1b7f3
Padding for air around elements.
2020-09-06 14:33:45 +02:00
55b3552786
Flex wrap winner raffles to not overflow vertical.
2020-09-06 14:32:29 +02:00
4f9b4ad3cf
Some margin between button and text.
2020-09-06 14:29:30 +02:00
ef035d3c44
Set line-height for vin-button same as font-size.
2020-09-06 14:22:01 +02:00
7684fde8e5
global rule for flex column.
2020-09-06 14:21:45 +02:00
6dc4c9080e
Reflecting changes from renaming backend routes.
2020-09-06 14:21:10 +02:00
8268efe625
Include positioning stylesheet in root Vue comp.
2020-09-06 14:20:37 +02:00
a30dc2a419
Renamed & moved frontend router.
2020-09-06 14:20:01 +02:00
1d714d1e5a
Removed router, refactored virtual functoinality.
...
- Removed the router from virtualRegistration so router.js handles routing
and virtualRegistration only exports functions.
- Refactored what code is in each of the virtual(Lottery/Registration)
files. /finish in Lottery now only sends update to all winners and
delegates sending to next winner in line, and setting timeout to
virtualRegistration.
- Better error handling and all responses from virtualRegistration has
message in json response.
2020-09-06 14:14:26 +02:00
4f054a0437
Message uses node's https insteadof requests.
...
Messages re-written to use nodes built in https over external requests
package.
Also updated message functions to always return promises and have
clearer names for what their purpose is.
2020-09-06 14:13:36 +02:00
dde8fe1cbe
Renamed app > router.js. VirtualLottery in router.
2020-09-06 14:07:18 +02:00
Adrian Thompson
ed6ac2ac01
move api call, remove delete requested wine button, rename emit
2020-09-04 15:42:03 +02:00
Adrian Thompson
fe5f9d2124
remove unused code
2020-09-02 13:22:17 +02:00
Adrian Thompson
58b424a873
bigger clock margin on desktop
2020-09-02 13:04:34 +02:00