Added text in external-links. Added admin->menuplans->index Added foreach in admin->washing-machines->index, fixed title in app->vagttelefons->index
This commit is contained in:
parent
bf57ec9d99
commit
c627e4e1af
|
@ -0,0 +1,22 @@
|
|||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Link - Opret
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('external-links.create') }}" class="text-white">Opret Link</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<h1>Opret Link:</h1>
|
||||
<form method="post" action="{{ route("external-links.store") }}">
|
||||
@csrf
|
||||
<label for="title">Titel:</label>
|
||||
<input type="text" name="title" id="title" required>
|
||||
<label for="link">Linket:</label>
|
||||
<input type="text" name="link" id="link" required>
|
||||
<input type="submit" class="btn btn-dark text-white" value="Opret">
|
||||
</form>
|
||||
@endsection
|
|
@ -0,0 +1,13 @@
|
|||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Link - Fjern
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('external-links.delete') }}" class="text-white">Fjern Link</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
@endsection
|
|
@ -0,0 +1,22 @@
|
|||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Link - Rediger
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('external-links.edit') }}" class="text-white">Rediger Link</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<h1>Rediger Link:</h1>
|
||||
<form method="post" action="">
|
||||
@csrf
|
||||
<label for="title">Titel:</label>
|
||||
<input type="text" name="title" id="title" required>
|
||||
<label for="link">Linket:</label>
|
||||
<input type="text" name="link" id="link" required>
|
||||
<input type="submit" class="btn btn-dark text-white" value="Rediger">
|
||||
</form>
|
||||
@endsection
|
|
@ -0,0 +1,33 @@
|
|||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Link - Vis
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('external-links.index') }}" class="text-white">Vis Link</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<table class="tbl">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Title</th>
|
||||
<th>Link</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>
|
||||
@foreach($links as $link)
|
||||
<tr>
|
||||
<th>{ID}</th>
|
||||
<th>{Titel}</th>
|
||||
<th>{Link}</th>
|
||||
<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>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
{{ $links->links() }}
|
||||
@endsection
|
|
@ -0,0 +1,43 @@
|
|||
@extends("admin.layout.base")
|
||||
@extends("admin.layout.header")
|
||||
|
||||
@section("title")
|
||||
Menuplan - Vis
|
||||
@endsection
|
||||
|
||||
@section("path")
|
||||
<a href="{{ route('menuplans.index') }}" class="text-white">Vis Menuplan</a> /
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
<table class="tbl">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Mandag</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>
|
||||
<th style="width: 1px;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||
</tr>
|
||||
@foreach($menuplans as $menuplan)
|
||||
<tr>
|
||||
<th>{ID}</th>
|
||||
<th>{Mandag}</th>
|
||||
<th>{Tirsdag}</th>
|
||||
<th>{Onsdag}</th>
|
||||
<th>{Torsdag}</th>
|
||||
<th>{Fredag}</th>
|
||||
<th>{Lørdag}</th>
|
||||
<th>{Søndag}</th>
|
||||
<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>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
{{ $menuplans->links() }}
|
||||
@endsection
|
|
@ -17,11 +17,15 @@
|
|||
<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>
|
||||
@foreach($machines as $machine)
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{Navn}</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>
|
||||
@endforeach
|
||||
</table>
|
||||
|
||||
{{ $machines->links() }}
|
||||
@endsection
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
{{--Booking Liste--}}
|
||||
{{--@extends("app.bookings.index")--}}
|
||||
|
||||
{{--Menuplan--}}
|
||||
{{--@extends("app.menuplans.index")--}}
|
||||
|
||||
{{----}}
|
||||
{{------Admin Panel
|
||||
{{----}}
|
||||
|
@ -35,7 +38,7 @@
|
|||
{{--@extends("admin.menuplans.create")--}}
|
||||
|
||||
{{--Read Menuplan--}}
|
||||
{{----}}@extends("admin.menuplans.show")
|
||||
{{--@extends("admin.menuplans.show")--}}
|
||||
|
||||
{{--Update Menuplan--}}
|
||||
{{--@extends("admin.menuplans.update")--}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@extends("app.layout.base")
|
||||
@extends("app.layout.header")
|
||||
@section("title")
|
||||
Menuplan
|
||||
Vagttelefon
|
||||
@endsection
|
||||
|
||||
@section("content")
|
||||
|
|
Loading…
Reference in New Issue