e1daf00609
Make text more readable
2021-11-26 20:45:03 +01:00
3a6a9122e1
Some shake animation on unsuccessful code input
2021-11-26 20:44:58 +01:00
0d14305ded
Make sure we also add the path when redirecting successfull code input
...
This is most relevant when SMS is sent to device used to watch the
lottery.
2021-11-26 20:43:11 +01:00
40b4a0657f
Code input is now case in-sensitive
2021-11-26 20:42:56 +01:00
836a06537a
Merge branch 'master' of github.com:KevinMidboe/vinlottis
2021-05-21 17:01:43 +02:00
a44a2f5e2a
Use toast not alert for bingo genearte msg.
2021-05-21 17:01:15 +02:00
560fb81a31
Playsinline attr on video for autoplay on ios
2021-05-21 11:13:20 +02:00
45d1df92a1
Merge pull request #88 from KevinMidboe/feat/access-code
...
Feat/access code
2021-05-21 10:39:18 +02:00
b94ea75941
Check for cookie accessCode and redirect if sites code exists.
2021-05-20 10:04:44 +02:00
019e763341
Util functions for set/get cookie.
2021-05-20 10:04:26 +02:00
19c1f18ef6
Slimmer and unbranded footer for accesscode page.
2021-05-20 10:03:07 +02:00
5a69001efd
Access code landing page w/ video.
2021-05-20 10:02:40 +02:00
783373da22
Linting
2021-05-20 10:01:58 +02:00
105820cdbb
Prevent crawling
2021-05-05 17:04:43 +02:00
3188e83aeb
Increased size of participate button.
2021-04-30 18:39:04 +02:00
f91466f1bf
Add pulse class after mount timeout 2sec.
2021-04-30 18:38:06 +02:00
7092fb1959
Don't display wine year if value is 0000.
2021-04-30 17:51:34 +02:00
210f9ddbc9
Buttons on admin addwines page should be small.
2021-04-30 17:50:55 +02:00
c96b52c935
Changed vinlottis to history mode.
2021-04-30 17:48:21 +02:00
57ddd77493
Button for navigating to request a new wine.
2021-04-09 12:31:57 +02:00
d44cc3cd39
Norwegian url names for request pages.
2021-04-09 12:31:46 +02:00
5af082784c
Always generate vipps url with amount.
...
Also update vipps component to correctly show vipps and mobile info text
in column correctly on mobile.
2021-02-20 14:11:36 +01:00
b0424a519c
Fixed drawing winner count was +1.
...
On /lottery frontend page the count of winners that is sent to frontend
over socketIO started one index higher than it should.
This was from updating how winners are saved in the backend. Our winners
array now no longer needs to be incremented with 1 from the backend.
2021-02-20 13:57:39 +01:00
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
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
7e2b5a5bb0
Only have fixed height on graph on desktop.
2021-02-19 09:23:10 +01:00
ac6a5195a5
Removed row-gap in banner.
2021-02-19 09:22:54 +01:00
113f286f03
More space for wines on mobile.
2021-02-19 09:22:43 +01:00
e89952d965
Forgot this prefix when referencing data value.
2021-02-19 01:04:03 +01:00
2fce0e66ab
Merge branch 'master' into feat/controllers
2021-02-19 00:55:27 +01:00
d337329765
Use styles from global.scss.
2021-02-19 00:29:28 +01:00
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
a37c08880c
Crazy breakpoints to always show filles rows.
...
Hides elements so we always show filled filled rows. The wine compoennt
does not load images before they are in the viewport, so it should not
decrease performance.
2021-02-19 00:00:30 +01:00
6b33e03aae
Call api within the component itself & linting.
2021-02-18 23:59:39 +01:00
9e25b374e0
New underlinenav, also defined all as css vars.
2021-02-18 23:57:05 +01:00
9913b5984a
Flex row class should column on mobile.
2021-02-18 23:56:51 +01:00
1d4b74b56b
Added centralized .wines-container, + misc changes.
...
- .raffleElement gets more of it's styling in the global stylesheet.
- margin class in steps, md, sm & 0.
2021-02-18 23:54:51 +01:00
f1a0f2a0f2
Button has more styles w/ added clases.
...
- .small: minimal height for content.
- .pulse-button: animate a pulsating effect, used for getting user
attention.
- .warning: new orange warning button styling, used for update buttons.
2021-02-18 23:51:05 +01:00
9b2d0f2d31
.small button has minimal height.
2021-02-18 23:49:52 +01:00
e20e952573
Label-div has some margin top from label.
2021-02-18 23:49:16 +01:00
8d3a21825d
Links always has pointer cursor & inherits color.
2021-02-18 23:48:17 +01:00
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
de664b3a29
Crazy breakpoints to always show filles rows.
...
Hides elements so we always show filled filled rows. The wine compoennt
does not load images before they are in the viewport, so it should not
decrease performance.
2021-02-18 23:26:05 +01:00
07dd0d43f5
Calls api from within and get as screen can fit.
2021-02-18 23:25:13 +01:00
cff64999b3
Removed unused code.
2021-02-18 23:23:37 +01:00
710f276a9b
Api call from component itself.
2021-02-18 23:23:16 +01:00
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
7234c2fbba
Backend endpoint makes it easier consume for graph.
...
New endpoint has the data aggregated so we don't need to do as much in
js.
Also added simple year select when we have data spanning multiple years.
2021-02-18 23:14:22 +01:00
d9de155174
Liting and compact prop for thiner styling.
2021-02-18 22:52:51 +01:00
7267c5f5bd
If admin prop enable editing & more info.
...
Leveraging the new api supporting CRUD we check if admin prop is true
and display edit, update and delete buttons.
2021-02-18 22:50:54 +01:00