399 lines
15 KiB
PHP
399 lines
15 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/dist/css/adminlte.css') }}">
|
|
|
|
<link rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
|
|
|
<!-- Font Awesome -->
|
|
{{-- <link rel="stylesheet" href="{{ asset('assets/plugins/fontawesome-free/css/all.min.css') }}"> --}}
|
|
<!-- Font Awesome 6.1.1 -->
|
|
{{-- <link rel="stylesheet" href="{{ asset('plugins/fontawesome-611/css/all.min.css') }}"> --}}
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/fontawesome-6.4.2/css/all.css') }}">
|
|
|
|
|
|
<!-- Ionicons -->
|
|
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
|
|
<!-- Tempusdominus Bootstrap 4 -->
|
|
<link rel="stylesheet"
|
|
href="{{ asset('assets/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css') }}">
|
|
<!-- iCheck -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/icheck-bootstrap/icheck-bootstrap.min.css') }}">
|
|
<!-- JQVMap -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/jqvmap/jqvmap.min.css') }}">
|
|
<!-- Theme style -->
|
|
|
|
<!-- overlayScrollbars -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/overlayScrollbars/css/OverlayScrollbars.min.css') }}">
|
|
<!-- Daterange picker -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/daterangepicker/daterangepicker.css') }}">
|
|
<!-- summernote -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/summernote/summernote-bs4.min.css') }}">
|
|
<!-- jQuery UI -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/jquery-ui/jquery-ui.css') }}">
|
|
|
|
<!-- daterange picker -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/daterangepicker/daterangepicker.css') }}">
|
|
|
|
<!-- DataTables -->
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css') }}">
|
|
|
|
<link rel="stylesheet"
|
|
href="{{ asset('assets/plugins/datatables-responsive/css/responsive.bootstrap4.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/plugins/datatables-buttons/css/buttons.bootstrap4.min.css') }}">
|
|
|
|
<!-- jQuery -->
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
<!-- DataTables CSS -->
|
|
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap4.min.css">
|
|
<!-- DataTables JavaScript -->
|
|
<script src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.js"></script>
|
|
<!-- DataTables Bootstrap 4 JavaScript -->
|
|
<script src="https://cdn.datatables.net/1.11.3/js/dataTables.bootstrap4.min.js"></script>
|
|
<!-- DataTables Buttons JavaScript -->
|
|
<script src="https://cdn.datatables.net/buttons/1.7.1/js/dataTables.buttons.min.js"></script>
|
|
|
|
|
|
{{-- Graficos para gestao com chart.js --}}
|
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels"></script>
|
|
|
|
|
|
|
|
<style>
|
|
#isptGroupLink:hover {
|
|
color: #EAF3F6;
|
|
}
|
|
|
|
.spin {
|
|
animation: spin 1s infinite linear;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* ***************************** */
|
|
.accordion {
|
|
overflow-anchor: none;
|
|
}
|
|
|
|
.accordion>.card {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.accordion>.card:not(:last-of-type) {
|
|
border-bottom: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
|
|
.accordion>.card:not(:first-of-type) {
|
|
border-top-left-radius: 0;
|
|
border-top-right-radius: 0;
|
|
}
|
|
|
|
.accordion>.card>.card-header {
|
|
border-radius: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Nome de baixo do circulo */
|
|
.steps {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
|
|
}
|
|
|
|
/* Nome dentro do circulo de ainda não de chegar o progress bar */
|
|
.step-button {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background-color: var(--prm-gray);
|
|
transition: .4s;
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.step-button[aria-expanded="true"] {
|
|
width: 60px;
|
|
height: 60px;
|
|
background-color: var(--prm-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.done {
|
|
background-color: var(--prm-color);
|
|
color: #fff;
|
|
|
|
|
|
}
|
|
|
|
|
|
.step-item {
|
|
z-index: 10;
|
|
text-align: center;
|
|
}
|
|
|
|
#progress {
|
|
-webkit-appearance: none;
|
|
position: absolute;
|
|
width: 95%;
|
|
z-index: 5;
|
|
height: 10px;
|
|
margin-left: 18px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
/* to customize progress bar */
|
|
#progress::-webkit-progress-value {
|
|
background-color: var(--prm-color);
|
|
transition: .5s ease;
|
|
}
|
|
|
|
#progress::-webkit-progress-bar {
|
|
background-color: var(--prm-gray);
|
|
|
|
}
|
|
|
|
#editImg {
|
|
width: 215px;
|
|
height: 215px;
|
|
object-fit: cover;
|
|
/* Isso fará com que a imagem cubra completamente a área sem distorcer */
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body class="hold-transition sidebar-mini layout-fixed">
|
|
|
|
<!-- Wrapper -->
|
|
<div class="wrapper">
|
|
|
|
<!-- Preloader -->
|
|
|
|
<div class="preloader flex-column justify-content-center align-items-center">
|
|
<img class="animation__shake spin" src="{{ asset('img/logo4.0.jpg') }}" alt="AdminLTELogo" height="60"
|
|
width="60">
|
|
</div>
|
|
|
|
<!-- Navbar -->
|
|
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
|
|
<!-- Left navbar links -->
|
|
<ul class="navbar-nav">
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i
|
|
class="fas fa-bars"></i></a>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<!-- Right navbar links -->
|
|
<ul class="navbar-nav ml-auto align-items-center">
|
|
<li class="nav-item my-2">
|
|
<form id="language-form" action="{{ route('language.switch') }}" method="post"
|
|
class="form-inline">
|
|
@csrf
|
|
<select class="custom-select" name="locale" onchange="this.form.submit()">
|
|
<option value="en" {{ app()->getLocale() == 'en' ? 'selected' : '' }}>English</option>
|
|
<option value="pt" {{ app()->getLocale() == 'pt' ? 'selected' : '' }}>Português
|
|
</option>
|
|
</select>
|
|
</form>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" data-widget="fullscreen" href="#" role="button">
|
|
<i class="fas fa-expand-arrows-alt"></i>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
|
|
</nav>
|
|
<!-- /.navbar -->
|
|
|
|
<!-- Main Sidebar Container -->
|
|
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
|
<!-- Brand Logo -->
|
|
<a href="#" class="brand-link" style="pointer-events: none;">
|
|
<img src="{{ asset('/img/ispt.jpg') }}" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
|
|
style="opacity: .8">
|
|
<span class="brand-text font-weight-light">ISPT 4.0</span>
|
|
</a>
|
|
|
|
<!-- Sidebar -->
|
|
<div class="sidebar">
|
|
<!-- Sidebar user panel (optional) -->
|
|
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
|
{{-- Verifica se esta logado , se estiver , busca os dados do utilizador atual. --}}
|
|
@if (Auth::check())
|
|
<div class="image">
|
|
<img class="img-circle elevation-2 imgProfile editImg"
|
|
src="{{ asset('user_logos/' . (Auth::user()->user_logo ?? 'logoISPT4.0.jpg')) }}"
|
|
alt="User Logo">
|
|
</div>
|
|
<div class="info">
|
|
<a href="{{ route('usersProfiles', ['id' => Auth::user()->user_id]) }}"
|
|
class="d-block">{{ Auth::user()->userType?->type_user }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
|
|
<!-- Sidebar Menu -->
|
|
<nav class="mt-2">
|
|
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu"
|
|
data-accordion="false">
|
|
<!-- Add icons to the links using the .nav-icon class
|
|
with font-awesome or any other icon font library -->
|
|
<li class="nav-item">
|
|
<a href="{{ route('dashboardClient') }}" class="nav-link active">
|
|
<i class="nav-icon fas fa-tachometer-alt"></i>
|
|
<p> {{ __('messages.dashboard.dashboard') }} </p>
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a href="{{ route('manageAssetsClient') }}" class="nav-link">
|
|
<i class="fa-solid fa-file-edit"></i>
|
|
<p> {{ __('messages.portfolio.top_view_part.management_assets') }}</p>
|
|
</a>
|
|
</li>
|
|
|
|
<br>
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
@csrf
|
|
<button type="submit" class="btn btn-danger">Terminar sessão</button>
|
|
</form>
|
|
|
|
<!-- /.Single menu item -->
|
|
</ul>
|
|
</nav>
|
|
<!-- /.sidebar-menu -->
|
|
</div>
|
|
<!-- /.sidebar -->
|
|
</aside>
|
|
|
|
<div class="content-wrapper">
|
|
@yield('Main-content')
|
|
{{-- <section class="content">
|
|
<div class="container-fluid">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
</div>
|
|
./col-md-12
|
|
</div>
|
|
./row justify-content-center
|
|
</div>
|
|
./container-fluid
|
|
</section> --}}
|
|
{{-- ./content --}}
|
|
</div>
|
|
{{-- ./content-wrapper --}}
|
|
|
|
<!-- Control Sidebar -->
|
|
<aside class="control-sidebar control-sidebar-dark">
|
|
<!-- Control sidebar content goes here -->
|
|
</aside>
|
|
<!-- /.control-sidebar -->
|
|
|
|
</div>
|
|
<!-- ./ Wrapper -->
|
|
|
|
<footer class="main-footer">
|
|
<strong>Copyright © 2017-{{ date('Y') }} <a href="https://www.isptgroup.com" id="isptGroupLink">ISPT
|
|
-
|
|
Industrial Services, SA</a>.</strong>
|
|
Todos os direitos reservados.
|
|
<div class="float-right d-none d-sm-inline-block">
|
|
<b>Versão</b> {{ config('app.version') }}
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
|
|
@yield('scriptsTemplateAdmin')
|
|
{{-- Scripts-Plugins --}}
|
|
|
|
<script src="{{ asset('assets/dist/js/bootstrap.bundle.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('assets/plugins/jquery/jquery.min.js') }}"></script>
|
|
<!-- jQuery UI 1.11.4 -->
|
|
<script src="{{ asset('assets/plugins/jquery-ui/jquery-ui.min.js') }}"></script>
|
|
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
|
|
<script>
|
|
$.widget.bridge('uibutton', $.ui.button)
|
|
</script>
|
|
<!-- Bootstrap 4 -->
|
|
<script src="{{ asset('assets/plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
|
|
|
|
|
<!-- ChartJS -->
|
|
<script src="{{ asset('assets/plugins/chart.js/Chart.min.js') }}"></script>
|
|
<!-- Sparkline -->
|
|
<script src="{{ asset('assets/plugins/sparklines/sparkline.js') }}"></script>
|
|
<!-- JQVMap -->
|
|
<script src="{{ asset('assets/plugins/jqvmap/jquery.vmap.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/jqvmap/maps/jquery.vmap.usa.js') }}"></script>
|
|
<!-- jQuery Knob Chart -->
|
|
<script src="{{ asset('assets/plugins/jquery-knob/jquery.knob.min.js') }}"></script>
|
|
<!-- daterangepicker -->
|
|
<script src="{{ asset('assets/plugins/moment/moment.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/daterangepicker/daterangepicker.js') }}"></script>
|
|
<!-- Tempusdominus Bootstrap 4 -->
|
|
<script src="{{ asset('assets/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js') }}"></script>
|
|
<!-- Summernote -->
|
|
<script src="{{ asset('assets/plugins/summernote/summernote-bs4.min.js') }}"></script>
|
|
<!-- overlayScrollbars -->
|
|
<script src="{{ asset('assets/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js') }}"></script>
|
|
<!-- AdminLTE App -->
|
|
<script src="{{ asset('assets/dist/js/adminlte.js') }}"></script>
|
|
<!-- AdminLTE for demo purposes -->
|
|
{{-- <script src="{{ asset('js/demo.js') }}"></script>
|
|
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
|
|
<script src="{{ asset('js/pages/dashboard.js') }}"></script> --}}
|
|
<!-- jQuery Script fadeIn fadeOut for the dropdown -->
|
|
<script src="{{ asset('assets/plugins/datatables/jquery.dataTables.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('assets/plugins/datatables-bs4/js/dataTables.bootstrap4.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/datatables-responsive/js/dataTables.responsive.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/datatables-responsive/js/responsive.bootstrap4.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('assets/plugins/datatables-buttons/js/dataTables.buttons.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/datatables-buttons/js/buttons.bootstrap4.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/jszip/jszip.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/pdfmake/pdfmake.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/pdfmake/vfs_fonts.js') }}"></script>
|
|
|
|
|
|
<script src="{{ asset('assets/plugins/datatables-buttons/js/buttons.html5.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/datatables-buttons/js/buttons.print.min.js') }}"></script>
|
|
<script src="{{ asset('assets/plugins/datatables-buttons/js/buttons.colVis.min.js') }}"></script>
|
|
|
|
</html>
|