diff --git a/config/adminlte.php b/config/adminlte.php index da62974..69f9db1 100644 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -319,7 +319,7 @@ return [ 'submenu' => [ [ 'text' => 'Lista movimenti', - 'url' => '#', + 'route' => 'movimenti', ], [ 'text' => 'Categorie', @@ -437,7 +437,7 @@ return [ 'plugins' => [ 'Datatables' => [ - 'active' => false, + 'active' => true, 'files' => [ [ 'type' => 'js', @@ -449,11 +449,21 @@ return [ 'asset' => false, 'location' => '//cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js', ], + [ + 'type' => 'js', + 'asset' => false, + 'location' => '//cdn.datatables.net/v/dt/dt-1.13.4/date-1.4.1/r-2.4.1/sb-1.4.2/sp-2.1.2/datatables.min.js', + ], [ 'type' => 'css', 'asset' => false, 'location' => '//cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css', ], + [ + 'type' => 'css', + 'asset' => false, + 'location' => '//cdn.datatables.net/v/dt/dt-1.13.4/date-1.4.1/r-2.4.1/sb-1.4.2/sp-2.1.2/datatables.min.css', + ], ], ], 'Select2' => [ diff --git a/resources/views/conti/movimenti/list.blade.php b/resources/views/conti/movimenti/list.blade.php index 4e47739..299ccbe 100644 --- a/resources/views/conti/movimenti/list.blade.php +++ b/resources/views/conti/movimenti/list.blade.php @@ -1,10 +1,15 @@ -@extends('admin') +@extends('adminlte::page') + +@section('content_header') +

Lista dei Movimenti

+@endsection + @section('content') -
+
@@ -31,7 +36,7 @@ @foreach( $movimenti as $movimento ) - + {{ $movimento->mov_data}} {{ $movimento->cat_name; }} {{ $movimento->mov_descrizione; }} @@ -129,7 +134,8 @@
@endsection -@section('script') +@section('js') + @endsection diff --git a/resources/views/layouts/dashboard.blade.php b/resources/views/layouts/dashboard.blade.php index 6ae56dc..70d3ef4 100644 --- a/resources/views/layouts/dashboard.blade.php +++ b/resources/views/layouts/dashboard.blade.php @@ -6,37 +6,9 @@ @section('content') - -
@hasanyrole('user|admin') - +
@@ -50,29 +22,7 @@
- +
@@ -87,29 +37,6 @@
-
@@ -123,30 +50,7 @@
- +
@@ -189,72 +93,9 @@
@endforeach
-
-