KevinMidboe
5a69001efd
Access code landing page w/ video.
2021-05-20 10:02:40 +02:00
KevinMidboe
3188e83aeb
Increased size of participate button.
2021-04-30 18:39:04 +02:00
KevinMidboe
f91466f1bf
Add pulse class after mount timeout 2sec.
2021-04-30 18:38:06 +02:00
KevinMidboe
7092fb1959
Don't display wine year if value is 0000.
2021-04-30 17:51:34 +02:00
KevinMidboe
210f9ddbc9
Buttons on admin addwines page should be small.
2021-04-30 17:50:55 +02:00
KevinMidboe
57ddd77493
Button for navigating to request a new wine.
2021-04-09 12:31:57 +02:00
KevinMidboe
b0000293a6
No longer shows "0 days ago", instead human string.
...
When viewing winners that won today it previously displayed "0 dager
siden", now changed to return "i dag" instead.
2021-02-20 13:41:16 +01:00
KevinMidboe
8df082dd48
If todays lottery is archived show dialog.
...
Use new api/lottery/latest to check if todays lottery has already been
archived. If yes we disable button and show dialog explaining how to
reset to next weeks lottery.
2021-02-20 13:30:05 +01:00
KevinMidboe
113f286f03
More space for wines on mobile.
2021-02-19 09:22:43 +01:00
KevinMidboe
2fce0e66ab
Merge branch 'master' into feat/controllers
2021-02-19 00:55:27 +01:00
KevinMidboe
d337329765
Use styles from global.scss.
2021-02-19 00:29:28 +01:00
KevinMidboe
83d9b30048
Request wine front & backend talk nicer togheter.
...
- requestWineController validates wine object and returns helpfull
error repsonse if anything is missing.
- requestWine uses new endpoint and calls api from within itself.
- Linting.
2021-02-19 00:29:05 +01:00
KevinMidboe
b02472ef75
Api calls done within & refactored as housekeeping.
...
Strings "Følg med på utviklingen" and "chat om trekningen" scrolls the
page content into view if clicked.
2021-02-18 23:45:13 +01:00
KevinMidboe
cff64999b3
Removed unused code.
2021-02-18 23:23:37 +01:00
KevinMidboe
710f276a9b
Api call from component itself.
2021-02-18 23:23:16 +01:00
KevinMidboe
6e0b2b76fe
New admin pages with better isolated functionality.
...
Draw winner page has:
- Better user feedback
- Knows how many wines are left
- Separat button for starting sms prize distribution.
- Edit, update and delete wine by id.
RegisterWinePage:
- Import wine by url.
- Edit, update and delete wine by id.
2021-02-18 23:18:13 +01:00
KevinMidboe
30a9d30b1e
Renamed to reflect archive lottery functionality.
2021-02-18 22:48:37 +01:00
KevinMidboe
2734e9a840
Now dedicated to submitting/archiving lottery.
...
Removed all other features than adding raffles bought, money received
and mapping of wines and winners.
Also now does api calls from within the component, not external api.js.
Better validation and use of toast plugin for user feedback.
2021-02-18 22:42:25 +01:00
KevinMidboe
3886313351
Renamed to reflect admin attendee functionality.
2021-02-18 22:22:25 +01:00
KevinMidboe
fc261b9274
Rewrote to only contain add attendee functions.
...
The ui for adding a new user is much more friendly and enables adding
using only keyboard.
Leveraging the new api design supporting CRUD we can update & delete
attendees individually.
2021-02-18 22:19:30 +01:00
KevinMidboe
8bd41cc691
Much simpler using prizeDistribution endpoints.
2021-02-18 21:44:33 +01:00
KevinMidboe
eaf57115e8
Liting.
2021-02-18 21:42:03 +01:00
KevinMidboe
cded690fba
Api call from component itself and linting.
2021-02-18 21:41:23 +01:00
KevinMidboe
eb9e7d4b43
When mounted focus on username input.
2021-02-18 21:35:32 +01:00
KevinMidboe
b2755add12
Api call from component itself and linting.
2021-02-18 21:35:18 +01:00
KevinMidboe
b5cca00ed4
Liting
2021-02-18 21:18:01 +01:00
KevinMidboe
2cf4095b97
Api call from component itself and linting.
2021-02-18 21:17:22 +01:00
KevinMidboe
72c1896747
Do api call from within the component itself.
2021-02-18 21:15:21 +01:00
KevinMidboe
b57fb5f1f8
Admin gets new tabs.
...
Tabs for registering wines, adding attendees, drawing winner,
registering/archiving lottery and sending push notifications.
Each tab also has a slug and counter attribute.
2021-02-18 21:08:37 +01:00
KevinMidboe
93854bc131
Updated text.
2021-01-22 12:40:42 +01:00
KevinMidboe
872f1f5fa3
Nicer styling of salgsbetingelser.
2021-01-22 12:40:18 +01:00
KevinMidboe
ccba3e5f10
Merge pull request #74 from KevinMidboe/feat/better-today-wines-layout
...
fix todays wines layout
2021-01-22 12:36:12 +01:00
KevinMidboe
bfa13892d5
Renamed salgsbetingelser to SalgsbetingelserPage.
2021-01-22 12:33:13 +01:00
Adrian Thompson
c430d07703
Merge branch 'master' of github.com:KevinMidboe/vinlottis into feat/better-today-wines-layout
2021-01-22 12:31:07 +01:00
KevinMidboe
e36c6b42eb
Merged master into feature branch.
2021-01-22 12:18:03 +01:00
KevinMidboe
ca6f6cb2ba
Request new wine response includes success bool.
...
Displays alert instead of modal if not true.
2021-01-11 20:54:48 +01:00
KevinMidboe
fc69accea3
Spacing and wrapping of virtuallottery wines.
2021-01-08 12:38:30 +01:00
KevinMidboe
f34857f5a8
If no tickets bought default 0 all colors.
2021-01-02 14:05:47 +01:00
KevinMidboe
593de53073
Display number of wines to title.
2021-01-02 14:05:28 +01:00
KevinMidboe
f115ee79e6
Added element grid order for mobile styling.
...
- Added styling for positioning and styling on mobile.
- New vippsPill component for smaller vipps button when on mobile.
2021-01-02 13:28:57 +01:00
KevinMidboe
7a2b5600c4
Fetch and display todays wines.
2020-12-31 17:29:53 +01:00
KevinMidboe
30b63a8e61
Page styles re-written and updated!
2020-12-31 17:28:55 +01:00
KevinMidboe
59328de496
Updated generate and lottery routes for frontpage.
2020-12-31 17:15:20 +01:00
KevinMidboe
0144780bb1
Fixed element positioning register page.
2020-12-11 13:12:05 +01:00
KevinMidboe
1839810e66
Dev-server proxies /api and WS request to backend.
2020-12-06 23:21:44 +01:00
KevinMidboe
ce7e05fd43
Renamed /src to /frontend.
2020-12-06 21:48:51 +01:00