Commit Graph

384 Commits

Author SHA1 Message Date
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
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
Adrian Thompson
e481b6a812 reworked header to be one component scaling on css properties 2020-09-02 12:52:45 +02:00
Adrian Thompson
1e5c1faa5b quick css fix 2020-09-02 09:51:11 +02:00
Adrian Thompson
e86f956b03 add mobile-banner component and conditional render on window-width 2020-09-01 14:04:41 +02:00
Adrian Thompson
f31823803d add routes in header 2020-09-01 13:24:42 +02:00
Adrian Thompson
88e42cb87a fix refresh of requested wines 2020-09-01 12:30:50 +02:00
Adrian Thompson
99df5bb8c1 fix check 2020-09-01 10:56:17 +02:00
Adrian Thompson
c38f5c8819 some cleaning and empty wine list check 2020-09-01 10:44:54 +02:00
Adrian Thompson
a5ae46f5c3 working delete requested wine if admin 2020-09-01 10:17:17 +02:00
Adrian Thompson
1c95244850 interface on requested wines with sub-par css 2020-08-31 16:45:19 +02:00
Adrian Thompson
dd9edf160e add endpoint for retrieving all requested wines 2020-08-31 12:15:22 +02:00
Adrian Thompson
d67c1e77bd add new route and component for requested wines 2020-08-31 10:46:07 +02:00
Adrian Thompson
c6a2bfe4b2 include modal on request specific wine 2020-08-31 10:45:42 +02:00
Adrian Thompson
b25e3a38f8 add modal component 2020-08-31 10:45:18 +02:00
Adrian Thompson
543a7a6eb3 some cleanup and css fix for mobile 2020-08-30 17:27:03 +02:00
Adrian Thompson
7b7895728b loko 2020-08-28 17:01:53 +02:00
Adrian Thompson
f785a111d8 cleanup 2020-08-27 16:50:04 +02:00
Adrian Thompson
15b84a9b18 add token and some styling 2020-08-27 15:15:43 +02:00
Adrian Thompson
09f0436f98 add search functionality 2020-08-27 13:25:44 +02:00
5fc3bca01a Merge pull request #18 from KevinMidboe/feat/lottery-endpoint
Feat/lottery endpoint
2020-08-14 16:56:47 +02:00
9b9d5bd528 Winners component has title prop but defaults "Vinnere" 2020-06-14 14:32:05 +02:00
6633994940 Registered HistoryPage api funcs & router endpoint. 2020-06-14 14:31:34 +02:00
b4b6643581 HistoryPage shows winners from prev lotteries.
The design of this pages sucks, but Winners.vue matched pretty well.
Need to have it's own design.
2020-06-14 14:30:45 +02:00
ab8fd9dd83 Insteadof mount all tabs & hiding,use :is to mount 2020-06-14 13:39:16 +02:00
efb5dfcd3e Prevent stopping execution. 2020-06-14 13:36:59 +02:00
a84441078c Opaque gradient over -1 msg & can fetch n+1 pages
- An opaque gradient overlay on the top message. This creates the illusion
that there are more messages under that the user can scroll to.
- Changed the formatting of the chat messages.
- Repaired the scrolling that happens on load and when chatHistory prop
list updates. If a full page arrives we want to keep the position, but
on load and a single new message we want to jump to the bottom of the
list.
- Emitting loadMoreHistory expects a expanded list of chatHistory.
2020-06-14 13:36:16 +02:00
1e0a76757a Parent now pages history on event.
loadMoreHistory func uses new variables historyPage and historyPageSize
to fetch the next x = historyPageSize elements with skip, take query
parameters for /history endpoint before prepending the received messages
to the existing.
2020-06-14 13:25:54 +02:00
Kasper Rynning-Tønnesen
37cb4a8f56 Add alerts for success/non-success on SMS sendings 2020-04-17 15:54:34 +02:00
Kasper Rynning-Tønnesen
55e1a00e67 Merge pull request #15 from KevinMidboe/feat/sms-ing
Add sms capabilities, and online-fixing of everything
2020-04-06 09:39:21 +02:00
Kasper Rynning-Tønnesen
40927ac286 Add sms capabilities, and online-fixing of everything 2020-04-04 01:05:52 +02:00
131ffe42e7 Fiveminutes left or ten minutes over. 2020-04-03 15:04:52 +02:00
706ef44491 Don't need user to see chat. Increased to fetch last 100 messages. 2020-04-03 13:55:26 +02:00
Kasper Rynning-Tønnesen
09648f0b2d Eventlistener on change 2020-04-03 12:37:27 +02:00
Kasper Rynning-Tønnesen
a7ab191ed1 The eventbus 2020-04-03 12:35:33 +02:00
Kasper Rynning-Tønnesen
6e5f99391f Fix for tab-elements fetching 2020-04-03 12:35:24 +02:00
Kasper Rynning-Tønnesen
14fbf40ac8 laways show dagens 2020-04-03 12:18:14 +02:00
Kasper Rynning-Tønnesen
52e773bc7e Fix some null-errors 2020-03-27 16:45:56 +01:00