Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
commit
32da29dd49
|
@ -37,6 +37,15 @@
|
||||||
{{-- <a href="{{ route('bookings.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Booking</a>--}}
|
{{-- <a href="{{ route('bookings.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Booking</a>--}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="segment">
|
||||||
|
<h3 class="text-white">Vaskemaskiner</h3>
|
||||||
|
<div class="row">
|
||||||
|
{{-- <a href="{{ route("washing-machines.index") }}" class="text-white"><img src="{{ asset('/images/icons/eye.svg') }}" alt="Read">Vis Bookings</a>--}}
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
{{-- <a href="{{ route('washing-machines.create') }}" class="text-white"><img src="{{ asset('/images/icons/plus.svg') }}" alt="Create">Opret Booking</a>--}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-85" style="background-color: #cccccc;">
|
<div class="w-85" style="background-color: #cccccc;">
|
||||||
<div class="directorypath text-white">
|
<div class="directorypath text-white">
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Opret Menuplan</a> /
|
<a href="{{ route('menuplans.create') }}" class="text-white">Opret Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
@extends("admin.layout.base")
|
||||||
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
|
@section("title")
|
||||||
|
Menuplan - Fjern
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("path")
|
||||||
|
<a href="{{ route('menuplans.delete') }}" class="text-white">Fjern Menuplan</a> /
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("content")
|
||||||
|
@endsection
|
|
@ -0,0 +1,32 @@
|
||||||
|
@extends("admin.layout.base")
|
||||||
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
|
@section("title")
|
||||||
|
Menuplan - Rediger
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("path")
|
||||||
|
<a href="{{ route('menuplans.edit') }}" class="text-white">Rediger Menuplan</a> /
|
||||||
|
@endsection
|
||||||
|
|
||||||
|
@section("content")
|
||||||
|
<h1>Rediger Menuplan:</h1>
|
||||||
|
<form method="post" action="">
|
||||||
|
<label for="mandag">Mandag:</label>
|
||||||
|
<input type="text" name="mandag" id="mandag" value="{Mandag}" required>
|
||||||
|
<label for="tirsdag">Tirsdag:</label>
|
||||||
|
<input type="text" name="tirsdag" id="tirsdag" value="{Tirsdag}" required>
|
||||||
|
<label for="onsdag">Onsdag:</label>
|
||||||
|
<input type="text" name="onsdag" id="onsdag" value="{Onsdag}" required>
|
||||||
|
<label for="torsdag">Torsdag:</label>
|
||||||
|
<input type="text" name="torsdag" id="torsdag" value="{Torsdag}" required>
|
||||||
|
<label for="fredag">Fredag:</label>
|
||||||
|
<input type="text" name="fredag" id="fredag" value="{Fredag}" required>
|
||||||
|
<label for="lørdag">Lørdag:</label>
|
||||||
|
<input type="text" name="lørdag" id="lørdag" value="{Lørdag}" required>
|
||||||
|
<label for="søndag">Søndag:</label>
|
||||||
|
<input type="text" name="søndag" id="søndag" value="{Søndag}" required>
|
||||||
|
|
||||||
|
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
||||||
|
</form>
|
||||||
|
@endsection
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Menuplan</a> /
|
<a href="{{ route('menuplans.show') }}" class="text-white">Vis Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
|
@ -6,27 +6,9 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Rediger Menuplan</a> /
|
<a href="{{ route('menuplans.edit') }}" class="text-white">Rediger Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<h1>Rediger Menuplan:</h1>
|
Din menuplan blev (ikke) redigeret.
|
||||||
<form method="post" action="">
|
|
||||||
<label for="mandag">Mandag:</label>
|
|
||||||
<input type="text" name="mandag" id="mandag" value="{Mandag}" required>
|
|
||||||
<label for="tirsdag">Tirsdag:</label>
|
|
||||||
<input type="text" name="tirsdag" id="tirsdag" value="{Tirsdag}" required>
|
|
||||||
<label for="onsdag">Onsdag:</label>
|
|
||||||
<input type="text" name="onsdag" id="onsdag" value="{Onsdag}" required>
|
|
||||||
<label for="torsdag">Torsdag:</label>
|
|
||||||
<input type="text" name="torsdag" id="torsdag" value="{Torsdag}" required>
|
|
||||||
<label for="fredag">Fredag:</label>
|
|
||||||
<input type="text" name="fredag" id="fredag" value="{Fredag}" required>
|
|
||||||
<label for="lørdag">Lørdag:</label>
|
|
||||||
<input type="text" name="lørdag" id="lørdag" value="{Lørdag}" required>
|
|
||||||
<label for="søndag">Søndag:</label>
|
|
||||||
<input type="text" name="søndag" id="søndag" value="{Søndag}" required>
|
|
||||||
|
|
||||||
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
|
||||||
</form>
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Fjern Bruger</a> /
|
<a href="{{ route('users.delete') }}" class="text-white">Fjern Bruger</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Logud</a> /
|
<a href="{{ route('users.logout') }}" class="text-white">Logud</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
@extends("admin.layout.header")
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
@section("title")
|
@section("title")
|
||||||
Vaskemaskiner - Vis
|
Vaskemaskiner - Opret
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Opret Vaskemaskine</a> /
|
<a href="{{ route('washing-machines.create') }}" class="text-white">Opret Vaskemaskine</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<h1>Opret Bruger:</h1>
|
<h1>Opret Vaskemaskine:</h1>
|
||||||
<form method="post" action="{{ route("washing-machines.store") }}">
|
<form method="post" action="{{ route("washing-machines.store") }}">
|
||||||
@csrf
|
@csrf
|
||||||
<label for="name_first">Navn:</label>
|
<label for="name_first">Vaskemaskine Navn:</label>
|
||||||
<input type="text" name="name" id="name" max="60" required>
|
<input type="text" name="name" id="name" max="60" required>
|
||||||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -2,32 +2,12 @@
|
||||||
@extends("admin.layout.header")
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
@section("title")
|
@section("title")
|
||||||
Vaskemaskiner - Vis
|
Vaskemaskiner - Fjern
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Vaskemaskiner</a> /
|
<a href="{{ route('washing-machines.delete') }}" class="text-white">Fjern Vaskemaskine</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
|
||||||
<tr>
|
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
|
||||||
<th>Efternavn</th>
|
|
||||||
<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>
|
|
||||||
<td>{Fornavn}</td>
|
|
||||||
<td>{Efternavn}</td>
|
|
||||||
<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
|
@endsection
|
||||||
|
|
|
@ -2,32 +2,18 @@
|
||||||
@extends("admin.layout.header")
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
@section("title")
|
@section("title")
|
||||||
Vaskemaskiner - Vis
|
Vaskemaskine - Rediger
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Vaskemaskiner</a> /
|
<a href="{{ route('washing-machines.edit', ['id' => $user->id]) }}" class="text-white">Rediger Vaskemaskiner</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<form method="post" action="{{ route("washing-machines.store") }}">
|
||||||
<tr>
|
@csrf
|
||||||
<th>ID</th>
|
<label for="name_first">Vaskemaskine Navn:</label>
|
||||||
<th>Fornavn</th>
|
<input type="text" name="name" id="name" max="60" required>
|
||||||
<th>Efternavn</th>
|
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||||
<th>Email</th>
|
</form>
|
||||||
<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>
|
|
||||||
<td>{Fornavn}</td>
|
|
||||||
<td>{Efternavn}</td>
|
|
||||||
<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
|
@endsection
|
||||||
|
|
|
@ -6,26 +6,20 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Vaskemaskiner</a> /
|
<a href="{{ route('washing-machines.index') }}" class="text-white">Vis Vaskemaskiner</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
<th>ID</th>
|
||||||
<th>Fornavn</th>
|
<th>Navn</th>
|
||||||
<th>Efternavn</th>
|
|
||||||
<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/pencil.svg') }}" alt="Update"></th>
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
<td>{ID}</td>
|
||||||
<td>{Fornavn}</td>
|
<td>{Navn}</td>
|
||||||
<td>{Efternavn}</td>
|
|
||||||
<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/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>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -6,26 +6,20 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Vaskemaskiner</a> /
|
<a href="{{ route('washing-machines.index') }}" class="text-white">Vis Vaskemaskiner</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
<table class="tbl">
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
<th>ID</th>
|
||||||
<th>Fornavn</th>
|
<th>Navn</th>
|
||||||
<th>Efternavn</th>
|
|
||||||
<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/pencil.svg') }}" alt="Update"></th>
|
||||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{ID}</td>
|
<td>{ID}</td>
|
||||||
<td>{Fornavn}</td>
|
<td>{Navn}</td>
|
||||||
<td>{Efternavn}</td>
|
|
||||||
<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/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>
|
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -2,32 +2,13 @@
|
||||||
@extends("admin.layout.header")
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
@section("title")
|
@section("title")
|
||||||
Vaskemaskiner - Vis
|
Vaskemaskiner - Opret
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Vaskemaskiner</a> /
|
<a href="{{ route('washing-machines.create') }}" class="text-white">Opret Vaskemaskine</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
Vaskemaskinen blev (ikke) oprettet.
|
||||||
<tr>
|
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
|
||||||
<th>Efternavn</th>
|
|
||||||
<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>
|
|
||||||
<td>{Fornavn}</td>
|
|
||||||
<td>{Efternavn}</td>
|
|
||||||
<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
|
@endsection
|
||||||
|
|
|
@ -2,32 +2,13 @@
|
||||||
@extends("admin.layout.header")
|
@extends("admin.layout.header")
|
||||||
|
|
||||||
@section("title")
|
@section("title")
|
||||||
Vaskemaskiner - Vis
|
Vaskemaskiner - Rediger
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="" class="text-white">Vis Vaskemaskiner</a> /
|
<a href="{{ route('washing-machines.create') }}" class="text-white">Rediger Vaskemaskine</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
<table class="tbl">
|
Din vaskemaskine blev (ikke) redigeret.
|
||||||
<tr>
|
|
||||||
<th>ID</th>
|
|
||||||
<th>Fornavn</th>
|
|
||||||
<th>Efternavn</th>
|
|
||||||
<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>
|
|
||||||
<td>{Fornavn}</td>
|
|
||||||
<td>{Efternavn}</td>
|
|
||||||
<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
|
@endsection
|
||||||
|
|
|
@ -45,3 +45,9 @@
|
||||||
|
|
||||||
{{--Read booking--}}
|
{{--Read booking--}}
|
||||||
{{--@extends("admin.bookings.show")--}}
|
{{--@extends("admin.bookings.show")--}}
|
||||||
|
|
||||||
|
{{--Create washing-machine--}}
|
||||||
|
{{--@extends("admin.washing-machines.create")--}}
|
||||||
|
|
||||||
|
{{--Read washing-machine--}}
|
||||||
|
{{--@extends("admin.washing-machines.show")--}}
|
||||||
|
|
Loading…
Reference in New Issue