Skip to content

Commit

Permalink
Merge pull request #206 from Laravel-Backpack/update-page-stub
Browse files Browse the repository at this point in the history
Update page stub to closely match backpack pages
  • Loading branch information
pxpm authored Sep 4, 2024
2 parents 3171c45 + 3b4cb49 commit fcecfbd
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/Console/stubs/page.stub
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
@extends(backpack_view('layout'))

@section('content')
<div class="jumbotron">
<h1 class="mb-4">Dummy Name</h1>

<p>Go to <code>{{ $page }}</code> to edit this view or <code>{{ $controller }}</code> to edit the controller.</p>
</div>
<section class="header-operation container-fluid animated fadeIn d-flex mb-2 align-items-baseline d-print-none" bp-section="page-header">
<h1 class="text-capitalize mb-0" bp-section="page-heading">Dummy Name</h1>
<p class="ms-2 ml-2 mb-0" bp-section="page-subheading">Page for Dummy Name</p>
</section>
<section class="content container-fluid animated fadeIn" bp-section="content">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
Go to <code>{{ $page }}</code> to edit this view or <code>{{ $controller }}</code> to edit the controller.
</div>
</div>
</div>
</div>
@endsection

0 comments on commit fcecfbd

Please sign in to comment.