This commit is contained in:
Frederikmillingpytlick 2020-06-15 15:09:13 +02:00
parent eb2ce43928
commit 5ce1e69d65
11 changed files with 75 additions and 88 deletions

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="windows-1252"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="438.529px" height="438.529px" viewBox="0 0 438.529 438.529" style="enable-background:new 0 0 438.529 438.529;" xml:space="preserve">
<style>#Capa_1{fill:#000;}</style>
<g>
<g>
<path d="M417.689,75.654c-1.711-1.709-3.901-2.568-6.563-2.568h-88.224L302.917,25.41c-2.854-7.044-7.994-13.04-15.413-17.989 C280.078,2.473,272.556,0,264.945,0h-91.363c-7.611,0-15.131,2.473-22.554,7.421c-7.424,4.949-12.563,10.944-15.419,17.989 l-19.985,47.676h-88.22c-2.667,0-4.853,0.859-6.567,2.568c-1.709,1.713-2.568,3.903-2.568,6.567v18.274 c0,2.664,0.855,4.854,2.568,6.564c1.714,1.712,3.904,2.568,6.567,2.568h27.406v271.8c0,15.803,4.473,29.266,13.418,40.398 c8.947,11.139,19.701,16.703,32.264,16.703h237.542c12.566,0,23.319-5.756,32.265-17.268c8.945-11.52,13.415-25.174,13.415-40.971 V109.627h27.411c2.662,0,4.853-0.856,6.563-2.568c1.708-1.709,2.57-3.9,2.57-6.564V82.221 C420.26,79.557,419.397,77.367,417.689,75.654z M169.301,39.678c1.331-1.712,2.95-2.762,4.853-3.14h90.504 c1.903,0.381,3.525,1.43,4.854,3.14l13.709,33.404H155.311L169.301,39.678z M347.173,380.291c0,4.186-0.664,8.042-1.999,11.561 c-1.334,3.518-2.717,6.088-4.141,7.706c-1.431,1.622-2.423,2.427-2.998,2.427H100.493c-0.571,0-1.565-0.805-2.996-2.427 c-1.429-1.618-2.81-4.188-4.143-7.706c-1.331-3.519-1.997-7.379-1.997-11.561V109.627h255.815V380.291z"/>
<path d="M137.04,347.172h18.271c2.667,0,4.858-0.855,6.567-2.567c1.709-1.718,2.568-3.901,2.568-6.57V173.581 c0-2.663-0.859-4.853-2.568-6.567c-1.714-1.709-3.899-2.565-6.567-2.565H137.04c-2.667,0-4.854,0.855-6.567,2.565 c-1.711,1.714-2.568,3.904-2.568,6.567v164.454c0,2.669,0.854,4.853,2.568,6.57C132.186,346.316,134.373,347.172,137.04,347.172z"/>
<path d="M210.129,347.172h18.271c2.666,0,4.856-0.855,6.564-2.567c1.718-1.718,2.569-3.901,2.569-6.57V173.581 c0-2.663-0.852-4.853-2.569-6.567c-1.708-1.709-3.898-2.565-6.564-2.565h-18.271c-2.664,0-4.854,0.855-6.567,2.565 c-1.714,1.714-2.568,3.904-2.568,6.567v164.454c0,2.669,0.854,4.853,2.568,6.57C205.274,346.316,207.465,347.172,210.129,347.172z "/>
<path d="M283.22,347.172h18.268c2.669,0,4.859-0.855,6.57-2.567c1.711-1.718,2.562-3.901,2.562-6.57V173.581 c0-2.663-0.852-4.853-2.562-6.567c-1.711-1.709-3.901-2.565-6.57-2.565H283.22c-2.67,0-4.853,0.855-6.571,2.565 c-1.711,1.714-2.566,3.904-2.566,6.567v164.454c0,2.669,0.855,4.853,2.566,6.57C278.367,346.316,280.55,347.172,283.22,347.172z"/>
</g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -9,14 +9,11 @@ require('./bootstrap');
//Dependencies
require('./date');
//Webapp hamburger menu
require('./navmenu/menu');
//Sites
require('./sites/menuplan');
//Initializer
require('./init');
//Webapp hamburger menu
require('./navmenu/menu');
// window.Vue = require('vue');

View File

@ -1,32 +0,0 @@
document.addEventListener("DOMContentLoaded", function(){
// Handler when the DOM is fully loaded
start();
});
function start() {
var path = window.location.pathname;
switch (path) {
//Webapp
default:
break;
case "/menuplan":
menuplan();
break;
case "/vagttelefon":
vagttelefon();
break;
//Admin Panel
case "/admin":
break;
}
}
function menuplan() {
startMenuplan();
}
function vagttelefon() {
startMenu();
}

View File

@ -1,6 +1,12 @@
function startMenu() {
document.addEventListener("DOMContentLoaded", function(){
// Handler when the DOM is fully loaded
var path = window.location.pathname;
if(path === "/menuplan" || path === "/vagttelefon" || path === "/")
{
document.getElementById ('toggle').addEventListener ('click', toggleMenu, false);
}
}
});
function toggleMenu() {
var buttonElement = document.getElementById('menuIcon');

View File

@ -1,7 +1,12 @@
function startMenuplan() {
document.addEventListener("DOMContentLoaded", function(){
// Handler when the DOM is fully loaded
var path = window.location.pathname;
if(path === "/menuplan")
{
updateWeek();
startMenu();
}
}
});
function updateWeek() {
var elm = document.getElementById('week');

View File

@ -18,9 +18,6 @@
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Bruger</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete">Fjern Bruger</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/pencil.svg') }}" alt="Update">Rediger Bruger</a>
</div>
@ -33,9 +30,6 @@
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Menuplan</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete">Fjern Menuplan</a>
</div>
<div class="row">
<a href="" class="text-white"><img src="{{ asset('/images/icons/pencil.svg') }}" alt="Update">Rediger Menuplan</a>
</div>

View File

@ -1,14 +0,0 @@
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Menuplan - Delete
@endsection
@section("path")
<a href="" class="text-white">Fjern Menuplan</a> /
@endsection
@section("content")
Delete
@endsection

View File

@ -21,6 +21,7 @@
<th>Lørdag</th>
<th>Søndag</th>
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
</tr>
<tr>
<td>{ID}</td>
@ -32,6 +33,7 @@
<td>{Lørdag}</td>
<td>{Søndag}</td>
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
</tr>
</table>
@endsection

View File

@ -1,14 +0,0 @@
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
User - Delete
@endsection
@section("path")
<a href="" class="text-white">Fjern Bruger</a> /
@endsection
@section("content")
Delete
@endsection

View File

@ -18,6 +18,7 @@
<th>Email</th>
<th>Tlf nr</th>
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
</tr>
<tr>
<td>{ID}</td>
@ -26,6 +27,7 @@
<td>{Email}</td>
<td>{TLF}</td>
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
</tr>
</table>
@endsection

View File

@ -1,5 +1,5 @@
{{----}}
{{------User
{{------Webapp
{{----}}
{{--Login--}}
@ -8,6 +8,10 @@
{{--Register--}}
{{--@extends("app.user.register")--}}
{{--Vagttelefon--}}
{{--@extends("webapp.vagttelefon.index")--}}
{{----}}
{{------Admin Panel
{{----}}
@ -21,18 +25,11 @@
{{--Update User--}}
{{--@extends("admin.user.update")--}}
{{--Delete User--}}
{{--@extends("admin.user.delete")--}}
{{--Create Menuplan--}}
{{--@extends("admin.menuplan.create")--}}
{{----}}@extends("admin.menuplan.create")
{{--Read Menuplan--}}
{{--@extends("admin.menuplan.read")--}}
{{--Update Menuplan--}}
{{----}}@extends("admin.menuplan.update")
{{--Delete Menuplan--}}
{{--@extends("admin.menuplan.delete")--}}
{{--@extends("admin.menuplan.update")--}}