aggiornato lista dei movimenti e inserito come test il fullcalendar
This commit is contained in:
36
resources/views/calendario/fullcalendar.blade.php
Normal file
36
resources/views/calendario/fullcalendar.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
@extends('adminlte::page')
|
||||
@section('plugins.Fullcalendar', true)
|
||||
@section('content')
|
||||
<div id="calendar"></div>
|
||||
@endsection
|
||||
@section('js')
|
||||
<script>
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var calendarEl = document.getElementById('calendar');
|
||||
|
||||
var calendar = new FullCalendar.Calendar(calendarEl, {
|
||||
timeZone: 'UTC',
|
||||
initialView: 'dayGridMonth',
|
||||
events: '/api/demo-feeds/events.json',
|
||||
editable: true,
|
||||
selectable: true,
|
||||
// plugins: [dayGridPlugin],
|
||||
// initialView: 'dayGridWeek',
|
||||
headerToolbar: {
|
||||
left: 'prev,next',
|
||||
center: 'title',
|
||||
right: 'dayGridMonth,timeGridWeek,timeGridDay' // user can switch between the two
|
||||
},
|
||||
dateClick: function(info) {
|
||||
alert('Clicked on: ' + info.dateStr);
|
||||
}
|
||||
});
|
||||
calendar.setOption('locale', 'it');
|
||||
calendar.render();
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
@@ -1,10 +1,11 @@
|
||||
@extends('admin')
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('content_header')
|
||||
<h1>Lista categorie</h1>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">Lista categorie</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<!-- Content here -->
|
||||
<button class="btn btn-warning btn-detail open_modal_new">Nuova
|
||||
@@ -150,6 +151,6 @@
|
||||
|
||||
@endsection
|
||||
|
||||
@section('script')
|
||||
@section('js')
|
||||
<script src="/js/app/conti_categorie.js"></script>
|
||||
@endsection
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
@extends('admin')
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('content_header')
|
||||
<h1>Lista Documenti</h1>
|
||||
@endsection
|
||||
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">Lista Documenti</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<!-- Content here -->
|
||||
<div class="row">
|
||||
@@ -48,7 +50,7 @@
|
||||
<tbody>
|
||||
@foreach($documenti as $documento)
|
||||
<tr>
|
||||
<td><a href="/storage/{{ $documento->filename }}">{{ $documento->descrizione; }}</a></td>
|
||||
<td><a href="/storage/{{ $documento->filename; }}">{{ $documento->descrizione; }}</a></td>
|
||||
<td>
|
||||
<a class="btn btn-primary" href="/admin/doc_update?id={{ $documento->id; }}"><i class="fa fa-pencil-square-o fw"></i></a>
|
||||
<a class="btn btn-danger" href="/admin/doc_delete?id={{ $documento->id; }}"><i class="fa fa-trash-o fa-fw"></i></a>
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
@endsection
|
||||
@section('js')
|
||||
@parent
|
||||
|
||||
<script src="/js/app/movimenti.js"></script>
|
||||
@endsection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user