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:
@@ -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>
|
||||
Reference in New Issue
Block a user