Vinlottispage UI redesign #56

Merged
Adrianht merged 26 commits from enhancement/vinlottispage-rework into master 2020-11-03 11:41:39 +00:00
5 changed files with 14 additions and 14 deletions
Showing only changes of commit d5a7ce1b1e - Show all commits

View File

@@ -2,7 +2,7 @@
<div class="app-container">
<banner :routes="routes"/>
<router-view />
<WineFooter />
<Footer />
<UpdateToast
v-if="showToast"
:text="toastText"
@@ -15,12 +15,12 @@
<script>
import ServiceWorkerMixin from "@/mixins/ServiceWorkerMixin";
import banner from "@/ui/Banner";
import WineFooter from "@/ui/WineFooter";
import Footer from "@/ui/Footer";
import UpdateToast from "@/ui/UpdateToast";
export default {
name: "vinlottis",
components: { banner, UpdateToast, WineFooter },
components: { banner, UpdateToast, Footer },
props: {},
data() {
return {

View File

@@ -21,7 +21,7 @@
<h4 class="el-spacing">Flasker vunnet:</h4>
<div v-for="win in winner.highscore" :key="win">
<div v-for="win in winner.highscore" :key="win._id">
<router-link :to="winDateUrl(win.date)" class="days-ago">
{{ humanReadableDate(win.date) }} - {{ daysAgo(win.date) }} dager siden
</router-link>

View File

@@ -10,7 +10,7 @@
KevinMidboe commented 2020-11-03 08:35:10 +00:00 (Migrated from github.com)
Review

Same as above. Try not to use entire objects as keys.

Same as above. Try not to use entire objects as keys.
KevinMidboe commented 2020-11-03 08:35:10 +00:00 (Migrated from github.com)
Review

Same as above. Try not to use entire objects as keys.

Same as above. Try not to use entire objects as keys.
Adrianht commented 2020-11-03 09:14:11 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:11 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
</router-link>
</section>
<ol class="winner-list-container">
<li v-for="(person, index) in highscore" :key="person" class="single-winner">
KevinMidboe commented 2020-11-03 08:35:10 +00:00 (Migrated from github.com)
Review

Same as above. Try not to use entire objects as keys.

Same as above. Try not to use entire objects as keys.
Adrianht commented 2020-11-03 09:14:11 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
<li v-for="(person, index) in highscore" :key="person._id" class="single-winner">
KevinMidboe commented 2020-11-03 08:35:10 +00:00 (Migrated from github.com)
Review

Same as above. Try not to use entire objects as keys.

Same as above. Try not to use entire objects as keys.
Adrianht commented 2020-11-03 09:14:11 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
<span class="placement">{{index + 1}}.</span>
<i class="icon icon--medal"></i>
<p class="winner-name">{{ person.name }}</p>
KevinMidboe commented 2020-11-03 08:35:10 +00:00 (Migrated from github.com)
Review

Same as above. Try not to use entire objects as keys.

Same as above. Try not to use entire objects as keys.
KevinMidboe commented 2020-11-03 08:35:10 +00:00 (Migrated from github.com)
Review

Same as above. Try not to use entire objects as keys.

Same as above. Try not to use entire objects as keys.
Adrianht commented 2020-11-03 09:14:11 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:11 +00:00 (Migrated from github.com)
Review

Fixed

Fixed

View File

@@ -2,7 +2,7 @@
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
<section class="outer-bought">
<h3>Loddstatistikk</h3>
<div class="total-ballots">
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
<div class="total-raffles">
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Totalt&nbsp;
<span class="total">{{ total }}</span>
&nbsp;kjøpte og&nbsp;
@@ -17,7 +17,7 @@
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
color.name +
'-container ' +
color.name +
'-ballot ballot-element-local'
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
'-raffle raffle-element-local'
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
"
:key="color.name"
>
@@ -49,7 +49,7 @@ export default {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
redPercentage: 0,
yellowPercentage: 0,
greenPercentage: 0,
bluePercentage: 0,
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
bluePercentage: 0
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
};
},
async mounted() {
@@ -152,7 +152,7 @@ export default {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
}
}
.total-ballots {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
.total-raffles {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
display: flex;
}
@@ -162,7 +162,7 @@ export default {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 50px;
.ballot-element-local {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
.raffle-element-local {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
height: 250px;
width: 100%;
display: flex;
@@ -195,19 +195,19 @@ export default {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
margin-left: 15px;
}
&.green-ballot {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
&.green-raffle {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
background-color: $light-green;
}
&.blue-ballot {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
&.blue-raffle {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
background-color: $light-blue;
}
&.yellow-ballot {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
&.yellow-raffle {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
background-color: $light-yellow;
}
&.red-ballot {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
&.red-raffle {
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
background-color: $light-red;
}
}
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:37:47 +00:00 (Migrated from github.com)
Review

Ehhm isn't ballot renamed to raffle?

Ehhm isn't `ballot` renamed to `raffle`?
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
KevinMidboe commented 2020-11-03 08:41:05 +00:00 (Migrated from github.com)
Review

Goes for all instances of ballot.

Goes for all instances of `ballot`.
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed
Adrianht commented 2020-11-03 09:14:28 +00:00 (Migrated from github.com)
Review

Fixed

Fixed