Added a very basic layout structure.
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
<h2>Footer</h2>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<h1>Header</h1>
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user