flexisip-account-manager/flexiapi/resources/views/layouts/main.blade.php
Timothée Jaussoin 7a17897193 Add ExternalAccounts and related features
- Consume an ExternalAccount on Account creation
- Add a tombstone to an ExternalAccount to ensure non re-usage
- Add related tests
- Generalize Utils
- Stop public registration when there is no ExternalAccounts left
- Add GenerateExternalAccounts, ExportToExternalAccounts and ImportExternalAccounts console scripts
- Provision the ExternalAccount using the depends_on/idkey pair
2022-07-12 17:05:17 +02:00

40 lines
No EOL
1.4 KiB
PHP

@extends('layouts.base')
@section('header')
@if (config('app.web_panel'))
<nav class="navbar navbar-expand-lg">
<div class="collapse navbar-collapse" >
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="{{ route('account.home') }}">{{ config('app.name') }}</a>
</li>
@if (isset($user) && get_class($user) == 'App\Account')
<li class="nav-item active">
<a class="nav-link" href="{{ route('account.panel') }}">My Account</a>
</li>
@endif
</ul>
<ul class="navbar-nav">
@if (publicRegistrationEnabled())
<li class="nav-item @if (request()->routeIs('account.register')) active @endif">
<a class="nav-link" href="{{ route('account.register') }}">Register</a>
</li>
@endif
<li class="nav-item @if (request()->routeIs('account.login')) active @endif">
<a class="nav-link" href="{{ route('account.login') }}">Login</a>
</li>
</ul>
</div>
</nav>
@endif
@endsection
@section('body')
<div class="container pt-4">
@include('parts.errors')
@yield('content')
</div>
@endsection