Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update page stub to closely match backpack pages #206

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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