Updated aside page
This commit is contained in:
parent
771a60ef8b
commit
ad20678d7a
3
resources/views/dashboard/aside.blade.php
Normal file
3
resources/views/dashboard/aside.blade.php
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<aside>
|
||||||
|
@include('dashboard.categories.list')
|
||||||
|
</aside>
|
@ -1,5 +1,7 @@
|
|||||||
<div class="categories">
|
<div class="categories">
|
||||||
<header><h1>Kategorie</h1></header>
|
<header>
|
||||||
|
<h2>Kategorie</h2>
|
||||||
|
</header>
|
||||||
<a href="{{ route('admin.category.create') }}">
|
<a href="{{ route('admin.category.create') }}">
|
||||||
<button>Utwórz nową kategorię</button>
|
<button>Utwórz nową kategorię</button>
|
||||||
</a>
|
</a>
|
||||||
|
@ -15,9 +15,12 @@
|
|||||||
@endpush
|
@endpush
|
||||||
|
|
||||||
@section('main')
|
@section('main')
|
||||||
|
<header>
|
||||||
|
<h1>Dashboard</h1>
|
||||||
|
</header>
|
||||||
@if(\Session::has('message'))
|
@if(\Session::has('message'))
|
||||||
<span>{{ \Session::get('message') }}</span>
|
<span>{{ \Session::get('message') }}</span>
|
||||||
@endif
|
@endif
|
||||||
@include('dashboard.projects.list')
|
@include('dashboard.projects.list')
|
||||||
@include('dashboard.categories.list')
|
@include('dashboard.aside')
|
||||||
@endsection
|
@endsection
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<div class="projects">
|
<div class="projects">
|
||||||
<header><h1>Projekty</h1></header>
|
<header>
|
||||||
|
<h2>Projekty</h2>
|
||||||
|
</header>
|
||||||
<a href="{{ route('admin.project.create') }}">
|
<a href="{{ route('admin.project.create') }}">
|
||||||
<button>Utwórz nowy projekt</button>
|
<button>Utwórz nowy projekt</button>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user