40 lines
1.8 KiB
PHP
40 lines
1.8 KiB
PHP
<!doctype html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<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">
|
|
<title>ToDo</title>
|
|
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<nav class="navbar navbar-expand-lg bg-light">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="#">ToDo</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
<li class="nav-item">
|
|
<a class="nav-link {{ request()->is('admin/tasks*') ? 'active' : '' }}" aria-current="page" href="{{ route('tasks.index') }}">Задачи</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link {{ request()->is('admin/task_statuses*') ? 'active' : '' }}" aria-current="page" href="{{ route('task_statuses.index') }}">Статусы</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link {{ request()->is('admin/labels*') ? 'active' : '' }}" href="{{ route('labels.index') }}">Метки</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
<div class="container mt-4">
|
|
@yield('content')
|
|
</div>
|
|
</body>
|
|
</html>
|