Publication initiale de RelaisSMS : documentation et sources nettoyees
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>{{ config('app.name', 'RelaisSMS') }}</title>
|
||||
|
||||
@if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot')))
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
@endif
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
@auth
|
||||
<div class="app-shell">
|
||||
<aside class="app-sidebar" aria-label="Navigation principale">
|
||||
<a href="{{ route('recipients.index') }}" class="app-brand">
|
||||
<span class="app-brand-mark">R</span>
|
||||
<span>RelaisSMS</span>
|
||||
</a>
|
||||
|
||||
<nav class="app-nav">
|
||||
<a href="{{ route('recipients.index') }}" class="app-nav-link {{ request()->routeIs('recipients.*') ? 'active' : '' }}">
|
||||
<span class="app-nav-ico">✉</span>
|
||||
<span>Envoi</span>
|
||||
</a>
|
||||
<a href="{{ route('contacts.index') }}" class="app-nav-link {{ request()->routeIs('contacts.*') ? 'active' : '' }}">
|
||||
<span class="app-nav-ico">⌕</span>
|
||||
<span>Contacts</span>
|
||||
</a>
|
||||
<a href="{{ route('contacts.index') }}" class="app-nav-link {{ request()->routeIs('contact-groups.*') ? 'active' : '' }}">
|
||||
<span class="app-nav-ico">▦</span>
|
||||
<span>Groupes</span>
|
||||
</a>
|
||||
<a href="{{ route('sms-campaigns.index') }}" class="app-nav-link {{ request()->routeIs('sms-campaigns.*') ? 'active' : '' }}">
|
||||
<span class="app-nav-ico">◷</span>
|
||||
<span>Historique</span>
|
||||
</a>
|
||||
<a href="{{ route('settings.edit') }}" class="app-nav-link {{ request()->routeIs('settings.*') ? 'active' : '' }}">
|
||||
<span class="app-nav-ico">⚙</span>
|
||||
<span>Parametres</span>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<div class="sync-card">
|
||||
<strong>Session active</strong>
|
||||
<span>{{ auth()->user()->name }}</span>
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<button type="submit" class="app-nav-button sync-logout">
|
||||
<span class="app-nav-ico">↩</span>
|
||||
<span>Deconnexion</span>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<main class="app-main">
|
||||
@if (session('status'))
|
||||
<div class="notice flash">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('error'))
|
||||
<div class="notice error flash">
|
||||
{{ session('error') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@yield('content')
|
||||
</main>
|
||||
</div>
|
||||
@else
|
||||
<main class="app-main">
|
||||
@if (session('status'))
|
||||
<div class="notice flash">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('error'))
|
||||
<div class="notice error flash">
|
||||
{{ session('error') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@yield('content')
|
||||
</main>
|
||||
@endauth
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user