v0.6.2 - Fixed various bugs
This commit is contained in:
parent
e5cf13c4c2
commit
81af08ef24
|
@ -10,7 +10,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<span>Ris el. Ros?</span>
|
<span>Ris el. Ros?</span>
|
||||||
<select name="suggestion_form" class="mb-2" required>
|
<select name="suggestion_form" class="mb-2" required>
|
||||||
<option>Ros</option>
|
<option selected>Ros</option>
|
||||||
<option>Ris</option>
|
<option>Ris</option>
|
||||||
</select>
|
</select>
|
||||||
<textarea name="message" placeholder="Skriv Ris/Ros besked her" style="resize: vertical;" required></textarea>
|
<textarea name="message" placeholder="Skriv Ris/Ros besked her" style="resize: vertical;" required></textarea>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
<p style="margin: 0 18px;">{{__('msg.dereringenvejledninger')}}.</p>
|
<p style="margin: 0 18px; margin-bottom: auto; text-align: center">{{__('msg.dereringenvejledninger')}}.</p>
|
||||||
@endif
|
@endif
|
||||||
<button onclick="window.history.back()" style="margin-top: auto;" class="btn btn-sde-blue text-white mb-1 mt-1" >{{__('msg.tilbage')}}</button>
|
<button onclick="window.history.back()" style="margin-top: auto;" class="btn btn-sde-blue text-white mb-1 mt-1" >{{__('msg.tilbage')}}</button>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<link type="text/css" rel="stylesheet" href="{{ mix("/css/webapp.css") }}">
|
<link type="text/css" rel="stylesheet" href="{{ mix("/css/webapp.css") }}">
|
||||||
@endif
|
@endif
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body onresize="setMain()" onload="setMain()">
|
||||||
<header class="row align-items-center" id="header">
|
<header class="row align-items-center" id="header">
|
||||||
@if(request()->cookie("mode") == "dark")
|
@if(request()->cookie("mode") == "dark")
|
||||||
<img class="w-50" id="sdeLogo" src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" onclick="location.href = '{{ route("root.index") }}';" alt="Syddansk Erhvervsskole">
|
<img class="w-50" id="sdeLogo" src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" onclick="location.href = '{{ route("root.index") }}';" alt="Syddansk Erhvervsskole">
|
||||||
|
@ -107,5 +107,14 @@
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@endif
|
@endif
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
|
||||||
|
function setMain() {
|
||||||
|
var main = document.getElementsByTagName("main")[0];
|
||||||
|
var header = document.getElementsByTagName("header")[0];
|
||||||
|
main.style.minHeight = 'calc(100% - ' + header.clientHeight + 'px)';
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue