Added Menuplan sites

This commit is contained in:
Frederikmillingpytlick 2020-06-15 12:29:03 +02:00
parent 563f5ac694
commit 390969cf96
6 changed files with 134 additions and 6 deletions

View File

@ -0,0 +1,32 @@
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Menuplan - Opret
@endsection
@section("path")
<a href="" class="text-white">Opret Menuplan</a> /
@endsection
@section("content")
<h1>Opret Menuplan:</h1>
<form method="post" action="">
<label for="mandag">Mandag:</label>
<input type="text" name="mandag" id="mandag" required>
<label for="tirsdag">Tirsdag:</label>
<input type="text" name="tirsdag" id="tirsdag" required>
<label for="onsdag">Onsdag:</label>
<input type="text" name="onsdag" id="onsdag" required>
<label for="torsdag">Torsdag:</label>
<input type="text" name="torsdag" id="torsdag" required>
<label for="fredag">Fredag:</label>
<input type="text" name="fredag" id="fredag" required>
<label for="lørdag">Lørdag:</label>
<input type="text" name="lørdag" id="lørdag" required>
<label for="søndag">Søndag:</label>
<input type="text" name="søndag" id="søndag" required>
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
</form>
@endsection

View File

@ -0,0 +1,14 @@
@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

@ -0,0 +1,37 @@
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
User - Read
@endsection
@section("path")
<a href="" class="text-white">Vis Brugere</a> /
@endsection
@section("content")
<table class="tbl">
<tr>
<th>ID</th>
<th>Fredag</th>
<th>Tirsdag</th>
<th>Onsdag</th>
<th>Torsdag</th>
<th>Fredag</th>
<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>
</tr>
<tr>
<td>{ID}</td>
<td>{Fredag}</td>
<td>{Tirsdag}</td>
<td>{Onsdag}</td>
<td>{Torsdag}</td>
<td>{Fredag}</td>
<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>
</tr>
</table>
@endsection

View File

@ -0,0 +1,32 @@
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Bruger - Rediger
@endsection
@section("path")
<a href="" class="text-white">Rediger Bruger</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

View File

@ -13,17 +13,17 @@
<h1>Rediger Bruger:</h1> <h1>Rediger Bruger:</h1>
<form method="post" action=""> <form method="post" action="">
<label for="name_first">Fornavn:</label> <label for="name_first">Fornavn:</label>
<input type="text" name="name_first" id="name_first" required> <input type="text" name="name_first" id="name_first" value="{Fornavn}" required>
<label for="name_last">Efternavn:</label> <label for="name_last">Efternavn:</label>
<input type="text" name="name_last" id="name_last" required> <input type="text" name="name_last" id="name_last" value="{Efternavn}" required>
<label for="email">Email:</label> <label for="email">Email:</label>
<input type="email" name="email" id="email" required> <input type="email" name="email" id="email" value="{Email}" required>
<label for="password1">Password:</label> <label for="password1">Password:</label>
<input type="password" name="password" id="password1" required> <input type="password" name="password" id="password1" value="{Password}" required>
<label for="password2">Confirm Password:</label> <label for="password2">Confirm Password:</label>
<input type="password" id="password2" required> <input type="password" id="password2" value="{Password}" required>
<label for="tel">Telefon nr:</label> <label for="tel">Telefon nr:</label>
<input type="tel" name="phone" id="tel" required> <input type="tel" name="phone" id="tel" value="{Telefon}" required>
<input type="submit" class="btn btn-dark text-white" value="Rediger"> <input type="submit" class="btn btn-dark text-white" value="Rediger">
</form> </form>
@endsection @endsection

View File

@ -23,3 +23,16 @@
{{--Delete User--}} {{--Delete User--}}
{{--@extends("admin.user.delete")--}} {{--@extends("admin.user.delete")--}}
{{--Create Menuplan--}}
{{--@extends("admin.menuplan.create")--}}
{{--Read Menuplan--}}
{{--@extends("admin.menuplan.read")--}}
{{--Update Menuplan--}}
{{----}}@extends("admin.menuplan.update")
{{--Delete Menuplan--}}
{{--@extends("admin.menuplan.delete")--}}