FEATURE: add menu for static pages.

This commit adds menu items into admin. No real functionality is done, however registering menu items works, routing works, translations works.
This commit is contained in:
Michal Kváček
2016-01-24 22:58:13 +01:00
parent 1b25f23169
commit 84d5daed30
11 changed files with 96 additions and 30 deletions
@@ -0,0 +1,5 @@
<?php
return [
'overview' => 'List of all static pages',
'new' => 'Create new static page'
];
@@ -0,0 +1,6 @@
<?php
return [
'staticPages' => 'Static pages',
'new' => 'Create new',
'overview' => 'Overview'
];
@@ -0,0 +1,7 @@
@extends('admin/layout')
@section('content')
<div class="row">
<h1>@lang('staticpages::admin.overview')</h1>
</div>
@stop
@@ -1,12 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Module StaticPages</title>
</head>
<body>
@yield('content')
</body>
</html>