Attivato menu consumi Gas

This commit is contained in:
Amministratore 2023-10-16 18:00:49 +02:00
parent b8b39f45e6
commit 11f819cfbc
7 changed files with 150 additions and 51 deletions

View File

@ -421,6 +421,13 @@ return [
'route' => 'calendario', 'route' => 'calendario',
'icon' => 'fas fa-fw fa-calendar', 'icon' => 'fas fa-fw fa-calendar',
], ],
['header' => 'CONSUMI'],
[
'text' => 'GAS',
'route' => 'gas',
'icon' => 'fas fa-fw fa-fire',
'can' => ['consumi']
],
['header' => 'AMMINISTRAZIONE'], ['header' => 'AMMINISTRAZIONE'],
[ [
'text' => 'Utenti', 'text' => 'Utenti',
@ -428,6 +435,13 @@ return [
'icon' => 'fas fa-fw fa-user', 'icon' => 'fas fa-fw fa-user',
'can' => ['amministrazione'] 'can' => ['amministrazione']
], ],
['header' => 'UTILI'],
[
'text' => 'Meeting Room',
'route' => 'meeting',
'icon' => 'fas fa-fw fa-file-video',
// 'can' => ['amministrazione']
],
], ],

View File

@ -1,5 +1,6 @@
@extends('letture.gas.list') @extends('letture.gas.list')
@section('head_additional') @section('js')
@parent
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript"> <script type="text/javascript">
google.charts.load('current', {'packages':['corechart']}); google.charts.load('current', {'packages':['corechart']});

View File

@ -6,6 +6,7 @@
@section('css') @section('css')
<link rel="stylesheet" href="/css/calendaricon.css"> <link rel="stylesheet" href="/css/calendaricon.css">
@endsection @endsection
@section('content') @section('content')
@ -69,16 +70,12 @@
</div> </div>
</div> </div>
@endhasanyrole @endhasanyrole
</div> </div>
@can('tasks') @can('tasks')
<!-- Se ha i permessi task --> <!-- Se ha i permessi task -->
<div class="row"> <div class="row">
<div class="col-lg-6 col-md-8 draggable"> <div class="col-lg-6 col-md-8 draggable">
@foreach($mieitask as $task) @foreach($mieitask as $task)
<div class ="row"> <div class ="row">
<div class="card-comment"> <div class="card-comment">
@ -110,9 +107,7 @@
</div> </div>
</div> </div>
@endforeach @endforeach
</div> </div>
<div class="col-lg-6 col-md-8 draggable "> <div class="col-lg-6 col-md-8 draggable ">
<div class="card-footer card-comment draggable"> <div class="card-footer card-comment draggable">
@foreach($avvisi as $avviso) @foreach($avvisi as $avviso)
@ -153,7 +148,7 @@
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="col-lg-3 col-md-8 draggable"> <div class="col-lg-3 col-md-8 draggable">
<div class="panel panel-yellow"> <div class="panel panel-yellow">
@ -171,9 +166,17 @@
</div> </div>
</div> </div>
@endcan @endcan
<div class="row">
<div class="col">
</div>
<div class="col">
</div>
</div>
@endsection @endsection
@section('script') @section('js')
<script src="js/app/dashboard.js"></script> <script src="js/app/dashboard.js"></script>
@endsection @endsection

View File

@ -1,10 +1,12 @@
@extends('admin') @extends('adminlte::page')
@section('content')
@section('content_header')
<div class="row"> <div class="row">
<div class="col-lg-12"> <h1>Letture Gas</h1>
<h1 class="page-header">Letture Gas</h1> @endsection
</div>
</div> @section('content')
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="panel panel-default"> <div class="panel panel-default">
@ -98,6 +100,6 @@
</div> </div>
@endsection @endsection
@section('script') @section('js')
<script src="/js/app/gas.js"></script> <script src="/js/app/gas.js"></script>
@endsection @endsection

View File

@ -0,0 +1,34 @@
@extends('adminlte::page')
@section('content_header')
<h1> Meeting Room </h1>
@endsection
@section('css')
<style>#jaas-container { height: 800px; }</style>
@endsection
@section('js')
<script src='https://8x8.vc/vpaas-magic-cookie-5a351a6a1e444dca929fd60cd2573a19/external_api.js' async></script>
<script type="text/javascript">
window.onload = () => {
const api = new JitsiMeetExternalAPI("8x8.vc", {
roomName: "vpaas-magic-cookie-5a351a6a1e444dca929fd60cd2573a19/SampleAppSecureRealitiesMissOpposite",
parentNode: document.querySelector('#jaas-container'),
// Make sure to include a JWT if you intend to record,
// make outbound calls or use any other premium features!
// jwt: "eyJraWQiOiJ2cGFhcy1tYWdpYy1jb29raWUtNW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div class="container">
<div class="row p-2">
<div class="col">
<div id="jaas-container"/>
</div>
</div>
</div>
@endsection

View File

@ -249,6 +249,47 @@
</div> </div>
<!-- /MODAL RIGA --> <!-- /MODAL RIGA -->
<!-- MODAL DOCUMENTO -->
<div class="modal fade" id="myModal_addDoc" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<form method="POST" action="/admin/progetti/somwere/over/the_rainbow">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Aggiungi documento</h4>
</div>
<div class="modal-body">
<div class="row">
@csrf
<div class="col-xs-6">
<!-- Form per task con jquery e aggiunta righe automatica -->
<label for="desc" class="form-label">descrizione:</label> <input
type="text" name="descrizione" class="form-control" id="desc">
</div>
</div>
<div class="row">
<div class="col-xs-6">
<label for="ore" class="form-label">File:</label>
<!-- Form per task con jquery e aggiunta righe automatica -->
<input type="file" name="filename" class="form-control" id="filename">
</div>
</div>
</div>
<div class="modal-footer">
<div class="col-xs-12">
<input type="submit" name="Submit" class="form-control" value="Inserisci">
<input type="hidden" name="entity" id="id_progetto_u">
<input type="hidden" name="idriga" id="idriga">
</div>
</div>
</div>
</div>
</form>
</div>
<!-- /MODAL DOCUMENTO -->
<!-- /.col-lg-12 --> <!-- /.col-lg-12 -->
@endsection @section('js') @endsection @section('js')
<script src="/js/app/rigaProgetti.js"></script> <script src="/js/app/rigaProgetti.js"></script>

View File

@ -187,3 +187,7 @@ Route::group(['middleware'=>['permission:avvisi']], function(){
$name='Flavio'; $name='Flavio';
Mail::to('flavio.barachino@lavorain.cloud')->send(new myTestEmail($name)); Mail::to('flavio.barachino@lavorain.cloud')->send(new myTestEmail($name));
}); });
Route::get('meeting', function() {
return view('meetings.meeting');
})->name('meeting');