64 lines
3 KiB
PHP
64 lines
3 KiB
PHP
@extends('bo.layout')
|
|
|
|
@section('title', __('Accueil'))
|
|
@section('description', __('Description site'))
|
|
@section('breadcrumb', 'no')
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
@php $user = auth('backend')->user(); @endphp
|
|
@if (!$tenantsGlobal->count() && $user->can('isAdmin'))
|
|
<div class="col-12 mb-3">
|
|
<div class="card text-center border-danger">
|
|
<div class="card-body">
|
|
<h5 class="card-title text-center text-danger">
|
|
<b>
|
|
{{ __('Vous devez administrer au moins un tenant pour le bon fonctionnement de l\'appli/back-office.', [
|
|
'role' => $user->role->label(),
|
|
]) }}
|
|
</b>
|
|
</h5>
|
|
</div>
|
|
<div class="card-footer">
|
|
<a href="{{ route('bo.tenants.create') }}"
|
|
class="btn btn-danger">
|
|
{{ __('Créer le premier tenant') }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
<div class="col-12">
|
|
<div class="card text-center">
|
|
<div class="card-header fw-bold">
|
|
<h1 class="h2 fw-bold">{{ __('Dashboard') }}</h1>
|
|
</div>
|
|
<div class="card-body">
|
|
<h5 class="card-title text-center">
|
|
<b>
|
|
{{ __('Bonjour :first_name :last_name !', [
|
|
'first_name' => $user->first_name,
|
|
'last_name' => $user->last_name,
|
|
]) }}
|
|
</b>
|
|
</h5>
|
|
<p class="card-text">
|
|
{{ __('Bienvenue dans le back-office, où vous pouvez gérer votre application web.') }}
|
|
</p>
|
|
<p class="card-text mt-4">
|
|
<b>
|
|
{{ __('Pour accéder à vos statistiques') }} :
|
|
<a data-bs-toggle="tooltip" href="https://report.uwil.fr" title="{{ __('Accéder à notre outil de reporting') }}"
|
|
target="_blank">https://report.uwil.fr</a><br>
|
|
{{ __('Pour tout problème ou évolution souhaitée, veuillez nous contacter via notre outil : ') }}
|
|
<a data-bs-toggle="tooltip" href="https://support.uwil.fr/" title="{{ __('Accéder à notre outil de ticketing') }}"
|
|
target="blank">https://support.uwil.fr/</a>.
|
|
</b>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|