diff --git a/src/components/AdminPage.vue b/src/components/AdminPage.vue new file mode 100644 index 0000000..6f7df9e --- /dev/null +++ b/src/components/AdminPage.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/components/VirtualLotteryRegistrationPage.vue b/src/components/VirtualLotteryRegistrationPage.vue index c718847..3bbddfb 100644 --- a/src/components/VirtualLotteryRegistrationPage.vue +++ b/src/components/VirtualLotteryRegistrationPage.vue @@ -8,12 +8,12 @@ >Trekker {{ currentWinners }} av {{ numberOfWinners }} vinnere. {{ secondsLeft }} sekunder av {{ drawTime }} igjen -
- @@ -268,6 +268,7 @@ export default { .draw-container { display: flex; + justify-content: space-around; } .draw-winner-container, diff --git a/src/routes/vinlottisRouter.js b/src/routes/vinlottisRouter.js index c243ab1..747db10 100644 --- a/src/routes/vinlottisRouter.js +++ b/src/routes/vinlottisRouter.js @@ -7,6 +7,8 @@ import LoginPage from "@/components/LoginPage"; import RegisterPage from "@/components/RegisterPage"; import CreatePage from "@/components/CreatePage"; +import AdminPage from "@/components/AdminPage"; + import VirtualLotteryRegistrationPage from "@/components/VirtualLotteryRegistrationPage"; import VirtualLotteryPage from "@/components/VirtualLotteryPage"; @@ -31,17 +33,13 @@ const routes = [ path: "/login", component: LoginPage }, - { - path: "/update", - component: RegisterPage - }, { path: "/create", component: CreatePage }, { - path: "/virtual-register", - component: VirtualLotteryRegistrationPage + path: "/admin", + component: AdminPage }, { path: "/virtual", diff --git a/src/styles/global.scss b/src/styles/global.scss index 3dd2557..638f3b8 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -140,6 +140,10 @@ textarea { } } +.no-margin { + margin: 0 !important; +} + .ballot-element { margin: 20px 0; -webkit-mask-image: url(/../../public/assets/images/lodd.svg);