refactoring views, rename routes
This commit is contained in:
parent
968a4b06c8
commit
fffd4c3310
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
<title>Панель администратора</title>
|
<title>Панель администратора</title>
|
||||||
@vite(['resources/js/app.js'])
|
@vite(['resources/js/app.js'])
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link href="https://getbootstrap.su/docs/5.3/assets/css/docs.css" rel="stylesheet">
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="antialiased">
|
<body class="antialiased">
|
||||||
|
@ -45,7 +44,7 @@
|
||||||
<aside class="list-group col-2">
|
<aside class="list-group col-2">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="list-group-item"><a href="{{ route('documents.index') }}">Документы</a></li>
|
<li class="list-group-item"><a href="{{ route('documents.index') }}">Документы</a></li>
|
||||||
<li class="list-group-item"><a href="{{ route('admin-reception-screen.index') }}">Экран Приема</a></li>
|
<li class="list-group-item"><a href="{{ route('admissions.index') }}">Экран Приема</a></li>
|
||||||
@if(!is_null(Auth::getUser()) && Auth::getUser()->name === 'admin')
|
@if(!is_null(Auth::getUser()) && Auth::getUser()->name === 'admin')
|
||||||
<li class="list-group-item"></li>
|
<li class="list-group-item"></li>
|
||||||
<li class="list-group-item"><a href="{{ route('users.index') }}">Список администраторов</a></li>
|
<li class="list-group-item"><a href="{{ route('users.index') }}">Список администраторов</a></li>
|
||||||
|
|
Loading…
Reference in New Issue