From 11f819cfbc66e2edd88a493cef0e5ae707dcccf2 Mon Sep 17 00:00:00 2001 From: FlavioBarachino Date: Mon, 16 Oct 2023 18:00:49 +0200 Subject: [PATCH] Attivato menu consumi Gas --- config/adminlte.php | 14 +++ resources/views/components/chartGas.blade.php | 3 +- resources/views/layouts/dashboard.blade.php | 89 ++++++++++--------- resources/views/letture/gas/list.blade.php | 16 ++-- resources/views/meetings/meeting.blade.php | 34 +++++++ resources/views/progetti/dettaglio.blade.php | 41 +++++++++ routes/admin.php | 4 + 7 files changed, 150 insertions(+), 51 deletions(-) create mode 100644 resources/views/meetings/meeting.blade.php diff --git a/config/adminlte.php b/config/adminlte.php index 94fabe8..eb270fc 100644 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -421,6 +421,13 @@ return [ 'route' => 'calendario', 'icon' => 'fas fa-fw fa-calendar', ], + ['header' => 'CONSUMI'], + [ + 'text' => 'GAS', + 'route' => 'gas', + 'icon' => 'fas fa-fw fa-fire', + 'can' => ['consumi'] + ], ['header' => 'AMMINISTRAZIONE'], [ 'text' => 'Utenti', @@ -428,6 +435,13 @@ return [ 'icon' => 'fas fa-fw fa-user', 'can' => ['amministrazione'] ], + ['header' => 'UTILI'], + [ + 'text' => 'Meeting Room', + 'route' => 'meeting', + 'icon' => 'fas fa-fw fa-file-video', + // 'can' => ['amministrazione'] + ], ], diff --git a/resources/views/components/chartGas.blade.php b/resources/views/components/chartGas.blade.php index 13ccf2f..060ba0c 100644 --- a/resources/views/components/chartGas.blade.php +++ b/resources/views/components/chartGas.blade.php @@ -1,5 +1,6 @@ @extends('letture.gas.list') -@section('head_additional') +@section('js') +@parent + @endsection diff --git a/resources/views/letture/gas/list.blade.php b/resources/views/letture/gas/list.blade.php index c85b9b5..d19c5e1 100644 --- a/resources/views/letture/gas/list.blade.php +++ b/resources/views/letture/gas/list.blade.php @@ -1,10 +1,12 @@ -@extends('admin') -@section('content') +@extends('adminlte::page') + +@section('content_header')
-
-

Letture Gas

-
-
+

Letture Gas

+@endsection + +@section('content') +
@@ -98,6 +100,6 @@
@endsection -@section('script') +@section('js') @endsection diff --git a/resources/views/meetings/meeting.blade.php b/resources/views/meetings/meeting.blade.php new file mode 100644 index 0000000..d2fbe16 --- /dev/null +++ b/resources/views/meetings/meeting.blade.php @@ -0,0 +1,34 @@ +@extends('adminlte::page') + +@section('content_header') +

Meeting Room

+@endsection + +@section('css') + +@endsection + +@section('js') + + + @endsection + + @section('content') +
+
+
+
+
+
+
+ @endsection \ No newline at end of file diff --git a/resources/views/progetti/dettaglio.blade.php b/resources/views/progetti/dettaglio.blade.php index 0ae8e02..4b21ab5 100644 --- a/resources/views/progetti/dettaglio.blade.php +++ b/resources/views/progetti/dettaglio.blade.php @@ -249,6 +249,47 @@
+ + + + @endsection @section('js') diff --git a/routes/admin.php b/routes/admin.php index d78fbc2..a0de919 100644 --- a/routes/admin.php +++ b/routes/admin.php @@ -187,3 +187,7 @@ Route::group(['middleware'=>['permission:avvisi']], function(){ $name='Flavio'; Mail::to('flavio.barachino@lavorain.cloud')->send(new myTestEmail($name)); }); + + Route::get('meeting', function() { + return view('meetings.meeting'); + })->name('meeting');