Sample module

This commit is contained in:
Nabeel Shahzad
2017-12-01 14:38:30 -06:00
parent a829bf7678
commit 21c7fa4dc6
15 changed files with 385 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
@extends('sample::layouts.admin')
@section('title', 'Sample')
@section('actions')
<li>
<a href="{!! url('/sample/admin/create') !!}">
<i class="ti-plus"></i>
Add New</a>
</li>
@endsection
@section('content')
<div class="card border-blue-bottom">
<div class="header"><h4 class="title">Admin Scaffold!</h4></div>
<div class="content">
<p>This view is loaded from module: {!! config('sample.name') !!}</p>
</div>
</div>
@endsection

View File

@@ -0,0 +1,9 @@
@extends('sample::layouts.frontend')
@section('content')
<h1>Hello World</h1>
<p>
This view is loaded from module: {!! config('sample.name') !!}
</p>
@endsection

View File

@@ -0,0 +1,5 @@
{{--
You probably don't want to edit anything here. Just make
sure to extend this in your views. It will pass the content section through
--}}
@extends('admin.app')

View File

@@ -0,0 +1,5 @@
{{--
You probably don't want to edit anything here. Just make
sure to extend this in your views. It will pass the content section through
--}}
@extends('layouts.' . config('phpvms.skin') . '.app')