%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjc/resources/views/layouts/
Upload File :
Create Path :
Current File : /var/www/pjc/resources/views/layouts/main.blade.php

<?php
setlocale(LC_MONETARY, 'it_IT');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- META SECTION -->
    <title>TSI - Project Check</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <link rel="icon" href="{{ asset('favicon.ico') }}" type="image/x-icon" />
    <!-- END META SECTION -->

    <!-- CSS INCLUDE -->
    <link rel="stylesheet" type="text/css" id="theme"
          href="{{ asset('css/theme-default.css') }}" />
    <script type="text/javascript"
            src="{{ asset('js/plugins/jquery/jquery.min.js') }}"></script>
    <script type="text/javascript"
            src="{{ asset('js/plugins/jquery/jquery-ui.min.js') }}"></script>
    <link href="{{ asset('css/plugins/select2/select2.min.css') }}" rel="stylesheet">
    <link href="{{ asset('css/plugins/select2/select2-bootstrap4.min.css') }}" rel="stylesheet">
    <link href="{{ asset('css/plugins/sweetalert/sweetalert.css') }}" rel="stylesheet">
    <link href="{{ asset('css/plugins/toastr/toastr.min.css" rel="stylesheet') }}">
    <script src="https://cdn.jsdelivr.net/npm/@revolist/revogrid@latest/dist/revo-grid/revo-grid.js"></script>




    <!-- EOF CSS INCLUDE -->
    <script type="text/javascript">
        $(document).ready(function() {
            datatable = $('.datatable').dataTable( {
                "lengthMenu": [[50,75,100, -1], [50,75,100,"All"]]
            } );
        } );
        jQuery( document ).ready( function( $ ) {
            $( '#tipo' ).on( 'change', function() {
                var dataString = 'tipo='+ $('#tipo :selected').text();
                $.ajax({
                    type: "POST",
                    url : "getMax",
                    data : dataString,
                    success : function(data){
                        $('#codice').val(data);
                    }
                },"json");
            } );
            $('#hours').dataTable( {
                "order": [[ 0, "desc" ]]
            } );
        } );
        // codice da eseguire se il div esiste
        $(document).ready(function() {
            if (document.getElementById('example') != null)
            {
                // Setup - add a text input to each footer cell
                $('#example tfoot th').each( function () {
                    var title = $('#example thead th').eq( $(this).index() ).text();
                    $(this).html( '<input type="text" class="col-md-12" placeholder="Search" />' );
                } );
                // DataTable
                var table = $('#example').DataTable();
                // Apply the search
                table.columns().eq( 0 ).each( function ( colIdx ) {
                    $( 'input', table.column( colIdx ).footer() ).on( 'keyup change', function () {
                        table
                            .column( colIdx )
                            .search( this.value )
                            .draw();
                    } );
                } );
            }
        } );
    </script>
    <style type="text/css">
        tfoot {
            display: table-header-group;
        }
    </style>
@livewireStyles
</head>
<body>
<!-- START PAGE CONTAINER -->
<div class="page-container">

    <!-- START PAGE SIDEBAR -->
    <div class="page-sidebar">
        <!-- START X-NAVIGATION -->
        <ul class="x-navigation">
            <li class="xn-logo"><a href="">Project Check</a> <a href=""
                                                                class="x-navigation-control"></a></li>
            <li class="xn-profile"><a href="#" class="profile-mini"> <img
                        src="{{ asset('assets/images/users/no-image.jpg') }}"
                        alt="Roberta Giacomini" />
                </a>
                <div class="profile">
                    <div class="profile-image">
                        <img src="{{ asset('assets/images/users/no-image.jpg') }}"
                             alt="" />
                    </div>
                    <div class="profile-data">
                        <div class="profile-data-name">{{ Session::get('users',
								function() { return 'guest'; }) }}</div>
                        <div class="profile-data-title">{{ Session::get('settore',
								function() { return 'guest'; }) }}</div>
                    </div>
                    <div class="profile-controls">
                        <a href="pages-profile.html" class="profile-control-left"><span
                                class="fa fa-info"></span></a> <a href="pages-messages.html"
                                                                  class="profile-control-right"><span class="fa fa-envelope"></span></a>
                    </div>
                </div></li>
            <li class="xn-title">Menu</li>
            <?php $mesi = array(
                '-',
                'Gennaio',
                'Febbraio',
                'Marzo',
                'Aprile',
                'Maggio',
                'Giugno',
                'Luglio',
                'Agosto',
                'Settembre',
                'Ottobre',
                'Novembre',
                'Dicembre'
            ); ?>
            <li class="xn-openable"><a href="#"><span
                        class="fa fa-calendar"></span> <span class="xn-text">Planning</span></a>

                <ul>
                    <li><a href="{{ action('ProgrammaOre@datatable') }}"><span
                                class="fa fa-calendar"></span> <span class="xn-text">Programma Lavori</span></a></li>

                    @if( (Session::get('idUtente')==22) or (Session::get('idUtente')==27))
                        <li><a href="{{ action('Budget@index') }}"><span
                                    class="fa fa-calendar"></span> <span class="xn-text">Budget</span></a></li>

                        <li class="xn-openable"><a href="#"><span
                                    class="fa fa-calendar"></span> <span class="xn-text">Elenco Planning</span></a>
                            <ul>
                                @for($i=1;$i<=12;$i++)
                                    <li>
                                        <a href="{{ action('Planning@elencoplanning',[$i,date('y')]) }}"><span
                                                class="fa fa-calendar"></span> <span class="xn-text">{{ $mesi[$i] }}</span></a></li>
                                @endfor
                            </ul>
                    @endif
                    <li><a href="{{ action('Planning@index') }}"><span
                                class="fa fa-calendar"></span> <span class="xn-text">Planning</span></a></li>
                </ul>

            </li>

            <li class="xn-openable"><a href="#"><span class="fa fa-clock-o"></span>
                    <span class="xn-text">Gestione Ore</span></a>
                <ul>
                    <li><a
                            href="{{ action('gestioneOre@ore',[Session::get('idUtente')])}}"><span
                                class="fa fa-image"></span> Ore assegnate</a></li></li>
                    <li><a href="{{ action('gestioneOre@commesse')}}"><span
                                class="fa fa-image"></span> Commesse</a></li>
                    @if( (Session::get('idUtente')==22) or (Session::get('idUtente')==27))
                        <li><a href="{{ action('gestioneOre@sommario')}}"><span
                                    class="fa fa-user"></span> Utenti</a></li> @else
                        <li><a
                                href="{{ action('gestioneOre@utente',[Session::get('idUtente')])}}"><span
                                    class="fa fa-user"></span> Mie ore</a></li> @endif
                    <li><a href="#"><span class="fa fa-users"></span> Statistiche</a></li>
                    @if( (Session::get('idUtente')==22) or (Session::get('idUtente')==27))
                        <li><a
                                href="{{ action('gestioneOre@addoreglobal')}}"><span
                                    class="fa fa-image"></span> Ore Globali</a></li>

                        <li><a
                                href="{{ action('Utenti@index')}}"><span
                                    class="fa fa-image"></span> Modifica k</a></li>
                    @endif
                </ul>
            </li>

            <li class="xn-openable"><a href="#"><span class="fa fa-eur"></span> <span
                        class="xn-text">Fatturazione</span></a>
                <ul>
                    <li><a href="{{ action('Fatturazione@index') }}"><span class="fa fa-image"></span> Commesse</a></li>
                    <li><a href="{{ action('Fatturazione@elencoFatture') }}"><span class="fa fa-image"></span> Elenco</a></li>

                    <li><a href="#"><span class="fa fa-users"></span> Statistiche</a></li>
                </ul></li>
            <li><a href="{{ action('HomeController@exportScadenziario') }}"><span class="fa fa-calendar"></span> <span
                        class="xn-text">Scadenziario</span></a></li>
    
             <li><a href="{{ action('HomeController@reportCorsi') }}"><span class="fa fa-calendar"></span> <span
                        class="xn-text">Report Corsi</span></a></li>






        </ul>
        <!-- END X-NAVIGATION -->
    </div>
    <!-- END PAGE SIDEBAR -->

    <!-- PAGE CONTENT -->
    <div class="page-content" style="height: 100%">

        <!-- START X-NAVIGATION VERTICAL -->
        <ul class="x-navigation x-navigation-horizontal x-navigation-panel">
            <!-- TOGGLE NAVIGATION -->
            <li class="xn-icon-button"><a href="#" class="x-navigation-minimize"><span
                        class="fa fa-dedent"></span></a></li>
            <!-- END TOGGLE NAVIGATION -->
            <!-- SEARCH -->
            <li class="xn-search">
                <form role="form">
                    <input type="text" name="search" placeholder="Search..." />
                </form>
            </li>
            <!-- END SEARCH -->
            <!-- POWER OFF -->
            <li class="xn-icon-button pull-right last"><a href="#"><span
                        class="fa fa-power-off"></span></a>
                <ul class="xn-drop-left animated zoomIn">

                    <li><a href="#" class="mb-control" data-box="#mb-signout"><span
                                class="fa fa-sign-out"></span> Sign Out</a></li>
                </ul></li>
            <!-- END POWER OFF -->



        </ul>
        <!-- END X-NAVIGATION VERTICAL -->



        <!-- PAGE CONTENT WRAPPER -->
        <div class="page-content-wrap">@yield('content')</div>
        <!-- END PAGE CONTENT WRAPPER -->
    </div>
    <!-- END PAGE CONTENT -->
</div>
<!-- END PAGE CONTAINER -->
<!-- default with sound -->
<div class="message-box animated fadeIn" data-sound="alert"
     id="message-box-sound-1">
    <div class="mb-container">
        <div class="mb-middle">
            <div class="mb-title">
                <span class="fa fa-globe"></span> Alert
            </div>
            <div class="mb-content">
                <p>NON SEI ABILITATO A QUESTA FUNZIONE</p>
            </div>
            <div class="mb-footer">
                <button class="btn btn-info btn-lg pull-right mb-control-close">Got
                    it!</button>
            </div>
        </div>
    </div>
</div>
<!-- end default with sound -->
<!-- MESSAGE BOX-->
<div class="message-box animated fadeIn" data-sound="alert"
     id="mb-signout">
    <div class="mb-container">
        <div class="mb-middle">
            <div class="mb-title">
                <span class="fa fa-sign-out"></span> Log <strong>Out</strong> ?
            </div>
            <div class="mb-content">
                <p>Are you sure you want to log out?</p>
                <p>Press No if youwant to continue work. Press Yes to logout
                    current user.</p>
            </div>
            <div class="mb-footer">
                <div class="pull-right">
                    <a href="{{ action('gestioneOre@logout')}}"
                       class="btn btn-success btn-lg">Yes</a>
                    <button class="btn btn-default btn-lg mb-control-close">No</button>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- END MESSAGE BOX-->

<!-- START PRELOADS -->
<audio id="audio-alert" src="{{ asset('audio/alert.mp3') }}"
       preload="auto"></audio>
<audio id="audio-fail" src="{{ asset('audio/fail.mp3') }}"
       preload="auto"></audio>
<!-- END PRELOADS -->

<!-- START SCRIPTS -->
<!-- START PLUGINS -->

<script type="text/javascript"
        src="{{ asset('js/plugins/bootstrap/bootstrap.min.js') }}"></script>
<!-- END PLUGINS -->

<!-- START THIS PAGE PLUGINS-->
<script type='text/javascript'
        src="{{ asset('js/plugins/icheck/icheck.min.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/mcustomscrollbar/jquery.mCustomScrollbar.min.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/scrolltotop/scrolltopcontrol.js') }}"></script>



<script type='text/javascript'
        src="{{ asset('js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/bootstrap/bootstrap-datepicker.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/bootstrap/bootstrap-select.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/owl/owl.carousel.min.js') }}"></script>

<script type="text/javascript"
        src="{{ asset('js/plugins/moment.min.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/daterangepicker/daterangepicker.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/icheck/icheck.min.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/mcustomscrollbar/jquery.mCustomScrollbar.min.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/summernote/summernote.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/datatables/jquery.dataTables.min.js') }}"></script>
<script type="text/javascript"
        src="{{ asset('js/plugins/noty/jquery.noty.js') }}"></script>

<script type='text/javascript'
        src="{{ asset('js/plugins/noty/jquery.noty.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/noty/layouts/topCenter.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/noty/layouts/topLeft.js') }}"></script>
<script type='text/javascript'
        src="{{ asset('js/plugins/noty/layouts/topRight.js') }}"></script>

        <script type='text/javascript' src="{{ asset('js/plugins/noty/themes/default.js') }}"></script>

<!-- Sweet alert -->
<script src="{{ asset('js/plugins/sweetalert/sweetalert.min.js') }}"></script>


<!-- END THIS PAGE PLUGINS-->

<!-- START TEMPLATE -->


<script type="text/javascript" src="{{ asset('js/plugins.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/actions.js') }}"></script>




<script type='text/javascript'
        src="{{ asset('js/plugins/icheck/icheck.min.js') }}"></script>

<script>
	window.fwSettings={
	'widget_id':103000002653
	};
	!function(){if("function"!=typeof window.FreshworksWidget){var n=function(){n.q.push(arguments)};n.q=[],window.FreshworksWidget=n}}() 
</script>
<script type='text/javascript' src='https://euc-widget.freshworks.com/widgets/103000002653.js' async defer></script>


<script type="text/javascript">
    <!-- Mainly scripts -->
    <script src="js/jquery-3.1.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="js/plugins/select2/select2.full.min.js"></script>
<!-- Custom and plugin javascript -->
<script src="js/inspinia.js"></script>
<script src="js/plugins/pace/pace.min.js"></script>
<script type="text/javascript"
        src="//cdn.datatables.net/plug-ins/1.10.22/sorting/currency.js"></script>
<script>
    function notyConfirm(){
        noty({
            text: 'Do you want to continue?',
            layout: 'topRight',
            buttons: [
                {addClass: 'btn btn-success btn-clean', text: 'Ok', onClick: function($noty) {
                        $noty.close();
                        noty({text: 'You clicked "Ok" button', layout: 'topRight', type: 'success'});
                    }
                },
                {addClass: 'btn btn-danger btn-clean', text: 'Cancel', onClick: function($noty) {
                        $noty.close();
                        noty({text: 'You clicked "Cancel" button', layout: 'topRight', type: 'error'});
                    }
                }
            ]
        })
    }
</script>


@yield('script')

@livewireScripts
</body>
</html>

Zerion Mini Shell 1.0