mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
81 lines
2.8 KiB
PHP
81 lines
2.8 KiB
PHP
<!DOCTYPE html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{{ config('app.name') }}</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ asset('css/style.css') }}">
|
|
@if (config('instance.custom_theme') & file_exists(public_path('css/' . config('app.env') . '.style.css')))
|
|
<link rel="stylesheet" type="text/css" href="{{ asset('css/' . config('app.env') . '.style.css') }}">
|
|
@endif
|
|
|
|
<script src="{{ asset('scripts/utils.js') }}"></script>
|
|
<script src="{{ asset('scripts/chart.js') }}"></script>
|
|
<script src="{{ asset('scripts/chartjs-plugin-datalabels@2.0.0') }}"></script>
|
|
</head>
|
|
|
|
<body class="@if (isset($welcome) && $welcome) welcome @endif">
|
|
<header>
|
|
<nav>
|
|
<a id="logo" href="{{ route('account.home') }}"><span
|
|
class="on_desktop">{{ config('app.name') }}</span></a>
|
|
|
|
@if (!isset($welcome) || $welcome == false)
|
|
<a id="menu" class="on_mobile" href="#"
|
|
onclick="document.body.classList.toggle('show_menu')"></a>
|
|
@endif
|
|
|
|
<a class="oppose" href="{{ route('about') }}">
|
|
<i class="ph">info</i><span class="on_desktop">About</span>
|
|
</a>
|
|
@if (auth()->user())
|
|
<a class="oppose" href="{{ route('account.dashboard') }}">
|
|
<i class="ph">user</i>
|
|
<span class="on_desktop">{{ auth()->user()->identifier }}</span>
|
|
|
|
@if (auth()->user()->superAdmin)
|
|
<span class="badge badge-error" title="Admin">Super Adm.</span>
|
|
@elseif (auth()->user()->admin)
|
|
<span class="badge badge-primary" title="Admin">Adm.</span>
|
|
@endif
|
|
</a>
|
|
<a class="oppose" href="{{ route('account.logout') }}">
|
|
<i class="ph">sign-out</i>
|
|
</a>
|
|
@endif
|
|
</nav>
|
|
</header>
|
|
|
|
<content>
|
|
@if (!isset($welcome) || $welcome == false)
|
|
@include('parts.sidebar')
|
|
@endif
|
|
|
|
@include('parts.errors')
|
|
|
|
@if (!isset($welcome) || $welcome == false)
|
|
<section @if (isset($grid) && $grid) class="grid" @endif>
|
|
|
|
@hasSection('breadcrumb')
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="{{ route('account.dashboard') }}">My Account</a></li>
|
|
@yield('breadcrumb')
|
|
</ol>
|
|
</nav>
|
|
@endif
|
|
@endif
|
|
|
|
@yield('content')
|
|
|
|
@if (!isset($welcome) || $welcome == false)
|
|
</section>
|
|
@endif
|
|
</content>
|
|
</body>
|
|
|
|
</html>
|