initial commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<div id="kt_app_toolbar" class="app-toolbar py-3 py-lg-6">
|
||||
|
||||
<div id="kt_app_toolbar_container" class="app-container container-xxl d-flex flex-stack">
|
||||
|
||||
<div class="page-title d-flex flex-column justify-content-center flex-wrap me-3">
|
||||
|
||||
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-3">
|
||||
{{ $title }}
|
||||
</h1>
|
||||
|
||||
<ul class="breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0 pt-1">
|
||||
|
||||
<li class="breadcrumb-item text-muted">
|
||||
<a href="{{ url('') }}" class="text-muted text-hover-primary">
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="breadcrumb-item">
|
||||
<span class="bullet bg-gray-400 w-5px h-2px"></span>
|
||||
</li>
|
||||
|
||||
<li class="breadcrumb-item text-muted">
|
||||
<a href="{{ $pageParentLink ?? url('') }}" class="text-muted text-hover-primary">
|
||||
{{ $pageParent }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="breadcrumb-item">
|
||||
<span class="bullet bg-gray-400 w-5px h-2px"></span>
|
||||
</li>
|
||||
|
||||
<li class="breadcrumb-item text-muted">
|
||||
{{ $pageName }}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
<div id="kt_app_toolbar" class="app-toolbar py-3 py-lg-6">
|
||||
|
||||
<div id="kt_app_toolbar_container" class="app-container container-xxl d-flex flex-stack">
|
||||
|
||||
<div class="page-title d-flex flex-column justify-content-center flex-wrap me-3">
|
||||
|
||||
<h1 class="page-heading d-flex text-dark fw-bold fs-3 flex-column justify-content-center my-3">
|
||||
{{ $title }}
|
||||
</h1>
|
||||
|
||||
<ul class="breadcrumb breadcrumb-separatorless fw-semibold fs-7 my-0 pt-1">
|
||||
|
||||
<li class="breadcrumb-item text-muted">
|
||||
<a href="{{ url('') }}" class="text-muted text-hover-primary">Dashboard</a>
|
||||
</li>
|
||||
|
||||
<li class="breadcrumb-item">
|
||||
<span class="bullet bg-gray-400 w-5px h-2px"></span>
|
||||
</li>
|
||||
|
||||
<li class="breadcrumb-item text-muted">{{ $pageName }}</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,32 @@
|
||||
<!--dynamic table-->
|
||||
<script type="text/javascript">
|
||||
const btnDTable = [];
|
||||
|
||||
const langDTable = {
|
||||
"lengthMenu": "แสดง _MENU_ หน้า"
|
||||
, "zeroRecords": "ไม่มีข้อมูล"
|
||||
, "info": "หน้า _PAGE_ จาก _PAGES_"
|
||||
, "infoEmpty": "ไม่มีข้อมูล"
|
||||
, "infoFiltered": "(filtered from _MAX_ total records)"
|
||||
};
|
||||
|
||||
$("#dynamic-table-1").dataTable({
|
||||
language: langDTable
|
||||
, order: [
|
||||
[0, "desc"]
|
||||
]
|
||||
, aoColumnDefs: [{
|
||||
'bSortable': true
|
||||
, 'aTargets': [0] /* 1st one, start by the right */
|
||||
}]
|
||||
, pageLength: 100
|
||||
, dom: 'Blfrtip'
|
||||
, lengthMenu: [
|
||||
[10, 25, 50, 100, 500]
|
||||
, [10, 25, 50, 100, 500]
|
||||
]
|
||||
, buttons: btnDTable
|
||||
, responsive: !0
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,40 @@
|
||||
<!--dynamic table-->
|
||||
<link href="{{ url('assets-backend/js/advanced-datatable/css/demo_page.css') }}" rel="stylesheet" />
|
||||
<link href="{{ url('assets-backend/js/advanced-datatable/css/demo_table.css') }}" rel="stylesheet" />
|
||||
<link href="{{ url('assets-backend/js/data-tables/DT_bootstrap.css') }}" rel="stylesheet" />
|
||||
|
||||
|
||||
<style>
|
||||
div.dataTables_wrapper div.dataTables_filter label {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.buttons-excel {
|
||||
background-color: #1fb5ad;
|
||||
border-color: #1fb5ad;
|
||||
color: #FFFFFF;
|
||||
margin-right: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.buttons-pdf {
|
||||
background-color: #fa8564;
|
||||
border-color: #fa8564;
|
||||
color: #FFFFFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.adv-table .dataTables_filter label input {
|
||||
border: solid 1px #e3e3e4;
|
||||
}
|
||||
|
||||
tr.odd td.sorting_1 {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="alert alert-block alert-danger fade in">
|
||||
<button data-dismiss="alert" class="close close-sm" type="button">
|
||||
<i class="fa fa-times"></i>
|
||||
</button>
|
||||
<strong>Oh snap!</strong> {{ Session::get('messageDetail') }}
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="alert alert-success fade in">
|
||||
<button data-dismiss="alert" class="close close-sm" type="button">
|
||||
<i class="fa fa-times"></i>
|
||||
</button>
|
||||
<strong>Well done!</strong> {{ Session::get('messageDetail') }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user