refactoring rename admin view
This commit is contained in:
parent
94300bee31
commit
551864fbb8
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Кафедры</h2>
|
<h2>Кафедры</h2>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<h6>
|
<h6>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
@auth()
|
@auth()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Направления</h2>
|
<h2>Направления</h2>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<h6>
|
<h6>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Учебные заведения</h2>
|
<h2>Учебные заведения</h2>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="container mt-4">
|
<div class="container mt-4">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
@auth()
|
@auth()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Факультеты</h2>
|
<h2>Факультеты</h2>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@extends('layouts.admin-layout')
|
@extends('layouts.admin_layout')
|
||||||
@section('content')
|
@section('content')
|
||||||
@auth()
|
@auth()
|
||||||
<h6><a href="{{ route('educational_institutions.show', $faculty->educationalInstitution) }}">{{ $faculty->educationalInstitution->name }}</a> -> {{ $faculty->name }}</h6>
|
<h6><a href="{{ route('educational_institutions.show', $faculty->educationalInstitution) }}">{{ $faculty->educationalInstitution->name }}</a> -> {{ $faculty->name }}</h6>
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
<meta name="csrf-param" content="_token"/>
|
<meta name="csrf-param" content="_token"/>
|
||||||
|
|
||||||
<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">
|
||||||
|
@ -19,15 +18,11 @@
|
||||||
<ul class="nav col-9 col-md-auto mb-2 justify-content-start mb-md-0">
|
<ul class="nav col-9 col-md-auto mb-2 justify-content-start mb-md-0">
|
||||||
<li><a href="{{ route('dashboard') }}" class="nav-link px-2 link-secondary text-wrap" style="width: 4rem;">Главная</a>
|
<li><a href="{{ route('dashboard') }}" class="nav-link px-2 link-secondary text-wrap" style="width: 4rem;">Главная</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="col-md-3 text-center">
|
<div class="col-md-3 text-center">
|
||||||
<a href="{{ route('home') }}" class="nav-link px-2 link-secondary">Сайт abitur.mkgtu.ru</a>
|
<a href="{{ route('home') }}" class="nav-link px-2 link-secondary">Сайт abitur.mkgtu.ru</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3 text-end">
|
<div class="col-md-3 text-end">
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@guest()
|
@guest()
|
||||||
<a href="{{ route("login") }}" class="btn btn-outline-primary me-2">
|
<a href="{{ route("login") }}" class="btn btn-outline-primary me-2">
|
||||||
|
@ -46,11 +41,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="row align-items-start">
|
<div class="row align-items-start">
|
||||||
<aside class="list-group col-2">
|
<aside class="list-group col-2">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="list-group-item"><a href="{{ route('files.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('admin-reception-screen.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>
|
||||||
|
@ -58,7 +52,7 @@
|
||||||
@endif
|
@endif
|
||||||
<li class="list-group-item"></li>
|
<li class="list-group-item"></li>
|
||||||
<li class="list-group-item">Справочники</li>
|
<li class="list-group-item">Справочники</li>
|
||||||
<li class="list-group-item"><a href="{{ route('educational-institutions.index') }}">Учебные
|
<li class="list-group-item"><a href="{{ route('educational_institutions.index') }}">Учебные
|
||||||
заведения</a></li>
|
заведения</a></li>
|
||||||
<li class="list-group-item"><a href="{{ route('faculties.index') }}">Факультеты</a></li>
|
<li class="list-group-item"><a href="{{ route('faculties.index') }}">Факультеты</a></li>
|
||||||
<li class="list-group-item"><a href="{{ route('departments.index') }}">Кафедры</a></li>
|
<li class="list-group-item"><a href="{{ route('departments.index') }}">Кафедры</a></li>
|
||||||
|
@ -67,7 +61,6 @@
|
||||||
</aside>
|
</aside>
|
||||||
<main class="col-10">@yield('content')</main>
|
<main class="col-10">@yield('content')</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue