-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from yepwoo/dev
Dev
- Loading branch information
Showing
23 changed files
with
352 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<form> | ||
<div class="form-group has-feedback"> | ||
<label>Name <span class="text-danger">*</span></label> | ||
<input class="form-control" name="name" required> | ||
<div class="invalid-feedback has-error"> | ||
<div>name is required</div> | ||
</div> | ||
</div> | ||
|
||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@extends($global['base']['namespace'] . 'layouts.master') | ||
|
||
@section('content') | ||
<div class="section-header"> | ||
<h1> | ||
New Unit | ||
<a class="btn btn-success" href="{{ route($global['module']['routes']['index']) }}"> | ||
Go To All Units | ||
</a> | ||
</h1> | ||
</div> | ||
|
||
<div class="section-body"> | ||
<h2 class="section-title">New Unit</h2> | ||
<p class="section-lead">create new unit</p> | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h4>The Form</h4> | ||
</div> | ||
<div class="card-body"> | ||
@include($global['module']['path'] .'._form') | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@extends($global['base']['namespace'] . 'layouts.master') | ||
|
||
@section('content') | ||
<div class="section-header"> | ||
<h1> | ||
Edit Unit | ||
<a class="btn btn-success" href="{{ route($global['module']['routes']['index']) }}"> | ||
Go To All Units | ||
</a> | ||
</h1> | ||
</div> | ||
|
||
<div class="section-body"> | ||
<h2 class="section-title">Edit Unit</h2> | ||
<p class="section-lead">edit the unit</p> | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h4>The Form</h4> | ||
</div> | ||
<div class="card-body"> | ||
@include($global['module']['path'] .'._form') | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@extends($global['base']['namespace'] . 'layouts.master') | ||
|
||
@section('content') | ||
<div class="section-header"> | ||
<h1> | ||
All Units | ||
<a class="btn btn-success" href="{{ route($global['module']['routes']['create']) }}"> | ||
Create New Unit | ||
</a> | ||
</h1> | ||
</div> | ||
|
||
<div class="section-body"> | ||
<h2 class="section-title">All Units</h2> | ||
<p class="section-lead">the list of the units</p> | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h4>The List</h4> | ||
</div> | ||
<div class="card-body p-0"> | ||
<div class="table-responsive"> | ||
<table class="table table-striped table-md"> | ||
<caption class="d-none">units list</caption> | ||
<thead> | ||
<tr> | ||
<th scope="col">#</th> | ||
<th scope="col">Name</th> | ||
<th scope="col">Action</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>100</td> | ||
<td>Hello World!</td> | ||
<td> | ||
<a class="btn btn-info" href="#"> | ||
<i class="fas fa-search" aria-hidden="true"></i> | ||
</a> | ||
<a class="btn btn-primary" href="#"> | ||
<i class="fas fa-pencil-alt" aria-hidden="true"></i> | ||
</a> | ||
<a class="btn btn-danger" href="#"> | ||
<i class="fas fa-trash-alt" aria-hidden="true"></i> | ||
</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@extends($global['base']['namespace'] . 'layouts.master') | ||
|
||
@section('content') | ||
<div class="section-header"> | ||
<h1> | ||
Unit Details | ||
<a class="btn btn-success" href="{{ route($global['module']['routes']['index']) }}"> | ||
Go To All Units | ||
</a> | ||
</h1> | ||
</div> | ||
|
||
<div class="section-body"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h4 class="card-title">Unit Info</h4> | ||
</div> | ||
<div class="card-body"> | ||
<p class="mb-1"> | ||
<strong class="text-capitalize">#</strong> <br> | ||
100 | ||
</p> | ||
|
||
<p class="mb-1"> | ||
<strong class="text-capitalize">Name</strong> <br> | ||
Hello World! | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"> | ||
<title>Home</title> | ||
|
||
@yield('css') | ||
</head> | ||
|
||
<body> | ||
<div class="wrapper"> | ||
{{-- NAVBAR --}} | ||
@include($global['base']['namespace'] . 'layouts.partials._navbar') | ||
|
||
{{-- SIDEBAR --}} | ||
@include($global['base']['namespace'] . 'layouts.partials._sidebar') | ||
|
||
{{-- PAGE CONTENT --}} | ||
<div class="content"> | ||
@yield('content') | ||
</div> | ||
</div> | ||
|
||
@yield('js') | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<nav> | ||
NAVBAR | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<aside> | ||
SIDEBAR | ||
</aside> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.