Merge branch 'master' of github.com:KevinMidboe/vinlottis

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-24 09:51:42 +01:00
17 changed files with 7598 additions and 1770 deletions

View File

@@ -94,6 +94,10 @@ export default {
methods: {
generateColors: function(event, time) {
if (time == 5) {
if (this.numberOfBallots > 1 && new Set(this.colors).size == 1) {
alert('BINGO')
}
if (window.location.hostname == "localhost") {
return;
}

View File

@@ -116,7 +116,6 @@ export default {
}
.outer {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;

View File

@@ -3,11 +3,13 @@
<head>
<title>Vinlottis</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
href="/public/assets/images/favicon.ico"
type="image/x-icon"
/>
<link rel="apple-touch-icon" sizes="152x152" href="/public/assets/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/public/assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/public/assets/images/favicon-16x16.png">
<link rel="manifest" href="/public/assets/images/site.webmanifest">
<link rel="mask-icon" href="/public/assets/images/safari-pinned-tab.svg" color="#23101f">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="app"></div>

View File

@@ -86,7 +86,7 @@ export default {
maintainAspectRatio: false,
title: {
display: true,
text: "Antall vinn",
text: "Antall kjøpt",
fontSize: 20,
},
legend: {
@@ -134,10 +134,12 @@ export default {
.chart {
height: 40vh;
max-height: 364px;
@include mobile {
position: relative;
width: 90vw !important;
max-height: unset;
height: 50vh;
margin-bottom: 2rem;
}

View File

@@ -109,10 +109,12 @@ export default {
.chart {
height: 40vh;
max-height: 364px;
@include mobile {
position: relative;
width: 90vw !important;
max-height: unset;
height: 50vh;
margin-bottom: 2rem;
}