소스 검색

fix: 模板更新

igb 6 달 전
부모
커밋
ac8e233eab

+ 4 - 7
resources/views/distributor/layouts/container.blade.php

@@ -9,9 +9,9 @@
 {!! admin_section(Dcat\Admin\Admin::SECTION['BODY_INNER_BEFORE']) !!}
 
 <div class="wrapper">
-    @include('admin::partials.sidebar')
+    @include('distributor.partials.sidebar')
 
-    @include('admin::partials.navbar')
+    @include('distributor.partials.navbar')
 
     <div class="app-content content">
         <div class="content-wrapper" id="{{ $pjaxContainerId }}" style="top: 0;min-height: 900px;">
@@ -23,10 +23,7 @@
 <footer class="main-footer pt-1">
     <p class="clearfix blue-grey lighten-2 mb-0 text-center">
             <span class="text-center d-block d-md-inline-block mt-25">
-                Powered by
-                <a target="_blank" href="https://github.com/ycookies/dcat-plus-admin">Dcat-plus Admin (速码邦)</a>
-                <span>&nbsp;·&nbsp;</span>
-                {{ \Dcat\Admin\Support\Helper::getPackageVersion('dcat-plus/laravel-admin') }}
+              Powered by MTB
             </span>
 
         <button class="btn btn-primary btn-icon scroll-top pull-right" style="position: fixed;bottom: 2%; right: 10px;display: none">
@@ -96,4 +93,4 @@
 
 </body>
 
-</html>
+</html>

+ 8 - 5
resources/views/distributor/layouts/content.blade.php

@@ -9,20 +9,21 @@
             <div>&nbsp;</div>
         @endif
 
-        @include('admin::partials.breadcrumb')
+        @include('distributor.partials.breadcrumb')
 
     </section>
 @endsection
 
 @section('content')
-    @include('admin::partials.alerts')
-    @include('admin::partials.exception')
+    @include('distributor.partials.alerts')
+    @include('distributor.partials.exception')
 
     {!! $content !!}
 
-    @include('admin::partials.toastr')
+    @include('distributor.partials.toastr')
 @endsection
 
+
 @section('app')
     {!! Dcat\Admin\Admin::asset()->styleToHtml() !!}
 
@@ -45,7 +46,9 @@
 @endsection
 
 @if(! request()->pjax())
-    @include('admin::layouts.page')
+
+    @include('distributor.layouts.page')
+
 @else
     <title>{{ Dcat\Admin\Admin::title() }} @if($header) | {{ $header }}@endif</title>
 

+ 4 - 4
resources/views/distributor/layouts/full-content.blade.php

@@ -1,11 +1,11 @@
 @section('content')
     <section class="content">
-        @include('admin::partials.alerts')
-        @include('admin::partials.exception')
+        @include('distributor.partials.alerts')
+        @include('distributor.partials.exception')
 
         {!! $content !!}
 
-        @include('admin::partials.toastr')
+        @include('distributor.partials.toastr')
     </section>
 @endsection
 
@@ -28,7 +28,7 @@
 
 
 @if(!request()->pjax())
-    @include('admin::layouts.full-page', ['header' => $header])
+    @include('distributor.layouts.full-page', ['header' => $header])
 @else
     <title>{{ Dcat\Admin\Admin::title() }} @if($header) | {{ $header }}@endif</title>
 

+ 3 - 2
resources/views/distributor/layouts/page.blade.php

@@ -1,6 +1,6 @@
+
 <!DOCTYPE html>
 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
-
 <head>
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
@@ -25,4 +25,5 @@
     {!! Dcat\Admin\Admin::asset()->cssToHtml() !!}
 </head>
 
-@extends('admin::layouts.container')
+<!-- distributor/layouts/page -->
+@extends('distributor.layouts.container')