Simplify blades
This commit is contained in:
parent
7224b32c8f
commit
86bed61a0e
|
|
@ -1,20 +1,2 @@
|
|||
@extends('admin.master')
|
||||
|
||||
@section('title', trans('general.plugin-market'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@lang('general.plugin-market')
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content"></section>
|
||||
</div><!-- /.content-wrapper -->
|
||||
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'admin', 'title' => trans('general.plugin-market')])
|
||||
@endcomponent
|
||||
|
|
|
|||
|
|
@ -1,20 +1,2 @@
|
|||
@extends('admin.master')
|
||||
|
||||
@section('title', trans('general.player-manage'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@lang('general.player-manage')
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content"></section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'admin', 'title' => trans('general.player-manage')])
|
||||
@endcomponent
|
||||
|
|
|
|||
|
|
@ -1,20 +1,2 @@
|
|||
@extends('admin.master')
|
||||
|
||||
@section('title', trans('general.plugin-manage'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@lang('general.plugin-manage')
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content"></section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'admin', 'title' => trans('general.plugin-manage')])
|
||||
@endcomponent
|
||||
|
|
|
|||
|
|
@ -1,12 +1,2 @@
|
|||
@extends('admin.master')
|
||||
|
||||
@section('title', trans('general.report-manage'))
|
||||
|
||||
@section('content')
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>@lang('general.report-manage')</h1>
|
||||
</section>
|
||||
<section class="content"></section>
|
||||
</div>
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'admin', 'title' => trans('general.report-manage')])
|
||||
@endcomponent
|
||||
|
|
|
|||
14
resources/views/common/skeleton.blade.php
Normal file
14
resources/views/common/skeleton.blade.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@extends("$parent.master")
|
||||
|
||||
@section('title', $title)
|
||||
|
||||
@section('content')
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>{{ $title }}</h1>
|
||||
</section>
|
||||
<section class="content"></section>
|
||||
</div>
|
||||
|
||||
{{ $bottom ?? '' }}
|
||||
@endsection
|
||||
|
|
@ -1,12 +1,2 @@
|
|||
@extends('user.master')
|
||||
|
||||
@section('title', trans('general.oauth-manage'))
|
||||
|
||||
@section('content')
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>@lang('general.oauth-manage')</h1>
|
||||
</section>
|
||||
<section class="content"></section>
|
||||
</div>
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'user', 'title' => trans('general.oauth-manage')])
|
||||
@endcomponent
|
||||
|
|
|
|||
|
|
@ -1,24 +1,5 @@
|
|||
@extends('user.master')
|
||||
|
||||
@section('title', trans('general.player-manage'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@lang('general.player-manage')
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content"></section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
|
||||
<script>
|
||||
blessing.extra = @json($extra)
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'user', 'title' => trans('general.player-manage')])
|
||||
@slot('bottom')
|
||||
<script>blessing.extra = @json($extra)</script>
|
||||
@endslot
|
||||
@endcomponent
|
||||
|
|
|
|||
|
|
@ -1,26 +1,10 @@
|
|||
@extends('user.master')
|
||||
|
||||
@section('title', trans('general.profile'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
@lang('general.profile')
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content"></section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
|
||||
<script>
|
||||
Object.defineProperty(blessing, 'extra', {
|
||||
configurable: false,
|
||||
get: () => Object.freeze(@json($extra)),
|
||||
})
|
||||
</script>
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'user', 'title' => trans('general.profile')])
|
||||
@slot('bottom')
|
||||
<script>
|
||||
Object.defineProperty(blessing, 'extra', {
|
||||
configurable: false,
|
||||
get: () => Object.freeze(@json($extra)),
|
||||
})
|
||||
</script>
|
||||
@endslot
|
||||
@endcomponent
|
||||
|
|
|
|||
|
|
@ -1,12 +1,2 @@
|
|||
@extends('user.master')
|
||||
|
||||
@section('title', trans('general.my-reports'))
|
||||
|
||||
@section('content')
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
<h1>@lang('general.my-reports')</h1>
|
||||
</section>
|
||||
<section class="content"></section>
|
||||
</div>
|
||||
@endsection
|
||||
@component('common.skeleton', ['parent' => 'user', 'title' => trans('general.my-reports')])
|
||||
@endcomponent
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user