Added a very basic layout structure.

This commit is contained in:
Lukas Halbritter
2018-09-24 14:08:08 +02:00
parent ecd815e182
commit c82cc4ed2d
5 changed files with 43 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
<h2>Footer</h2>
+1
View File
@@ -0,0 +1 @@
<h1>Header</h1>
+27
View File
@@ -0,0 +1,27 @@
<html>
<head>
<title>Pollux - @yield('title')</title>
</head>
<body>
<div id='header'>
@include('layout.header')
</div>
<table>
<tr>
<td>
<div id='nav'>
@include('layout.nav')
</div>
</td>
<td>
<div id='content'>
@yield('content')
</div>
</td>
</tr>
</table>
<div id='footer'>
@include('layout.footer')
</div>
</body>
</html>
+8
View File
@@ -0,0 +1,8 @@
<ul>
<li><a href='/people'>Personen</a><br /></li>
<li><a href='/people'>Kassenbuch</a><br /></li>
<li><a href='/people'>F / V</a><br /></li>
<li><a href='/people'>Personen</a><br /></li>
<li><a href='/people'>Personen</a><br /></li>
<li><a href='/people'>Personen</a><br /></li>
</ul>
+6 -1
View File
@@ -1,3 +1,8 @@
@extends('layout.master')
@section('title', 'Personen')
@section('content')
<table border='1'> <table border='1'>
<tr> <tr>
<th>ID</th> <th>ID</th>
@@ -30,4 +35,4 @@
</tr> </tr>
@endforeach @endforeach
</table> </table>
@endsection