Completamento della conversione del template

This commit is contained in:
Amministratore 2023-10-05 14:24:34 +02:00
parent 2fe5027f8e
commit c0ce480235
12 changed files with 113 additions and 66 deletions

View File

@ -31,7 +31,7 @@ return [
*/ */
'use_ico_only' => false, 'use_ico_only' => false,
'use_full_favicon' => true, 'use_full_favicon' => false,
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -314,46 +314,51 @@ return [
[ [
'text' => 'Gestione Economica', 'text' => 'Gestione Economica',
'url' => '#', 'url' => '#',
'icon' => 'far fa-fw fa-money-bill', //<i class="fa-solid fa-money-bill"></i> 'icon' => 'fas fa-fw fa-money-bill', //<i class="fa-solid fa-money-bill"></i>
'submenu' => [ 'submenu' => [
[ [
'text' => 'Lista movimenti', 'text' => 'Lista movimenti',
'route' => 'movimenti', 'route' => 'movimenti',
'icon' => 'fas fa-fw fa-list-check'
], ],
[ 'text' => 'Liste', [ 'text' => 'Liste',
'url' => '#', 'url' => '#',
'icon' => 'fas fa-fw fa-sync', 'icon' => 'fas fa-fw fa-gears',
'submenu' => [ 'submenu' => [
[ [
'text' => 'Categorie', 'text' => 'Categorie',
'route' => 'categorie', 'route' => 'categorie',
'icon' => 'fas fa-fw fa-wine-bottle'
], ],
[ [
'text' => 'Tags', 'text' => 'Tags',
'route' => 'tags', 'route' => 'tags',
'icon' => 'fas fa-fw fa-tags'
], ],
] ]
], ],
[ 'text' => 'Reports', [ 'text' => 'Reports',
'url' => '#', 'url' => '#',
'icon' => 'fas fa-fw fa-sync', 'icon' => 'fas fa-fw fa-file',
'submenu' => [ 'submenu' => [
[ [
'text' => 'Report Movimenti', 'text' => 'Report movimenti',
'route' => 'resoconto', 'route' => 'resoconto',
'icon' => 'fas fa-fw fa-piggy-bank',
], ],
[ [
'text' => 'Bilancio annuale', 'text' => 'Bilancio annuale',
'route' => 'budget', 'route' => 'budget',
'icon' => 'fas fa-fw fa-scale-balanced'
], ],
] ]
], ],
[ [
'text' => 'Import/Export', 'text' => 'Import/Export',
'url' => '#', 'url' => '#',
'icon' => 'fas fa-fw fa-sync', 'icon' => 'fas fa-fw fa-file-arrow-down',
'submenu' => [ 'submenu' => [
[ [
'text' => 'Esporta tutti i movimenti', 'text' => 'Esporta tutti i movimenti',
@ -385,13 +390,13 @@ return [
], ],
[ [
'text' => 'Progetti', 'text' => 'Progetti',
'url' => '#', 'route' => 'progetti',
'icon' => 'fas fa-fw fa-todo', 'icon' => 'fas fa-fw fa-diagram-project',
], ],
[ [
'text' => 'Attività', 'text' => 'Attività',
'url' => '#', 'route' => 'tasks',
'icon' => 'fas fa-fw fa-todo', 'icon' => 'fas fa-fw fa-circle-check',
], ],
['header' => 'GESTIONE PIM'], ['header' => 'GESTIONE PIM'],
[ [
@ -401,16 +406,28 @@ return [
'submenu' => [ 'submenu' => [
[ [
'text' => 'Nuovo Contatto', 'text' => 'Nuovo Contatto',
'url' => '/admin/contatti/new', 'route' => 'newContact',
'icon' => 'fas fa-fw fa-plus',
],
[
'text' => 'Rubrica',
'route' => 'contatti',
'icon' => 'fas fa-fw fa-mobile',
], ],
], ],
], ],
[ [
'text' => 'Appuntamenti', 'text' => 'Appuntamenti',
'url' => '/admin/test/calendar', 'route' => 'calendario',
'icon' => 'fas fa-fw fa-calendar', 'icon' => 'fas fa-fw fa-calendar',
], ],
['header' => 'AMMINISTRAZIONE'],
[
'text' => 'Utenti',
'url' => '/admin/users/new',
'icon' => 'fas fa-fw fa-user',
'can' => ['amministrazione']
],
], ],
@ -550,6 +567,17 @@ return [
], ],
], ],
'FontAwesome' =>[
'active' => true,
'files' =>[
[
'type' => 'css',
'asset' => false,
'location' => '//cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css',
],
],
],
], ],
/* /*

View File

@ -10,7 +10,7 @@ $(document).ready(function() {
"order": [[0, "desc"]] "order": [[0, "desc"]]
}); });
}); });
$(".draggable").draggable(); //$(".draggable").draggable();
var d = new Date(); var d = new Date();
var month = d.getMonth()+1; var month = d.getMonth()+1;

View File

@ -1,10 +1,11 @@
@extends('admin') @extends('adminlte::page')
@section('content_header')
<h1>Inserisci Contatto</h1>
@endsection
@section('content') @section('content')
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Inserisci Contatto</h1>
</div>
</div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
@ -61,6 +62,6 @@
@endsection @endsection
@section('script') @section('js')
<script src="/js/app/altrocontatto.js"></script> <script src="/js/app/altrocontatto.js"></script>
@endsection @endsection

View File

@ -1,4 +1,9 @@
@extends('admin') @extends('adminlte::page')
@section('content_header')
<h1>Dettaglio Anagrafica</h1>
@endsection
@section('content') @section('content')
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
@ -97,6 +102,6 @@
@endsection @endsection
@section('script') @section('js')
<script src="/js/app/altrocontatto.js"></script> <script src="/js/app/altrocontatto.js"></script>
@endsection @endsection

View File

@ -1,10 +1,11 @@
@extends('admin') @extends('adminlte::page')
@section('content_header')
<h1>Inserisci Anagrafica</h1>
@endsection
@section('content') @section('content')
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Inserisci Anagrafica</h1>
</div>
</div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-10"> <div class="col-lg-10">
@ -90,6 +91,6 @@
@endsection @endsection
@section('script') @section('js')
<script src="/js/app/altrocontatto.js"></script> <script src="/js/app/altrocontatto.js"></script>
@endsection @endsection

View File

@ -1,10 +1,11 @@
@extends('admin') @extends('adminlte::page')
@section('content_header')
<h1>Lista Anagrafiche</h1>
@endsection
@section('content') @section('content')
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Lista Anagrafiche</h1>
</div>
</div>
<div class="container"> <div class="container">
<!-- Content here --> <!-- Content here -->
<div class="row"> <div class="row">
@ -56,6 +57,6 @@
@endsection @endsection
@section('script') @section('js')
<script src="/js/app/altrocontatto.js"></script> <script src="/js/app/altrocontatto.js"></script>
@endsection @endsection

View File

@ -1,5 +1,8 @@
@extends('adminlte::page') @extends('adminlte::page')
@section('plugins.Fullcalendar', true) @section('plugins.Fullcalendar', true)
@section('content_header')
<h1>Appuntamenti</h1>
@endsection
@section('content') @section('content')
<div id="calendar"></div> <div id="calendar"></div>
@endsection @endsection

View File

@ -1,9 +1,13 @@
@extends('admin') @section('content') @extends('adminlte::page')
<div class="row">
<div class="col-lg-12"> @section('content_header')
<h1 class="page-header">Dettaglio Progetto</h1>
</div> <h1>Dettaglio Progetto</h1>
</div>
@endsection
@section('content')
<div class="container"> <div class="container">
<!-- Content here --> <!-- Content here -->
@ -246,6 +250,6 @@
<!-- /MODAL RIGA --> <!-- /MODAL RIGA -->
<!-- /.col-lg-12 --> <!-- /.col-lg-12 -->
@endsection @section('script') @endsection @section('js')
<script src="/js/app/rigaProgetti.js"></script> <script src="/js/app/rigaProgetti.js"></script>
@endsection @endsection

View File

@ -1,9 +1,10 @@
@extends('admin') @section('content') @extends('adminlte::page')
<div class="row">
<div class="col-lg-12"> @section('content_header')
<h1 class="page-header">Lista Progetti</h1> <h1>Lista Progetti</h1>
</div> @endsection
</div>
@section('content')
<div class="container"> <div class="container">
<!-- Content here --> <!-- Content here -->
<div class="row"> <div class="row">
@ -145,6 +146,6 @@
</form> </form>
</div> </div>
<!-- /MODAL --> <!-- /MODAL -->
@endsection @section('script') @endsection @section('js')
<script src="/js/app/progetti.js"></script> <script src="/js/app/progetti.js"></script>
@endsection @endsection

View File

@ -1,11 +1,11 @@
@extends('admin') @extends('adminlte::page')
@section('content')
<div class="row"> @section('content_header')
<div class="col-lg-12"> <h1>Lista Attività</h1>
<h1 class="page-header">Lista Attività</h1> @endsection
@section('content')
</div>
</div>
<div class="container"> <div class="container">
<!-- Content here --> <!-- Content here -->
<div class="row"> <div class="row">
@ -99,6 +99,6 @@
@endsection @endsection
@section('script') @section('js')
<script src="/js/app/task.js"></script> <script src="/js/app/task.js"></script>
@endsection @endsection

View File

@ -1,9 +1,12 @@
@extends('admin') @section('content') @extends('adminlte::page')
<div class="row">
<div class="col-lg-12"> @section('content_header')
<h1 class="page-header">Nuovo utente</h1> <h1>Nuovo utente</h1>
</div> @endsection
</div>
@section('content')
<div class="container"> <div class="container">
<!-- INIZIO CONTENUTO --> <!-- INIZIO CONTENUTO -->
<div class="row"> <div class="row">

View File

@ -180,7 +180,7 @@ Route::group(['middleware'=>['permission:avvisi']], function(){
Route::get('test/err403',[CondominioController::class,'err403'])->name('errore-403'); Route::get('test/err403',[CondominioController::class,'err403'])->name('errore-403');
Route::get('test/user_role',[CondominioController::class,'user_role']); Route::get('test/user_role',[CondominioController::class,'user_role']);
Route::get('test/userclass',[Utenti::class,'userClass']); Route::get('test/userclass',[Utenti::class,'userClass']);
Route::get('test/calendar',[FullCalenderController::class,'showDemo']); Route::get('test/calendar',[FullCalenderController::class,'showDemo'])->name('calendario');
Route::get('testmail',function(){ Route::get('testmail',function(){
$name='Flavio'; $name='Flavio';