Added Images, fonts, vagttelefon and menuplan

This commit is contained in:
Frederikmillingpytlick 2020-06-11 14:52:15 +02:00
parent 9c6d8c04cd
commit a341e61bad
32 changed files with 699 additions and 25 deletions

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<file url="PROJECT" libraries="{font-awesome}" />
</component>
</project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 37.25"><defs><style>.cls-1{fill:#fff;}</style></defs><title>Artboard 3</title><circle class="cls-1" cx="6.34" cy="2.84" r="2.84"/><path class="cls-1" d="M26.34,10.92A12.51,12.51,0,0,0,5,18.86H5v.22c0,.37,0,.74,0,1.11l-.06,5.35a4.67,4.67,0,0,1-1.77,3.61l-1.75,1.4A3.74,3.74,0,0,0,0,33.27a3.75,3.75,0,0,0,3.76,4H4a3.74,3.74,0,0,0,2.73-1.41l1.4-1.75a4.67,4.67,0,0,1,3.61-1.77l5.3-.06c.41,0,.82,0,1.23,0h.14a12.5,12.5,0,0,0,8-21.31ZM11.69,30.31a6.62,6.62,0,0,0-5.14,2.52l-1.4,1.75a1.77,1.77,0,0,1-2.63.15A1.74,1.74,0,0,1,2,33.38a1.76,1.76,0,0,1,.66-1.28l1.75-1.4a6.62,6.62,0,0,0,2.52-5.14l0-1.92,6.65,6.65Z"/></svg>

After

Width:  |  Height:  |  Size: 700 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 26.34"><defs><style>.cls-1{fill:#fff;}</style></defs><title>Artboard 6</title><circle class="cls-1" cx="18.03" cy="5.91" r="1.76" transform="translate(-0.71 2.96) rotate(-9.22)"/><path class="cls-1" d="M29.19,0H.81A.81.81,0,0,0,0,.81V25.53a.81.81,0,0,0,.81.81H29.19a.81.81,0,0,0,.81-.81V.81A.81.81,0,0,0,29.19,0Zm-.8,1.61V23.77L21.54,12A.3.3,0,0,0,21,12l-2.82,4.86-6-10.29a.41.41,0,0,0-.71,0L1.61,23.62v-22Z"/></svg>

After

Width:  |  Height:  |  Size: 505 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 45.08"><defs><style>.cls-1{fill:#fff;}</style></defs><title>Artboard 8</title><path class="cls-1" d="M25.56,0H4.44A4.44,4.44,0,0,0,0,4.44v36.2a4.44,4.44,0,0,0,4.44,4.44H25.56A4.44,4.44,0,0,0,30,40.64V4.44A4.44,4.44,0,0,0,25.56,0Zm2.35,40.64A2.36,2.36,0,0,1,25.56,43H4.44a2.36,2.36,0,0,1-2.35-2.35V4.44A2.36,2.36,0,0,1,4.44,2.09H25.56a2.36,2.36,0,0,1,2.35,2.35Z"/><path class="cls-1" d="M15,36.75a2.19,2.19,0,1,0,2.19,2.19A2.19,2.19,0,0,0,15,36.75ZM15,39a.1.1,0,1,1,.1-.1A.09.09,0,0,1,15,39Z"/></svg>

After

Width:  |  Height:  |  Size: 588 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 24.73"><defs><style>.cls-1{fill:#fff;}</style></defs><title>Artboard 2</title><path class="cls-1" d="M19.27,20.3H.88a.89.89,0,0,1,0-1.77H19.27a.89.89,0,0,1,0,1.77Z"/><path class="cls-1" d="M10.08,6.35A10.09,10.09,0,0,0,0,16.43a.88.88,0,0,0,.88.88H19.27a.88.88,0,0,0,.88-.88A10.09,10.09,0,0,0,10.08,6.35Zm0,1.48C7.87,7.83,4.83,9,3.56,11.2a.44.44,0,0,1-.38.22A.4.4,0,0,1,3,11.36a.43.43,0,0,1-.16-.6C4.25,8.26,7.57,7,10.09,7a.44.44,0,0,1,.44.44A.44.44,0,0,1,10.09,7.83Z"/><path class="cls-1" d="M20.15,21.73l-.36,1.39a2.1,2.1,0,0,1-2,1.57H2.39a2.11,2.11,0,0,1-2-1.57L0,21.73Z"/><path class="cls-1" d="M30,.88A.82.82,0,0,0,29.27,0H14a.82.82,0,0,0-.73.88.84.84,0,0,0,.63.87l.35,3.6a11.83,11.83,0,0,1,6.56,6.08,17.16,17.16,0,0,1,1.32,8,21,21,0,0,1-.64,4.15A3.47,3.47,0,0,1,21,24.73h5a1.23,1.23,0,0,0,1.23-1.12L29.37,1.75A.84.84,0,0,0,30,.88Z"/></svg>

After

Width:  |  Height:  |  Size: 933 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 34.67"><defs><style>.cls-1{fill:#FFF;}</style></defs><title>Artboard 9</title><path class="cls-1" d="M30,4.77a26,26,0,0,0-30,0s-.65,22.17,15,29.9C30.65,26.94,30,4.77,30,4.77ZM19.17,16.49l1,5.74L15,19.52,9.84,22.23l1-5.74L6.65,12.42l5.77-.84L15,6.36l2.58,5.22,5.76.84Z"/></svg>

After

Width:  |  Height:  |  Size: 366 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 34.67"><defs><style>.cls-1{fill:#00788A;}</style></defs><title>Artboard 9</title><path class="cls-1" d="M30,4.77a26,26,0,0,0-30,0s-.65,22.17,15,29.9C30.65,26.94,30,4.77,30,4.77ZM19.17,16.49l1,5.74L15,19.52,9.84,22.23l1-5.74L6.65,12.42l5.77-.84L15,6.36l2.58,5.22,5.76.84Z"/></svg>

After

Width:  |  Height:  |  Size: 369 B

View File

@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 31.3"><defs><style>.cls-1{fill:#fff;}</style></defs><title>Artboard 4</title><path class="cls-1" d="M27.12.84V5.89a.83.83,0,0,1-.83.83h-3.2a.85.85,0,0,0-.84.84v5.12a3.7,3.7,0,0,0-1.15.42,4.93,4.93,0,0,1-.72.29,4.18,4.18,0,0,1-1.53.15,3.87,3.87,0,0,1-1.43-.41l-.17-.08L17,12.92a4.59,4.59,0,0,0-.64-.28,4.25,4.25,0,0,0-2.76,0,4.59,4.59,0,0,0-.64.28l-.23.13-.16.09a4.14,4.14,0,0,1-3,.25,4,4,0,0,1-.72-.29l-.33-.16V7.56a.84.84,0,0,0-.84-.84H4.54a.84.84,0,0,1-.84-.83v-5A.84.84,0,0,1,4.54,0h6.7a4.17,4.17,0,0,0,4.17,4.17A4.17,4.17,0,0,0,19.59,0h6.7A.83.83,0,0,1,27.12.84Z"/><path class="cls-1" d="M29.56,14.47a.3.3,0,0,1,.43.35L25.77,30.58a1.08,1.08,0,0,1-1.06.72H5.29a1.08,1.08,0,0,1-1.06-.72L0,14.81a.3.3,0,0,1,.43-.34h0a5,5,0,0,0,3.33.73A5.86,5.86,0,0,0,4.88,15a5.89,5.89,0,0,0,.58-.24l.18-.08a.85.85,0,0,1,.17-.06,2.3,2.3,0,0,1,1.4,0,2,2,0,0,1,.58.31,5.76,5.76,0,0,0,1.07.57,6,6,0,0,0,4.8-.09l.28-.13.14-.08,0,0,0,0a1.53,1.53,0,0,1,.27-.11,1.91,1.91,0,0,1,1.16,0,1.53,1.53,0,0,1,.27.11l0,0,0,0,.13.08a2.44,2.44,0,0,1,.28.14,6.13,6.13,0,0,0,2.41.54,5.91,5.91,0,0,0,2.39-.45,5.8,5.8,0,0,0,1.07-.58,2,2,0,0,1,.59-.31,2.27,2.27,0,0,1,1.39,0l.17.06.09,0,.12.05a5,5,0,0,0,.53.23,6.06,6.06,0,0,0,1.1.26,5.06,5.06,0,0,0,3.35-.74Z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -5,6 +5,8 @@
*/
require('./bootstrap');
require('./navmenu/menu');
require('./date');
// window.Vue = require('vue');

11
skolehjem/resources/js/date.js vendored Normal file
View File

@ -0,0 +1,11 @@
Date.prototype.getWeek = function() {
var date = new Date(this.getTime());
date.setHours(0, 0, 0, 0);
// Thursday in current week decides the year.
date.setDate(date.getDate() + 3 - (date.getDay() + 6) % 7);
// January 4 is always in week 1.
var week1 = new Date(date.getFullYear(), 0, 4);
// Adjust to Thursday in week 1 and count number of weeks from date to week1.
return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000
- 3 + (week1.getDay() + 6) % 7) / 7);
}

View File

@ -0,0 +1,15 @@
document.addEventListener("DOMContentLoaded", function(){
// Handler when the DOM is fully loaded
start();
});
function start() {
updateWeek();
}
function updateWeek() {
var elm = document.getElementById('week');
var date = new Date();
elm.innerHTML = "Uge " + date.getWeek();
}

37
skolehjem/resources/js/navmenu/menu.js vendored Normal file
View File

@ -0,0 +1,37 @@
document.addEventListener("DOMContentLoaded", function(){
// Handler when the DOM is fully loaded
start();
});
function start() {
document.getElementById ('toggle').addEventListener ('click', toggleMenu, false);
}
function toggleMenu() {
var buttonElement = document.getElementById('menuIcon');
var htmlElement = document.getElementsByTagName('html')[0];
var logoElement = document.getElementById('sdeLogo');
var mainElement = document.getElementsByTagName('main')[0];
var menu = document.getElementById('menu');
if(buttonElement.alt === '-')
{
htmlElement.style.backgroundColor = 'rgb(0, 120, 138)';
logoElement.src = '/images/logos/Logo-hvid.svg';
menu.classList.remove('d-none');
mainElement.classList.add('d-none');
buttonElement.alt = 'X';
}
else
{
htmlElement.style.backgroundColor = 'rgb(255, 255, 255)';
logoElement.src = '/images/logos/Logo-normal.svg';
menu.classList.add('d-none');
mainElement.classList.remove('d-none');
buttonElement.alt = '-';
}
}

View File

@ -0,0 +1,119 @@
.toggle{
--uiToggleSize: var(--toggleSize, 20px);
--uiToggleIndent: var(--toggleIndent, .4em);
--uiToggleBorderWidth: var(--toggleBorderWidth, 2px);
--uiToggleColor: var(--toggleColor, #000);
--uiToggleDisabledColor: var(--toggleDisabledColor, #868e96);
--uiToggleBgColor: var(--toggleBgColor, #fff);
--uiToggleArrowWidth: var(--toggleArrowWidth, 2px);
--uiToggleArrowColor: var(--toggleArrowColor, #fff);
margin-bottom: 1.5rem;
display: inline-block;
position: relative;
}
.toggle__input{
position: absolute;
left: -99999px;
}
.toggle__label{
display: inline-flex;
min-height: var(--uiToggleSize);
padding-left: calc(var(--uiToggleSize) + var(--uiToggleIndent));
}
.toggle__input:not(:disabled) ~ .toggle__label{
cursor: pointer;
}
.toggle__label::before,
.toggle__label::after{
content: "";
box-sizing: border-box;
width: 1em;
height: 1em;
font-size: var(--uiToggleSize);
position: absolute;
left: 0;
top: 0;
}
.toggle__label:before{
border: var(--uiToggleBorderWidth) solid var(--uiToggleColor);
z-index: 2;
}
.toggle__input:disabled ~ .toggle__label::before{
border-color: var(--uiToggleDisabledColor);
}
.toggle__input:focus ~ .toggle__label::before{
box-shadow: 0 0 0 2px var(--uiToggleBgColor), 0 0 0 4px var(--uiToggleColor);
}
.toggle__input:not(:disabled):checked:focus ~ .toggle__label::after{
box-shadow: 0 0 0 2px var(--uiToggleBgColor), 0 0 0 4px var(--uiToggleColor);
}
.toggle__input:not(:disabled) ~ .toggle__label::after{
background-color: var(--uiToggleColor);
opacity: 0;
}
.toggle__input:not(:disabled):checked ~ .toggle__label::after{
opacity: 1;
}
.toggle__text{
margin-top: auto;
margin-bottom: auto;
}
.toggle__text::before{
content: "";
box-sizing: border-box;
width: 0;
height: 0;
font-size: var(--uiToggleSize);
border-left-width: 0;
border-bottom-width: 0;
border-left-style: solid;
border-bottom-style: solid;
border-color: var(--uiToggleArrowColor);
position: absolute;
top: .5428em;
left: .2em;
z-index: 3;
transform-origin: left top;
transform: rotate(-40deg) skew(10deg);
}
.toggle__input:not(:disabled):checked ~ .toggle__label .toggle__text::before{
width: .5em;
height: .25em;
border-left-width: var(--uiToggleArrowWidth);
border-bottom-width: var(--uiToggleArrowWidth);
will-change: width, height;
transition: width .1s ease-out .2s, height .2s ease-out;
margin-top: 3px;
}
.toggle__input:disabled ~ .toggle__label{
opacity: .24;
cursor: not-allowed;
}
.toggle__label::before,
.toggle__label::after{
border: 2px solid;
border-color: white;
}
.toggle__input:not(:disabled) ~ .toggle__label::before,
.toggle__input:not(:disabled) ~ .toggle__label::after{
opacity: 1;
transform-origin: center center;
margin-top: 3px;
}
.toggle__text::before{
opacity: 0;
}
.toggle__input:not(:disabled):checked ~ .toggle__label .toggle__text::before{
opacity: 1;
transition: opacity .1s ease-out .3s, width .1s ease-out .5s, height .2s ease-out .3s;
}
.toggle{
--toggleColor: transparent;
--toggleBgColor: transparent;
--toggleSize: 1.25rem;
}

76
skolehjem/resources/sass/_default.scss vendored Normal file
View File

@ -0,0 +1,76 @@
* {
font-family: $font-family-sans-serif;
}
html, body {
width: 100%;
margin: 0;
height: 100%;
}
::placeholder {
opacity: 1;
}
a {
color: #000000;
text-decoration: none;
}
// Mobile
@media only screen
and (max-width : 900px)
{
main {
max-width: 460px;
display: flex;
flex-direction: column;
justify-content: center;
margin: auto;
padding: 0 1.25rem 0 1.25rem;
}
.brand {
padding: 0 1rem 0 1rem;
margin: 7rem 0 5rem 0;
}
header, #menu {
padding: 1.25rem 1.75rem 0 1.75rem;
}
#menu {
padding-top: 4rem;
}
#menu > a {
color: white;
font-size: 8vw;
font-weight: 600;
display: flex;
align-items: center;
margin-bottom: 1.5rem;
}
#menu > a > img {
height: 1em;
margin-right: 8px;
}
h1 {
font-size: 12vw;
}
h3 {
font-size: 8vw;
}
span {
font-size: 5vw;
}
p {
font-size: 4vw;
}
}

21
skolehjem/resources/sass/_displays.scss vendored Normal file
View File

@ -0,0 +1,21 @@
.d-flex {
display: flex;
}
.d-none {
display: none !important;
}
.row {
display: flex;
flex-direction: row;
}
.align-items-center {
align-items: center;
}
.col {
display: flex;
flex-direction: column;
}

View File

@ -1,23 +1,54 @@
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #CCC;
border-radius: 4px;
box-sizing: border-box;
resize: vertical;
}
/* Mobile */
@media only screen
and (max-width : 900px)
{
form {
max-width: 100%;
padding: 0 .45rem 0 .45rem;
display: flex;
flex-direction: column;
justify-content: center;
}
label {
padding: 12px 12px 12px 0;
display: inline-block;
}
input[type="email"], input[type="password"] {
border: none;
border-bottom: white solid 2px;
background-color: transparent;
font-size: 1rem;
color: rgba(255,255,255,1);
line-height: 2rem;
margin-bottom: 1rem;
}
.btn {
border: 0;
border-radius: 4px;
padding: .75rem;
cursor: pointer;
font-weight: 700;
font-size: 1.05rem;
background-color: white;
color: $sde-black-80;
margin-bottom: .5rem;
}
.btn-dark {
color: white;
background-color: $sde-black-80;
}
.btn-sde-blue {
color: white;
background-color: $sde-blue;
}
.btn-disabled {
color: white;
background-color: $sde-black-20;
}
.form-inline {
display: inline-flex;
}
input[type=submit] {
background-color: #4CAF50;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}

67
skolehjem/resources/sass/_margins.scss vendored Normal file
View File

@ -0,0 +1,67 @@
.m-auto {
margin: auto;
}
.mr-auto {
margin-right: auto;
}
.ml-auto {
margin-left: auto;
}
.mt-auto {
margin-top: auto;
}
.mb-auto {
margin-bottom: auto;
}
.ml-0 {
margin-left: 0;
}
.mr-0 {
margin-right: 0;
}
.mb-0 {
margin-bottom: 0;
}
.mt-0 {
margin-top: 0;
}
.ml-2 {
margin-left: 3rem;
}
.mr-2 {
margin-right: 3rem;
}
.mb-2 {
margin-bottom: 3rem;
}
.mt-2 {
margin-top: 3rem;
}
.ml-3 {
margin-left: 3rem;
}
.mr-3 {
margin-right: 4.75rem;
}
.mb-3 {
margin-bottom: 4.75rem;
}
.mt-3 {
margin-top: 4.75rem;
}

23
skolehjem/resources/sass/_sizes.scss vendored Normal file
View File

@ -0,0 +1,23 @@
.w-100 {
width: 100%;
}
.w-75 {
width: 75%;
}
.w-50 {
width: 50%;
}
.w-25 {
width: 25%;
}
.min-height-100 {
min-height: 100%;
}
.bg-sde-blue {
background-color: $sde-blue;
}

43
skolehjem/resources/sass/_texts.scss vendored Normal file
View File

@ -0,0 +1,43 @@
.text-white {
color: #ffffff;
}
.text-center {
text-align: center;
}
.sde-blue {
color: $sde-blue;
}
.sde-black-80 {
color: $sde-black-80;
}
.sde-black-20 {
color: $sde-black-20;
}
.regular {
font-weight: 400;
}
.semi-bold {
font-weight: 600;
}
.bold {
font-weight: 700;
}
.toggle__label.sde-blue::before {
border-color: $sde-blue;
}
.sde-blue.toggle__text::before {
border-color: $sde-blue;
}
span.toggle__text.sde-blue {
font-size: 5vw;
}

View File

@ -2,7 +2,7 @@
$body-bg: #f8fafc;
// Typography
$font-family-sans-serif: 'Nunito', sans-serif;
$font-family-sans-serif: 'Titillium Web';
$font-size-base: 0.9rem;
$line-height-base: 1.6;
@ -18,4 +18,11 @@ $green: #38c172;
$teal: #4dc0b5;
$cyan: #6cb2eb;
$sde-blue: #00788A;
// SDE Colors
$sde-blue: rgb(0, 120, 138);
$sde-black-100: rgb(0, 0, 0);
$sde-black-80: rgb(51, 51, 51);
$sde-black-60: rgb(102, 102, 102);
$sde-black-40: rgb(153, 153, 153);
$sde-black-20: rgb(204, 204, 204);

View File

@ -1,8 +1,43 @@
// Fonts
@import url('https://fonts.googleapis.com/css?family=Nunito');
@font-face {
font-family: 'Titillium Web';
src: url('/fonts/TitilliumWeb-Regular.ttf');
font-weight: normal;
}
@font-face {
font-family: 'Titillium Web';
src: url('/fonts/TitilliumWeb-SemiBold.ttf');
font-weight: 600;
}
@font-face {
font-family: 'Titillium Web';
src: url('/fonts/TitilliumWeb-Bold.ttf');
font-weight: 700;
}
// Variables
@import 'variables';
// Defaults
@import "default";
// Forms
@import "forms";
// Displays
@import "displays";
// Texts
@import "texts";
// Margins
@import "margins";
// Sizes
@import "sizes";
// Checkboxes
@import "checkboxes";
// Bootstrap
//@import '~bootstrap/scss/bootstrap';

View File

@ -1,13 +1,16 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>@yield("title")</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link type="text/css" rel="stylesheet" href="{{ mix("/css/app.css") }}">
</head>
<body>
@yield("header")
@yield("content")
<script src="{{ mix("/js/app.js") }}"></script>
@yield("scripts")
</body>
</html>

View File

@ -0,0 +1,34 @@
@section("header")
<header class="row align-items-center">
<img class="w-50" id="sdeLogo" src="{{URL::asset('/images/logos/Logo-normal.svg')}}" alt="Syddansk Erhvervsskole">
<a class="ml-auto" href="javascript:void(0)" id="toggle">
<img src="{{URL::asset('/images/icons/icon.svg')}}" id="menuIcon" alt="-">
</a>
</header>
<div class="d-none bg-sde-blue col" id="menu">
<a href="">
<img src="{{URL::asset('/images/icons/Menuplan.svg')}}" alt="Menuplan">
Menuplan
</a>
<a href="">
<img src="{{URL::asset('/images/icons/Aktiviteter.svg')}}" alt="Aktiviteter">
Aktiviteter
</a>
<a href="">
<img src="{{URL::asset('/images/icons/Vaske booking liste.svg')}}" alt="Vaske booking liste">
Vaske booking liste
</a>
<a href="">
<img src="{{URL::asset('/images/icons/Galleri.svg')}}" alt="Galleri">
Galleri
</a>
<a href="">
<img src="{{URL::asset('/images/icons/Kontoret.svg')}}" alt="Kontoret">
Kontoret
</a>
<a href="">
<img src="{{URL::asset('/images/icons/Vagttelefon-hvid.svg')}}" alt="Vagttelefon">
Vagttelefon
</a>
</div>
@endsection

View File

@ -0,0 +1,42 @@
@extends("layout.base")
@extends("layout.header")
@section("title")
Menuplan
@endsection
@section("content")
<main>
<h1 class="text-center sde-blue mb-0">Menuplan</h1>
<span class="text-center sde-black-80 bold" id="week">Uge x</span>
<div class="col w-100 mt-auto">
<div class="w-100" id="mandag">
<h3 class="sde-blue bold text-center">Mandag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
<div class="w-100" id="tirsdag">
<h3 class="sde-blue bold text-center">Tirsdag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
<div class="w-100" id="onsdag">
<h3 class="sde-blue bold text-center">Onsdag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
<div class="w-100" id="torsdag">
<h3 class="sde-blue bold text-center">Torsdag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
<div class="w-100" id="fredag">
<h3 class="sde-blue bold text-center">Fredag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
<div class="w-100" id="lørdag">
<h3 class="sde-blue bold text-center">Lørdag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
<div class="w-100" id="søndag">
<h3 class="sde-blue bold text-center">Søndag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
</div>
</div>
</main>
@endsection

View File

@ -0,0 +1,26 @@
@extends("layout.base")
@section("title")
Login
@endsection
@section("content")
<main>
<div class="brand">
<img src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" alt="Syddansk Erhvervsskole">
</div>
<form action="" method="post">
<input type="email" name="email" placeholder="Email" required>
<input type="password" name="password" placeholder="Password" required>
<label class="toggle">
<input class="toggle__input" type="checkbox" name="rememberpassword">
<span class="toggle__label">
<span class="toggle__text text-white">Remember password</span>
</span>
</label>
<input class="btn btn-dark" type="submit" value="Sign in">
<button class="btn" onclick="window.location = '';">Sign up</button>
</form>
<a class="text-white text-center" href="">Forgot password?</a>
</main>
@endsection

View File

@ -0,0 +1,20 @@
@extends("layout.base")
@section("title")
Register
@endsection
@section("content")
<main>
<div class="brand">
<img src="{{ URL::asset('/images/logos/Logo-hvid.svg') }}" alt="Syddansk Erhvervsskole">
</div>
<form action="" method="post" onsubmit="return validateRegisterForm(this)" >
<input type="email" name="email" placeholder="Email">
<input type="password" name="password" placeholder="Password">
<input type="password" name="confirmpassword" placeholder="Confirm password">
<input class="btn btn-dark" type="submit" value="Sign up">
<button class="btn" onclick="window.location='';">Sign in</button>
</form>
</main>
@endsection

View File

@ -0,0 +1,48 @@
@extends("layout.base")
@extends("layout.header")
@section("title")
Menuplan
@endsection
@section("content")
<main>
<img class="mt-3" src="{{ URL::asset('/images/icons/Vagttelefon-normal.svg') }}" alt="Vagttelefon" style="height: 16vw;">
<h1 class="text-center sde-blue mt-0">Vagttelefon</h1>
<p class="mt-0">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.</p>
<label class="toggle">
<input class="toggle__input" type="checkbox" name="accept" id="input">
<span class="toggle__label sde-blue">
<span class="toggle__text sde-blue semi-bold">Accepterer</span>
</span>
</label>
<span class="text-center sde-black-20 mt-2">+45 56 30 45 66</span>
<a class="btn text-center btn-sde-blue btn-disabled" id="call">Tilkald</a>
</main>
@endsection
@section("scripts")
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function(){
// Handler when the DOM is fully loaded
start();
});
function start() {
document.getElementById('input').addEventListener ('click', toggleCall, false);
}
function toggleCall() {
var elm = document.getElementById('input');
if(elm.checked) {
document.getElementById('call').classList.remove("btn-disabled");
document.getElementById('call').href = "tel:+4556304566";
}
else
{
document.getElementById('call').classList.add("btn-disabled");
document.getElementById('call').removeAttribute("href");
}
}
</script>
@endsection