Gitlab@Informatics
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OSSD11_C0
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
64160174
OSSD11_C0
Commits
736ac319
Commit
736ac319
authored
2 years ago
by
64160072
Browse files
Options
Downloads
Patches
Plain Diff
datatable in approve member
parent
2b35ae9b
Branches
Branches containing commit
No related tags found
1 merge request
!12
proof tranfer update
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/views/Admin/Manage_member/v_approve_member.blade.php
+20
-18
20 additions, 18 deletions
...rces/views/Admin/Manage_member/v_approve_member.blade.php
with
20 additions
and
18 deletions
resources/views/Admin/Manage_member/v_approve_member.blade.php
+
20
−
18
View file @
736ac319
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
<html>
<html>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"
></script>
<script
src=
"https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"
></script>
<link
rel=
"stylesheet"
href=
"https://cdn.datatables.net/1.13.4/css/jquery.dataTables.min.css"
>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin=
"anonymous"
/>
integrity=
"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin=
"anonymous"
/>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
...
@@ -49,15 +51,15 @@
...
@@ -49,15 +51,15 @@
<span
class=
"col-3 text-center mt-2 "
>
<span
class=
"col-3 text-center mt-2 "
>
ทั้งหมด
ทั้งหมด
</span>
</span>
<span
class=
"col-3 text-center mt-2"
>
<!--
<span class="col-3 text-center mt-2">
อนุมัติแล้ว
อนุมัติแล้ว
</span>
</span>
<span class="col-3 text-center mt-2">
<span class="col-3 text-center mt-2">
รออนุมัติ
รออนุมัติ
</span>
</span>
-->
</div>
</div>
<div
class=
"col-mt-3 d-flex flex-row"
>
<!--
<div class="col-mt-3 d-flex flex-row">
<div class="input-group ">
<div class="input-group ">
<div class="form-outline">
<div class="form-outline">
<input type="search" id="form1" class="form-control" placeholder="ค้นหา">
<input type="search" id="form1" class="form-control" placeholder="ค้นหา">
...
@@ -66,7 +68,7 @@
...
@@ -66,7 +68,7 @@
<i class='bx bx-search-alt-2'></i>
<i class='bx bx-search-alt-2'></i>
</button>
</button>
</div>
</div>
</div>
</div>
-->
</div>
</div>
<div
class=
"row bg-white mt-3"
>
<div
class=
"row bg-white mt-3"
>
...
@@ -75,8 +77,7 @@
...
@@ -75,8 +77,7 @@
<table
id=
"example"
class=
"table"
style=
"width:100%"
>
<table
id=
"example"
class=
"table"
style=
"width:100%"
>
<thead>
<thead>
<tr>
<tr>
<th
class=
"ps-5"
>
วันที่สมัคร
<th
class=
"ps-5"
>
วันที่สมัคร
</th>
</th>
<th>
ชื่อ-นามสกุล
</th>
<th>
ชื่อ-นามสกุล
</th>
<th>
ประเภท
</th>
<th>
ประเภท
</th>
...
@@ -107,12 +108,12 @@
...
@@ -107,12 +108,12 @@
<?php
<?php
$status
=
0
;
$status
=
0
;
if
(
$status
==
0
)
{
//
if ($status == 0) {
$status
=
0
;
//
$status = 0;
echo
"Member has been approved!"
;
//
echo "Member has been approved!";
}
else
if
(
$status
=
1
)
{
//
} else if ($status = 1) {
echo
"Member has already been approved."
;
//
echo "Member has already been approved.";
}
//
}
?>
?>
...
@@ -146,13 +147,10 @@
...
@@ -146,13 +147,10 @@
@endif
@endif
</tr>
</tr>
@endforeach
@endforeach
<tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
class=
"d-grid gap-2 d-md-flex justify-content-md-end m-3"
>
<!--
<div class="d-grid gap-2 d-md-flex justify-content-md-end m-3">
<button class="btn btn-light" type="button">ก่อนหน้า</button>
<button class="btn btn-light" type="button">ก่อนหน้า</button>
<button class="btn btn-primary" type="button">1</button>
<button class="btn btn-primary" type="button">1</button>
<button class="btn btn-light" type="button">2</button>
<button class="btn btn-light" type="button">2</button>
...
@@ -160,7 +158,7 @@
...
@@ -160,7 +158,7 @@
<button class="btn btn-light" type="button">4</button>
<button class="btn btn-light" type="button">4</button>
<button class="btn btn-light" type="button">5</button>
<button class="btn btn-light" type="button">5</button>
<button class="btn btn-light" type="button">ถัดไป</button>
<button class="btn btn-light" type="button">ถัดไป</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -257,6 +255,10 @@
...
@@ -257,6 +255,10 @@
</body>
</body>
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
table
'
).
DataTable
();
});
let
selected_mem_id
;
let
selected_mem_id
;
function
getMemberDetail
(
mem_id
)
{
function
getMemberDetail
(
mem_id
)
{
clear_modal
();
clear_modal
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment