2019-10-01 11:53:12 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2019-10-01 16:15:50 +02:00
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<meta http-equiv="Content-Language" content="{{ str_replace('_', '-', app()->getLocale()) }}" />
|
2019-10-01 11:53:12 +02:00
|
|
|
<!-- CSRF Token -->
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
2019-10-01 16:15:50 +02:00
|
|
|
<title>{{ config('app.name', 'Journal Intime') }}</title>
|
2019-10-01 11:53:12 +02:00
|
|
|
|
|
|
|
<!-- Scripts -->
|
|
|
|
<script src="{{ asset('js/app.js') }}" defer></script>
|
|
|
|
|
|
|
|
<!-- Styles -->
|
|
|
|
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
|
|
|
</head>
|
|
|
|
<body>
|
2019-10-01 16:15:50 +02:00
|
|
|
<div class="page">
|
|
|
|
<div class="header py-4">
|
2019-10-01 11:53:12 +02:00
|
|
|
<div class="container">
|
2019-10-01 16:15:50 +02:00
|
|
|
<div class="d-flex">
|
|
|
|
<a class="header-brand" href="{{ url('/') }}">
|
|
|
|
{{-- <img src="./demo/brand/tabler.svg" class="header-brand-img" alt="tabler logo">--}}
|
|
|
|
{{ config('app.name', 'Journal Intime') }}
|
|
|
|
</a>
|
|
|
|
<div class="d-flex order-lg-2 ml-auto">
|
2019-10-01 11:53:12 +02:00
|
|
|
@guest
|
2019-10-01 16:15:50 +02:00
|
|
|
<div class="nav-item d-none d-md-flex">
|
|
|
|
<a href="{{ route('login') }}" class="btn btn-sm btn-outline-primary">{{ __('Login') }}</a>
|
|
|
|
</div>
|
2019-10-01 11:53:12 +02:00
|
|
|
@if (Route::has('register'))
|
2019-10-01 16:15:50 +02:00
|
|
|
<div class="nav-item d-none d-md-flex">
|
|
|
|
<a href="{{ route('register') }}" class="btn btn-sm btn-outline-primary">{{ __('Register') }}</a>
|
|
|
|
</div>
|
2019-10-01 11:53:12 +02:00
|
|
|
@endif
|
|
|
|
@else
|
2019-10-01 16:15:50 +02:00
|
|
|
<div class="dropdown d-none d-md-flex">
|
|
|
|
<a class="nav-link icon" data-toggle="dropdown">
|
|
|
|
<i class="fe fe-bell"></i>
|
|
|
|
<span class="nav-unread"></span>
|
2019-10-01 11:53:12 +02:00
|
|
|
</a>
|
2019-10-01 16:15:50 +02:00
|
|
|
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
|
|
|
|
<!--<a href="#" class="dropdown-item d-flex">
|
|
|
|
<span class="avatar mr-3 align-self-center" style="background-image: url(demo/faces/male/41.jpg)"></span>
|
|
|
|
<div>
|
|
|
|
<strong>Nathan</strong> pushed new commit: Fix page load performance issue.
|
|
|
|
<div class="small text-muted">10 minutes ago</div>
|
|
|
|
</div>
|
|
|
|
</a>-->
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a href="#" class="dropdown-item text-center">Mark all as read</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="dropdown">
|
|
|
|
<a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
|
|
|
|
<span class="avatar">{{ substr(Auth::user()->name, 0, 1) }}</span>
|
|
|
|
<span class="ml-2 d-none d-lg-block">
|
|
|
|
<span class="text-default">{{ Auth::user()->name }}</span>
|
|
|
|
<small class="text-muted d-block mt-1"></small>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<i class="dropdown-icon fe fe-user"></i> Profile
|
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<i class="dropdown-icon fe fe-settings"></i> Settings
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
2019-10-01 11:53:12 +02:00
|
|
|
<a class="dropdown-item" href="{{ route('logout') }}"
|
|
|
|
onclick="event.preventDefault();
|
2019-10-01 16:15:50 +02:00
|
|
|
document.getElementById('logout-form').submit();">
|
|
|
|
<i class="dropdown-icon fe fe-log-out"></i> {{ __('Logout') }}
|
2019-10-01 11:53:12 +02:00
|
|
|
</a>
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
|
|
|
@csrf
|
|
|
|
</form>
|
|
|
|
</div>
|
2019-10-01 16:15:50 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-01 11:53:12 +02:00
|
|
|
@endguest
|
2019-10-01 16:15:50 +02:00
|
|
|
|
|
|
|
<a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse" data-target="#headerMenuCollapse">
|
|
|
|
<span class="header-toggler-icon"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="header collapse d-lg-flex p-0" id="headerMenuCollapse">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row align-items-center">
|
|
|
|
<div class="col-lg-3 ml-auto">
|
|
|
|
<form class="input-icon my-3 my-lg-0">
|
|
|
|
<input type="search" class="form-control header-search" placeholder="Search…" tabindex="1">
|
|
|
|
<div class="input-icon-addon">
|
|
|
|
<i class="fe fe-search"></i>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg order-lg-first">
|
|
|
|
<ul class="nav nav-tabs border-0 flex-column flex-lg-row">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="./" class="nav-link active"><i class="fe fe-home"></i> {{ __('Accueil') }}</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a href="#" class="nav-link"><i class="fe fe-trending-up"></i> {{ __('Mes statistiques') }}</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="#" class="nav-link"><i class="fe fe-image"></i> {{ __('Ma gallerie') }}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2019-10-01 11:53:12 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-10-01 16:15:50 +02:00
|
|
|
</div>
|
2019-10-01 11:53:12 +02:00
|
|
|
|
2019-10-01 16:15:50 +02:00
|
|
|
<main class="my-3 my-md-5 flex-fill">
|
2019-10-01 11:53:12 +02:00
|
|
|
@yield('content')
|
|
|
|
</main>
|
2019-10-01 16:15:50 +02:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row align-items-center flex-row-reverse">
|
|
|
|
<div class="col-auto ml-lg-auto">
|
|
|
|
<div class="row align-items-center">
|
|
|
|
<div class="col-auto">
|
|
|
|
<ul class="list-inline list-inline-dots mb-0">
|
|
|
|
<li class="list-inline-item"><a href="./docs/index.html">Documentation</a></li>
|
|
|
|
<li class="list-inline-item"><a href="./faq.html">FAQ</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-auto">
|
|
|
|
<a href="https://github.com/tabler/tabler" class="btn btn-outline-primary btn-sm">Source code</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-12 col-lg-auto mt-3 mt-lg-0 text-center">
|
|
|
|
Copyright © 2019 <a href="{{ config('app.url') }}">{{ config('app.name') }}</a>. Thème par <a href="https://codecalm.net" target="_blank">codecalm.net</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2019-10-01 11:53:12 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|