From 551864fbb846c6327146be65606b81a991cc592d Mon Sep 17 00:00:00 2001 From: aslan Date: Mon, 12 Feb 2024 15:02:31 +0300 Subject: [PATCH] refactoring rename admin view --- .../views/admin/catalog/department/create.blade.php | 2 +- .../views/admin/catalog/department/edit.blade.php | 2 +- .../views/admin/catalog/department/index.blade.php | 2 +- .../views/admin/catalog/department/show.blade.php | 2 +- .../views/admin/catalog/direction/create.blade.php | 2 +- .../views/admin/catalog/direction/edit.blade.php | 2 +- .../views/admin/catalog/direction/index.blade.php | 2 +- .../views/admin/catalog/direction/show.blade.php | 2 +- .../catalog/educational_institution/create.blade.php | 2 +- .../catalog/educational_institution/edit.blade.php | 2 +- .../catalog/educational_institution/index.blade.php | 2 +- .../catalog/educational_institution/show.blade.php | 2 +- .../views/admin/catalog/faculty/create.blade.php | 2 +- resources/views/admin/catalog/faculty/edit.blade.php | 2 +- resources/views/admin/catalog/faculty/index.blade.php | 2 +- resources/views/admin/catalog/faculty/show.blade.php | 2 +- ...{admin-layout.blade.php => admin_layout.blade.php} | 11 ++--------- 17 files changed, 18 insertions(+), 25 deletions(-) rename resources/views/layouts/{admin-layout.blade.php => admin_layout.blade.php} (95%) diff --git a/resources/views/admin/catalog/department/create.blade.php b/resources/views/admin/catalog/department/create.blade.php index 6b963be..b522a18 100644 --- a/resources/views/admin/catalog/department/create.blade.php +++ b/resources/views/admin/catalog/department/create.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/department/edit.blade.php b/resources/views/admin/catalog/department/edit.blade.php index 4640148..8908b68 100644 --- a/resources/views/admin/catalog/department/edit.blade.php +++ b/resources/views/admin/catalog/department/edit.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/department/index.blade.php b/resources/views/admin/catalog/department/index.blade.php index 9c8ff45..da26514 100644 --- a/resources/views/admin/catalog/department/index.blade.php +++ b/resources/views/admin/catalog/department/index.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content')

Кафедры

diff --git a/resources/views/admin/catalog/department/show.blade.php b/resources/views/admin/catalog/department/show.blade.php index c6be54f..2d8c097 100644 --- a/resources/views/admin/catalog/department/show.blade.php +++ b/resources/views/admin/catalog/department/show.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/direction/create.blade.php b/resources/views/admin/catalog/direction/create.blade.php index 5f94105..8d8e121 100644 --- a/resources/views/admin/catalog/direction/create.blade.php +++ b/resources/views/admin/catalog/direction/create.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/direction/edit.blade.php b/resources/views/admin/catalog/direction/edit.blade.php index ec4d2de..ea231cd 100644 --- a/resources/views/admin/catalog/direction/edit.blade.php +++ b/resources/views/admin/catalog/direction/edit.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth() diff --git a/resources/views/admin/catalog/direction/index.blade.php b/resources/views/admin/catalog/direction/index.blade.php index 8067380..544eff4 100644 --- a/resources/views/admin/catalog/direction/index.blade.php +++ b/resources/views/admin/catalog/direction/index.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content')

Направления

diff --git a/resources/views/admin/catalog/direction/show.blade.php b/resources/views/admin/catalog/direction/show.blade.php index 738f797..8cbf2ae 100644 --- a/resources/views/admin/catalog/direction/show.blade.php +++ b/resources/views/admin/catalog/direction/show.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/educational_institution/create.blade.php b/resources/views/admin/catalog/educational_institution/create.blade.php index dc6fd9c..c1b4992 100644 --- a/resources/views/admin/catalog/educational_institution/create.blade.php +++ b/resources/views/admin/catalog/educational_institution/create.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/educational_institution/edit.blade.php b/resources/views/admin/catalog/educational_institution/edit.blade.php index 9ce40b4..3584bc8 100644 --- a/resources/views/admin/catalog/educational_institution/edit.blade.php +++ b/resources/views/admin/catalog/educational_institution/edit.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/educational_institution/index.blade.php b/resources/views/admin/catalog/educational_institution/index.blade.php index f433d28..c4a718e 100644 --- a/resources/views/admin/catalog/educational_institution/index.blade.php +++ b/resources/views/admin/catalog/educational_institution/index.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content')

Учебные заведения

diff --git a/resources/views/admin/catalog/educational_institution/show.blade.php b/resources/views/admin/catalog/educational_institution/show.blade.php index 93351eb..331359a 100644 --- a/resources/views/admin/catalog/educational_institution/show.blade.php +++ b/resources/views/admin/catalog/educational_institution/show.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/faculty/create.blade.php b/resources/views/admin/catalog/faculty/create.blade.php index 9fa6346..a843176 100644 --- a/resources/views/admin/catalog/faculty/create.blade.php +++ b/resources/views/admin/catalog/faculty/create.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
diff --git a/resources/views/admin/catalog/faculty/edit.blade.php b/resources/views/admin/catalog/faculty/edit.blade.php index b7c7c13..5107a46 100644 --- a/resources/views/admin/catalog/faculty/edit.blade.php +++ b/resources/views/admin/catalog/faculty/edit.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth() diff --git a/resources/views/admin/catalog/faculty/index.blade.php b/resources/views/admin/catalog/faculty/index.blade.php index 7614951..6e42f33 100644 --- a/resources/views/admin/catalog/faculty/index.blade.php +++ b/resources/views/admin/catalog/faculty/index.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content')

Факультеты

diff --git a/resources/views/admin/catalog/faculty/show.blade.php b/resources/views/admin/catalog/faculty/show.blade.php index e79290c..5c978cd 100644 --- a/resources/views/admin/catalog/faculty/show.blade.php +++ b/resources/views/admin/catalog/faculty/show.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.admin-layout') +@extends('layouts.admin_layout') @section('content') @auth()
{{ $faculty->educationalInstitution->name }} -> {{ $faculty->name }}
diff --git a/resources/views/layouts/admin-layout.blade.php b/resources/views/layouts/admin_layout.blade.php similarity index 95% rename from resources/views/layouts/admin-layout.blade.php rename to resources/views/layouts/admin_layout.blade.php index 2be4020..6f460dc 100644 --- a/resources/views/layouts/admin-layout.blade.php +++ b/resources/views/layouts/admin_layout.blade.php @@ -5,7 +5,6 @@ - Панель администратора @vite(['resources/js/app.js']) @@ -19,15 +18,11 @@ - - -
@yield('content')
-