2020-06-24 07:25:59 +00:00
|
|
|
@extends("app.layout.base")
|
2020-06-11 12:52:15 +00:00
|
|
|
@section("title")
|
2020-06-25 07:04:23 +00:00
|
|
|
Vagttelefon
|
2020-06-11 12:52:15 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
2020-08-11 16:21:51 +00:00
|
|
|
<main style="justify-content: unset">
|
2020-06-11 12:52:15 +00:00
|
|
|
<img class="mt-3" src="{{ URL::asset('/images/icons/Vagttelefon-normal.svg') }}" alt="Vagttelefon" style="height: 16vw;">
|
2020-08-06 18:33:46 +00:00
|
|
|
<h1 class="text-center sde-blue mt-0">{{__('msg.vagttelefon')}}</h1>
|
2020-08-18 10:25:32 +00:00
|
|
|
<p class="mt-0 mb-0">Den kan bruges i dagtimerne til almindelig kontakt om ting vedrørende kollegiet.</p>
|
|
|
|
<p class="mt-0">(Det er også det nummer div. kontaktpersoner og vejledere ringer på)</p>
|
|
|
|
<p class="mt-0 mb-0">Ellers kan Vagttelefonen kontaktes, af eleverne, ”efter lukketid” dvs. 22.30 til 07.00.</p>
|
|
|
|
<p class="mt-0">I det tidsrum har nattevagten den på sig.</p>
|
2020-06-11 12:52:15 +00:00
|
|
|
<label class="toggle">
|
2020-08-03 13:02:26 +00:00
|
|
|
<input class="toggle__input" type="checkbox" name="accept" id="input" onclick="check()">
|
2020-06-11 12:52:15 +00:00
|
|
|
<span class="toggle__label sde-blue">
|
2020-08-07 08:51:10 +00:00
|
|
|
<span class="toggle__text sde-blue semi-bold">{{__('msg.accepter')}}</span>
|
2020-06-11 12:52:15 +00:00
|
|
|
</span>
|
|
|
|
</label>
|
2020-08-11 16:21:51 +00:00
|
|
|
<span class="text-center sde-black-20 mt-2" style="margin-top: auto;">+45 24 62 94 50</span>
|
|
|
|
<a class="btn text-center btn-sde-blue btn-disabled" style="margin-bottom: 8px;" id="call">{{__('msg.ring')}}</a>
|
2020-06-11 12:52:15 +00:00
|
|
|
</main>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("scripts")
|
2020-08-03 13:02:26 +00:00
|
|
|
<script>
|
|
|
|
function check() {
|
|
|
|
var checkBox = document.getElementById("input");
|
|
|
|
var btn = document.getElementById("call");
|
|
|
|
if (checkBox.checked == true){
|
2020-08-18 10:25:32 +00:00
|
|
|
btn.href = "tel:+4524629450";
|
2020-08-03 13:02:26 +00:00
|
|
|
btn.classList.remove("btn-disabled");
|
|
|
|
} else {
|
2020-08-18 10:25:32 +00:00
|
|
|
btn.href = "";
|
2020-08-03 13:02:26 +00:00
|
|
|
btn.classList.add("btn-disabled");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2020-06-11 12:52:15 +00:00
|
|
|
@endsection
|