diff --git a/public/css/Register/register_page1.css b/public/css/Register/register_page1.css index e880dd6ad3f48596bf7ded4bead68cd408a37019..560618372b11a5135543d90e916bce43b3c84373 100644 --- a/public/css/Register/register_page1.css +++ b/public/css/Register/register_page1.css @@ -1,33 +1,35 @@ h1 { font-family: 'Kanit', sans-serif; - margin-left: 15% ; + margin-left: 15%; margin-top: 5%; color: #36618D; } + input[type="text"], select.form-control { - background: transparent; - border: none; - border-bottom: 1px solid #CCCCCC; - -webkit-box-shadow: none; - box-shadow: none; - border-radius: 0; - outline:none; + background: transparent; + border: none; + border-bottom: 1px solid #CCCCCC; + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 0; + outline: none; } -input[type="button"], + +/* input[type="button"], select.form-select { color: #000000; background-color: #ffffff; border-color: #ffffff; -} - +} */ input[type="text"]:focus, select.form-control:focus { - -webkit-box-shadow: none; - box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; } + .container { font-family: 'Kanit', sans-serif; color: #808080; @@ -35,4 +37,4 @@ .container { prefix.form-label { color: #808080; -} +} \ No newline at end of file diff --git a/public/css/User/profile.css b/public/css/User/profile.css new file mode 100644 index 0000000000000000000000000000000000000000..149223b4899110ceb94355305879568c3fdf0904 --- /dev/null +++ b/public/css/User/profile.css @@ -0,0 +1,76 @@ +body { + font-family: 'Prompt'; +} + +.h1 { + position: absolute; + width: 400px; + height: 48px; + left: 200px; + top: 116px; + border: #cd1010; +} + +.container { + box-sizing: border-box; + position: absolute; + width: 159px; + height: 198.75px; + left: 619px; + top: 211px; + background: #FFFFFF; + border: 1px solid; + border-radius: 10px; +} + +.container2 { + position: absolute; + width: 407px; + height: 34px; + left: 495px; + top: 430px; + font-style: normal; + font-weight: 400; + font-size: 28px; + line-height: 34px; +} + +.row { + box-sizing: border-box; + position: absolute; + width: 1000px; + height: 464px; + left: 245px; + top: 484px; + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.3); + border-radius: 10px; +} + +.answer { + text-decoration: underline; +} + +.col-2 input[type="text"] { + border: none; + border-bottom: 1px solid black; + border-radius: 0px; +} + +.col-4 input[type="text"] { + border: none; + border-bottom: 1px solid black; + border-radius: 0px; +} + +.col-6 input[type="text"] { + border: none; + border-bottom: 1px solid black; + border-radius: 0px; +} + +.form-control { + border: none; + border-bottom: 1px solid black; + border-radius: 0px; +} \ No newline at end of file diff --git a/public/css/navbar.css b/public/css/navbar.css index 6fba5ff67c9c4d9d40c0047baf8d48d74d559db2..8fb90e3bfa5d55f964518882d764b04c29e2321e 100644 --- a/public/css/navbar.css +++ b/public/css/navbar.css @@ -63,6 +63,11 @@ .user .nav-link { font-weight: 400; } +.user .nav-link .icon { + font-size: 25px; + color: #000; +} + .bottom-cotent .icon { color: #333; font-size: 24px; diff --git a/public/icon/cremation_system_logo/cremation_name.png b/public/icon/cremation_system_logo/cremation_name.png new file mode 100644 index 0000000000000000000000000000000000000000..f179d5e42b599732692263871333330a31921e20 Binary files /dev/null and b/public/icon/cremation_system_logo/cremation_name.png differ diff --git a/resources/views/Register/v_register_page1.blade.php b/resources/views/Admin/Mange_member/Register/v_register_page1.blade.php similarity index 94% rename from resources/views/Register/v_register_page1.blade.php rename to resources/views/Admin/Mange_member/Register/v_register_page1.blade.php index 0a863d2319453f06ef0069411ff198787e9cd7de..cdd9e3b1d0b156193d1bac30cdd70ed9dec8620e 100644 --- a/resources/views/Register/v_register_page1.blade.php +++ b/resources/views/Admin/Mange_member/Register/v_register_page1.blade.php @@ -1,6 +1,7 @@ @extends('Navbar') -@section('navbar') +@section('Navbar') + <!DOCTYPE html> <html> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" @@ -16,17 +17,20 @@ integrity="sha512-jRcyS0JzoOe9Mq3OEn5Q+U67/l7o+f+B2dG1mVWmHJ+ud7M9XmFmB7GJj6o4b4Yl+SGoSyKkfcf1FbzN1Sd9zA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Prompt"> - <link rel="stylesheet" href="css/Register/register_page1.css"> + {{-- <link rel="stylesheet" href="css/Register/register_page1.css"> --}} <style> </style> </head> <body> - <h1>ลงทะเบียนสมาชิก</h1> + <br> + <br> + <h1 class="mx-5">ลงทะเบียนสมาชิก</h1> <div class="container"> - <form class="row border border-primary needs-validation mt-5" style="border-radius: 10px" novalidate> + <form class="row border border-primary needs-validation mt-5" style="border-radius: 10px"> <div class="row mt-3"> + <div class="col-md-2"> <div class="dropdown show"> <label for="prefix" class="form-label">คำนำหน้า</label> @@ -40,19 +44,23 @@ </select> </div> </div> + <div class="col-md-5"> <label for="validationCustom01" class="form-label">ชื่อ</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="col-md-5"> <label for="validationCustom01" class="form-label">นามสกุล</label> <input type="text" class="form-control" id="validationCustom01"> </div> + </div> + <div class="row mt-3"> <div class="col-md-2"> <div class="dropdown show"> - <label for="prefix" class="form-label">คำนำหน้า</label> + <label for="prefix" class="form-label">Perfix</label> <select name="prefix" id="prefix" class="form-select"> <option class="value" hidden>Prefix</option> <option value="Mr">Mr.</option> @@ -61,51 +69,64 @@ </select> </div> </div> + <div class="col-md-5"> <label for="validationCustom01" class="form-label">First Name</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="col-md-5"> <label for="validationCustom01" class="form-label">Last Name</label> <input type="text" class="form-control" id="validationCustom01"> </div> + </div> + <div class="row mt-3"> <div class="col-md-6"> <label for="validationCustom01" class="form-label">เลขบัตรประชาชน</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="col-md-6 "> <label for="Birthday">วันเกิด</label><br> <div class="mt-3"> <input type="date" id="Birthday" name="Birthday" required> </div> </div> + </div> + <div class="row mt-3"> <div class="col-md-6"> <label for="validationCustom01" class="form-label">ที่อยู่ตามบัตรประชาชน</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="col-md-6"> <label for="validationCustom01" class="form-label">ตำบล/แขวง</label> <input type="text" class="form-control" id="validationCustom01"> </div> </div> + <div class="row mt-3"> <div class="col-md-4"> <label for="validationCustom01" class="form-label">อำเภอ</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="col-md-4"> <label for="validationCustom01" class="form-label">จังหวัด</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="col-md-4"> <label for="validationCustom01" class="form-label">รหัสไปรษณีย์</label> <input type="text" class="form-control" id="validationCustom01"> </div> + </div> + <div class="row mt-3"> <div class="col-md-6"> <label for="validationCustom01" class="form-label">อีเมล</label> @@ -116,13 +137,16 @@ <label for="validationCustom01" class="form-label">ยืนยันอีเมล</label> <input type="text" class="form-control" id="validationCustom01"> </div> + </div> + <div class="col-md-6"> <label for="validationCustom01" class="form-label">เบอร์โทรศัพท์</label> <input type="text" class="form-control" id="validationCustom01"> </div> + <div class="row mt-3"> - <div class="col-12 text-end"> + <div class="col-12 text-end m-3"> <a class="btn btn-primary" href="{{route('Register_page2')}}" role="button">ถัดไป</a> </div> </div> diff --git a/resources/views/Admin/Mange_member/Register/v_register_page2.blade.php b/resources/views/Admin/Mange_member/Register/v_register_page2.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..b44beb3c3f50641ba8fb9746fb6e784daee55969 --- /dev/null +++ b/resources/views/Admin/Mange_member/Register/v_register_page2.blade.php @@ -0,0 +1,183 @@ +@extends('Navbar') +@section('Navbar') + +<!DOCTYPE html> +<html> +<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" + integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" /> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" + integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" + crossorigin="anonymous"></script> + +<head> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!-- เรียกใช้ Bootstrap 5 --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" + integrity="sha512-jRcyS0JzoOe9Mq3OEn5Q+U67/l7o+f+B2dG1mVWmHJ+ud7M9XmFmB7GJj6o4b4Yl+SGoSyKkfcf1FbzN1Sd9zA==" + crossorigin="anonymous" referrerpolicy="no-referrer" /> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Prompt"> + <link rel="stylesheet" href="css/Register/register_page2.css"> + <script src="http://code.jquery.com/jquery-latest.js"></script> +</head> + +<body> + + <form class="row border border-primary "> + <div class="a m-5"> + ได้ทราบข้อบังคับของการฌาปนกิจสงเคราะห์สภาทนายความ และเห็นชอบด้วย + จึงขอแจ้งความประสงค์สมัครเข้าเป็นสมาชิก + <br> การฌาปนกิจสงเคราะห์สภาทนายความ + และขอให้ถ้อยคำเป็นลายลักษณ์อักษรต่อคณะกรรมการฌาปนกิจสงเคราห์ + ดังนี้ + </div> + <div class="a1"> + ข้อ 1. ข้าพเจ้า เกิดวันที่ <input type="date" id="Birthday" name="Birthday"> ปัจจุบันอายุ + <input type="text" class="form-control" id="validationCustom01"> + </div> + ข้อ 2. ข้าพเจ้า + <div class="a2"> + <p class="text"> + <div class="a21 mx-5"> + 2.1 เป็นทนายความประเภท + <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1" checked> + <label class="form-check-label" for="flexRadioDefault1"> + ตลอดชีพ + </label> + </div> + <div class="form-check"> + <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault2"> + + <label class="form-check-label" for="flexRadioDefault2"> + สองปี + </label> + <div class="b21 ms-4"> + ใบอนุญาติเลขที่ + </div> + <div class="a212 ms-4"> + <input type="text" class="form-control" id="validationCustom01"> + <a>/</a> + <input type="text" class="form-control" id="validationCustom01"> + </div> + </div> + </p> + </div> + <div class="a3 mx-5"> + 2.2 เป็นพนักงานประจำสภาทนายความสังกัด + <input type="text" class="form-control" id="validationCustom01"> + + </div> + <div class="a4 mx-5"> + 2.3 เป็นบุคคลในครอบครัวของ (นาย/นาง/นางสาว) + <input type="text" class="form-control" id="validationCustom01"> + </div> + + <div class="a5"> + ใบอนุญาตทนายความเลขที่ + <input type="text" class="form-control" id="validationCustom01"> + <a>/</a> + <input type="text" class="form-control" id="validationCustom01"> + โดยเกี่ยวข้องเป็น + <input type="text" class="form-control" id="validationCustom03"> + </div> + <div class="mt-2"> + ข้อ 3. เมื่อข้าพเจ้าถึงแก่ความตาย ข้อให้คณะกรรมการจ่ายเงินสงเคราะห์ ให้แก่ + </div> + + <section class="section-address"> + <div class="div-address pt-3" id="div-address-1"> + <div class="a6"> + 3.1 ชื่อ + <input type="text" class="form-control" id="name"> + เกี่ยวข้องเป็น + <input type="text" class="form-control" id="validationCustom03"> + </div> + <div class="a7"> + อยู่บ้านเลขที่ + <input type="text" class="form-control" id="้homenumber"> + หมู่ที่ + <input type="text" class="form-control" id="villagenumber"> + หมู่บ้าน + <input type="text" class="form-control" id="villagename"> + ตรอก/ซอย + <input type="text" class="form-control" id="alley"> + </div> + <div class="a8"> + ถนน + <input type="text" class="form-control" id="rode"> + ตำบล/แขวง + <input type="text" class="form-control" id="canton"> + อำเภอ/เขต + <input type="text" class="form-control" id="district"> + </div> + <div class="a9"> + จังหวัด + <input type="text" class="form-control" id="country"> + โทรศัพท์ที่สามารถติดต่อได้ + <input type="text" class="form-control" id="phonenumber"> + </div> + </div> + </section> + + {{-- <div class="a10 text-center"> + เพิ่มข้อมูล + </div> --}} + <button class="btn btn-primary" type="button" onClick="addDivAddress()"> + เพิ่มข้อมูล + </button> + + <div class="col-12 text-end"> + <a class="btn btn-secondary" href="{{route('Register_page1')}}" role="button">ย้อนกลับ</a> + <a class="btn btn-primary" href="{{route('Register_page3')}}" role="button">ถัดไป</a> + </div> + + </form> + + <script> + function addDivAddress() { + row = $(".div-address").length; + row++; + var html = '<div class="div-address pt-3" id="div-address-' + row +'">'; + html += '<div class="a6">'; + html += '3.' + '<span class="span_number">' + row + '</span>' + ' ชื่อ' + html += '<input type="text" class="form-control" id="name"> เกี่ยวข้องเป็น' + html += '<input type="text" class="form-control" id="validationCustom03">' + html += '</div>' + html += '<div class="a7">' + html += 'อยู่บ้านเลขที่' + html += '<input type="text" class="form-control" id="้homenumber"> หมู่ที่' + html += '<input type="text" class="form-control" id="villagenumber"> หมู่บ้าน' + html += '<input type="text" class="form-control" id="villagename"> ตรอก/ซอย' + html += ' <input type="text" class="form-control" id="alley">' + html += '</div>' + html += '<div class="a8">' + html += 'ถนน' + html += '<input type="text" class="form-control" id="rode"> ตำบล/แขวง' + html += '<input type="text" class="form-control" id="canton"> อำเภอ/เขต' + html += '<input type="text" class="form-control" id="district">' + html += '</div>' + html += '<div class="a9">' + html += 'จังหวัด' + html += '<input type="text" class="form-control" id="country"> โทรศัพท์ที่สามารถติดต่อได้' + html += '<input type="text" class="form-control" id="phonenumber">' + html += '</div>' + html += '<button type="button" onClick="deleteDivAddress(' + row + ')">ลบ</button>'; + html += '</div>' + + $('.section-address').append(html); + } + + function deleteDivAddress(row_number) { + $("#div-address-" + row_number).remove(); + resetSpanNumber(); + } + + function resetSpanNumber() { + let elem = $(".span_number"); + for (let i = 0; i < elem.length; i++) { + $('.span_number').eq(i).text(i + 2); + } + } + </script> +</body> +</html> +@endsection diff --git a/resources/views/Admin/Mange_member/Register/v_register_page3.blade.php b/resources/views/Admin/Mange_member/Register/v_register_page3.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..48f21016e332ee862245ce9f66ebaaf96d78fe81 --- /dev/null +++ b/resources/views/Admin/Mange_member/Register/v_register_page3.blade.php @@ -0,0 +1,99 @@ +@extends('Navbar') +@section('Navbar') + +<!DOCTYPE html> +<html> +<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" + integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" /> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" + integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"> +</script> + +<head> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!-- เรียกใช้ Bootstrap 5 --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" + integrity="sha512-jRcyS0JzoOe9Mq3OEn5Q+U67/l7o+f+B2dG1mVWmHJ+ud7M9XmFmB7GJj6o4b4Yl+SGoSyKkfcf1FbzN1Sd9zA==" + crossorigin="anonymous" referrerpolicy="no-referrer" /> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Prompt"> + <link rel="stylesheet" href="css/Register/register_page3.css"> +</head> + +<div class="container"> + <table> + <thead> + <tr> + <th>ประเภท</th> + <th>จำนวนเงิน</th> + + </tr> + </thead> + <tbody> + <tr> + <td>เงินสงเคราะห์ล่วงหน้า</td> + <td>500</td> + + </tr> + <tr> + <td>อัตราค่าสมัคร</td> + <td>100</td> + + </tr> + <tr> + <td>บำรุงรักษารายปี</td> + <td>50</td> + + </tr> + + <td colspan="2"> + <div class="d-grid gap-2 d-md-flex justify-content-md-between"> + <div class="text-start"> + รวม 650 บาท + </div> + + + <div class="modal fade" id="exampleModalToggle" aria-hidden="true" + aria-labelledby="exampleModalToggleLabel" tabindex="-1"> + <div class="modal-dialog modal-dialog-centered"> + <div class="modal-content"> + + + <div class="modal-body"> + <div class="d-flex justify-content-center"> + <img class="img-fluid" src="icon/all_user/clock.png"> + </div> + <div class="mt-3 text-center">ตรวจสอบรายการชำระ</div> + <div class="ms-5">รายการที่ต้องชำระ</div> + + <div class="row"> + <div class="col ms-5">1. เงินสงเคราะห์ล่วงหน้า :</div> + <div class="col text-start">500 บาท</div> + </div> + <div class="row"> + <div class="col ms-5">2. อัตราค่าสมัคร :</div> + <div class="col text-start">100 บาท</div> + </div> + <div class="row"> + <div class="col ms-5">3. ค่าบำรุงรักษารายปี :</div> + <div class="col text-start">50 บาท</div> + </div> + </div> + <div class="text-center m-3"> + <a class="btn btn-primary" href="{{route('Register_page4')}}" role="button">ชำระเงิน</a> + </div> + </div> + </div> + </div> + <a class="btn btn-primary" data-bs-toggle="modal" href="#exampleModalToggle" + role="button">ตรวจสอบ</a> + </div> + </td> +</div> + + + +</div> +</body> + +</html> +@endsection diff --git a/resources/views/Admin/Mange_member/Register/v_register_page4.blade.php b/resources/views/Admin/Mange_member/Register/v_register_page4.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..4e4effd8ba1d38c17939e17dd506a7905aa48643 --- /dev/null +++ b/resources/views/Admin/Mange_member/Register/v_register_page4.blade.php @@ -0,0 +1,55 @@ +<!DOCTYPE html> + +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" + integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous"> + <link rel="stylesheet" href="css\user_tranfer.css"> + <link rel="preconnect" href="https://fonts.googleapis.com"> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> + <link + href="https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" + rel="stylesheet"> +</head> + +<body> + <div class="container"> + <h1 class="head-tranfer">แจ้งหลักฐานการเติมเงิน</h1> + </div><br> + <div class="container"><br> + <div class="card"> + <div> + <h3 style="color: #36618D;">  ช่องทางการเติมเงิน</h3> + <h5>  ชื่อบัญชี : การฌาปนกิจสงเคราะห์ สภาทนายความ</h5> + <h5>  ธนาคาร : ธนาคารกสิกรไทย</h5> + <h5>  เลขที่บัญชี : XXX-X-XXXXX-X</h5><button onclick="myFunction()">คัดลอกบัญชี</button> + </div> + </div><br> + <div class="card-body"> + <form> + <div class="mb-3"> + <label class="form-label" for="date_picker">กรุณาระบุวันที่</label><br> + <input class="form-control" type="date" value="2021-06-18" id="html5-date-input"> + </div> + <div class="mb-3"> + <label class="form-label" for="time">กรุณาระบุเวลา</label><br> + <input type="text" class="form-control" id="basic-default-company" placeholder="เช่น 13.00"> + </div> + <div class="mb-3"> + <label class="form-label" for="deposit">กรุณาระบุจำนวนเงินที่ต้องการฝาก</label><br> + <div class="input-group input-group-merge"> + <input type="text" id="basic-default-email" class="form-control" placeholder="เช่น 1000.00" + aria-label="1000.00" aria-describedby="basic-default-email2"> + </div><br> + <div class="mb-3"> + <label class="form-label" for="formFile">กรุณาอัปโหลดสลิปการโอน (รองรับไฟล์ jpg/png + เท่านั้น)</label><br> + <input class="form-control" type="file" id="formFile"> + </div> + <button type="submit" class="btn btn-primary">ยืนยันการเติมเงิน</button> + </form> + </div> + </div> +</body> diff --git a/resources/views/Admin/Member/v_approve_user.blade.php b/resources/views/Admin/Mange_member/v_approve_user.blade.php similarity index 100% rename from resources/views/Admin/Member/v_approve_user.blade.php rename to resources/views/Admin/Mange_member/v_approve_user.blade.php diff --git a/resources/views/Admin/Member/v_update_user.blade.php b/resources/views/Admin/Mange_member/v_update_user.blade.php similarity index 100% rename from resources/views/Admin/Member/v_update_user.blade.php rename to resources/views/Admin/Mange_member/v_update_user.blade.php diff --git a/resources/views/Admin/Transaction/v_approve_tranfer.blade.php b/resources/views/Admin/Transaction/v_approve_tranfer.blade.php index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a81b9cd2049ecbd73c95cf18ffc3f64a9fe087e6 100644 --- a/resources/views/Admin/Transaction/v_approve_tranfer.blade.php +++ b/resources/views/Admin/Transaction/v_approve_tranfer.blade.php @@ -0,0 +1,181 @@ +<!-- Start Content --> +<!DOCTYPE html> + +<html> +<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" + integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" /> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" + integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"> +</script> +<html lang="en"> +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" + integrity="sha512-jRcyS0JzoOe9Mq3OEn5Q+U67/l7o+f+B2dG1mVWmHJ+ud7M9XmFmB7GJj6o4b4Yl+SGoSyKkfcf1FbzN1Sd9zA==" + crossorigin="anonymous" referrerpolicy="no-referrer" /> + +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Document</title> + + <style> + .box { + width: 20%; + height: 120px; + border-radius: 10px; + margin-right: 10px; + background-color: #ffffff; + display: inline-block; + } + + .col { + lift: 405px; + width: 1040px; + height: auto; + margin: 0 auto; + background: #ffffff; + + } + + .container { + margin: 0 auto; + } + + .table-bordered { + border: 10px solid #dee2e6; + ฃ + } + + .table-bordered th, + .table-bordered td { + border: 10px solid #dee2e6; + border-top-width: 0; + border-left-width: 0; + } + + .table-bordered thead th:first-child, + .table-bordered td:first-child { + border-left-width: 2px; + border-top-left-radius: 10px; + border-bottom-left-radius: 10px; + } + + .table-bordered thead th:last-child, + .table-bordered td:last-child { + border-right-width: 2px; + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; + } + + .table-bordered thead th, + .table-bordered td { + vertical-align: middle; + } + + .col-2 input[type="text"] { + + border: none; + border-bottom: 1px solid black; + border-radius: 0px; + text align: center; + } + + .form-control:disabled, + .form-control[readonly] { + background-color: #ffffff; + } + + </style> +</head> + +<body> + <br> <!-- จำเป็นต้องมี --> + <br> <!-- จำเป็นต้องมี --> + <br> <!-- จำเป็นต้องมี --> + <h1 class="m-5">อนุมัติสมาชิก</h1> + + <div class="container"> + + <div class="container"> + + <div class="row"> + <div class="col mt-5"> + + <div class="row"> + <div class="col-2 text-center"> + <input type="text" class="form-control" placeholder="ทั้งหมด" + aria-label="Disabled input example" disabled> + </div> + <div class="col-2 text-center"> + <input type="text" class="form-control" placeholder="อนุมัติแล้ว" + aria-label="Disabled input example" disabled> + </div> + <div class="col-2 text-center"> + <input type="text" class="form-control" placeholder="รออนุมัติ" + aria-label="Disabled input example" disabled> + </div> + <div class="col-2"> + + </div> + <div class="col-4"> + <input type="text" class="form-control" placeholder="ค้นหา"> + </div> + </div> + <table class="table mt-3"> + <thead> + <tr> + <th>วันที่สมัคร</th> + <th>ชื่อ-นามสกุล</th> + <th>ประเภท</th> + <th> + <div class="">อนุมัติแล้ว <br> รออนุมัติ</div> + </th> + <th></th> + </tr> + </thead> + <tbody> + <tr> + <td>01/01/2566</td> + <td>นาย สมศักดิ์ ใจดี</td> + <td>สามัญ</td> + <td></td> + <td></td> + + </tr> + <tr> + <td>01/01/2566</td> + <td>นาย สมศักดิ์ ใจดี</td> + <td>สามัญ</td> + <td></td> + <td></td> + + </tr> + <tr> + <td>01/01/2566</td> + <td>นาย สมศักดิ์ ใจดี</td> + <td>สามัญ</td> + <td></td> + <td></td> + + </tr> + </tbody> + </table> + <div class="d-grid gap-2 d-md-flex justify-content-md-end m-3"> + <button class="btn btn-primary" type="button">ก่อนหน้า</button> + <button class="btn btn-primary" type="button">1</button> + <button class="btn btn-primary" type="button">2</button> + <button class="btn btn-primary" type="button">3</button> + <button class="btn btn-primary" type="button">4</button> + <button class="btn btn-primary" type="button">5</button> + <button class="btn btn-primary" type="button">ถัดไป</button> + </div> + </div> + </div> + </div> + + + + +</body> + +</html> diff --git a/resources/views/Admin/v_admin_home.blade.php b/resources/views/Admin/v_admin_home.blade.php index b2a82b619c61cd8ee454987bee6446a9ffef982f..847035bddb57b977bd2271c67b9ea5cd874cd592 100644 --- a/resources/views/Admin/v_admin_home.blade.php +++ b/resources/views/Admin/v_admin_home.blade.php @@ -1,3 +1,5 @@ +@extends('Navbar') +@section('Navbar') <!DOCTYPE html> <html> <head> @@ -20,3 +22,4 @@ <script src="/js/script.js"></script> </body> </html> +@endsection diff --git a/resources/views/Member/v_profile.blade.php b/resources/views/Member/v_profile.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..4baa1517c86c0a28230e1a5fb576a7e33a23fecc --- /dev/null +++ b/resources/views/Member/v_profile.blade.php @@ -0,0 +1,102 @@ + +<!DOCTYPE html> +<html> +<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" + integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" /> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" + integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"> +</script> + +<head> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <!-- เรียกใช้ Bootstrap 5 --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" + integrity="sha512-jRcyS0JzoOe9Mq3OEn5Q+U67/l7o+f+B2dG1mVWmHJ+ud7M9XmFmB7GJj6o4b4Yl+SGoSyKkfcf1FbzN1Sd9zA==" + crossorigin="anonymous" referrerpolicy="no-referrer" /> + <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Prompt"> +</head> + +<body> + <nav class="navbar navbar-light bg-light border border-primary"> + <div class="container-fluid"> + <a class="btn btn-outline-success">Navbar</a> + <form class="d-flex"> + <button class="btn btn-outline-success me-2" type="submit"> + name + </button> + <button class="btn btn-outline-success" type="submit">out</button> + </form> + </div> + </nav> + <div class="h1">ข้อมูลส่วนตัว</div> + + + + + <div class="container"> + <div class="position-absolute top-50 start-50 translate-middle">รูปภาพ</div> + </div> + <div class="container2"> + <h4>หมายเลขสมาชิก : 2 รหัสเดิม : 6967</h4> + </div> + + <form class="row border border-primary needs-validation "> + <div></div> + <div class="col-2">คำนำหน้า + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-4">ชื่อ + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + + </div> + <div class="col-4">นามสกุล + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-2">อายุ + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-6">วันเกิด + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-6">เลขบัตรประชาชน + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-6">เบอร์โทรศัพท์ + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-6">อีเมล + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-6">ที่อยู่ตามบัตรประชาชน + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-6">ตำบล/แขวง + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-4">อำเภอ + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-4">ตำบล/แขวง + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + <div class="col-4">จังหวัด + <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" + disabled> + </div> + </form> + +</body> + +</html> diff --git a/resources/views/User/v_user_home.blade.php b/resources/views/Member/v_user_home.blade.php similarity index 100% rename from resources/views/User/v_user_home.blade.php rename to resources/views/Member/v_user_home.blade.php diff --git a/resources/views/User/v_user_proof_tranfer.blade.php b/resources/views/Member/v_user_proof_tranfer.blade.php similarity index 100% rename from resources/views/User/v_user_proof_tranfer.blade.php rename to resources/views/Member/v_user_proof_tranfer.blade.php diff --git a/resources/views/User/v_user_transection_history.blade.php b/resources/views/Member/v_user_transection_history.blade.php similarity index 100% rename from resources/views/User/v_user_transection_history.blade.php rename to resources/views/Member/v_user_transection_history.blade.php diff --git a/resources/views/Navbar.blade.php b/resources/views/Navbar.blade.php index 239ebb62db67c96ff1ea667c87e5a84c40b3b150..36a3e2e0422309ff71b449b84ba110018c397e1d 100644 --- a/resources/views/Navbar.blade.php +++ b/resources/views/Navbar.blade.php @@ -51,43 +51,43 @@ <li class="list"> <a href="" class="nav-link"> <i class='bx bx-home-alt icon'></i> - <span class="link">หน้าหลัก</span> + <a class="btn btn-primary" href="" role="button" >หน้าหลัก</a> </a> </li> <li class="list"> <a href="" class="nav-link"> <i class='bx bx-notepad icon'></i> - <span class="link">ลงทะเบียนสมาชิก</span> + <a class="btn btn-primary" href="{{route('Register_page1')}}" role="button" >ลงทะเบียนสมาชิก</a> </a> </li> <li class="list"> <a href="" class="nav-link"> <i class='bx bx-check-square icon'></i> - <span class="link">อนุมัติสมาชิก</span> + <a class="btn btn-primary" href="#" role="button">อนุมัติสมาชิก</a> </a> </li> <li class="list"> <a href="" class="nav-link"> <i class='bx bx-calculator icon'></i> - <span class="link">คำนวณเงิน</span> + <a class="btn btn-primary" href="#" role="button">คำนวณเงิน</a> </a> </li> <li class="list"> <a href="" class="nav-link"> <i class='bx bx-edit-alt icon'></i> - <span class="link">ปรับปรุงข้อมูลสมาชิก</span> + <a class="btn btn-primary" href="#" role="button">ปรับปรุงข้อมูลสมาชิก</a> </a> </li> <li class="list"> <a href="" class="nav-link"> <i class='bx bx-receipt icon'></i> - <span class="link">หลักฐานการแจ้งฝากเงิน</span> + <a class="btn btn-primary" href="#" role="button">หลักฐานการแจ้งฝากเงิน</a> </a> </li> <li class="list"> <a href="" class="nav-link"> <i class='bx bx-file-find icon'></i> - <span class="link">รายงาน</span> + <a class="btn btn-primary" href="#" role="button">รายงาน</a> </a> </li> </ul> @@ -118,7 +118,7 @@ </script> </body> <div> - @yield('navbar') + @yield('Navbar') </div> </html> diff --git a/resources/views/Register/v_register_page3.blade.php b/resources/views/Register/v_register_page3.blade.php deleted file mode 100644 index ab7abb6c52202dbe887e214903bb02ebc16d1527..0000000000000000000000000000000000000000 --- a/resources/views/Register/v_register_page3.blade.php +++ /dev/null @@ -1,87 +0,0 @@ -<!DOCTYPE html> -<html> -<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" - integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" /> -<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" - integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"> -</script> - -<head> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <!-- เรียกใช้ Bootstrap 5 --> - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" - integrity="sha512-jRcyS0JzoOe9Mq3OEn5Q+U67/l7o+f+B2dG1mVWmHJ+ud7M9XmFmB7GJj6o4b4Yl+SGoSyKkfcf1FbzN1Sd9zA==" - crossorigin="anonymous" referrerpolicy="no-referrer" /> - <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Prompt"> - <link rel="stylesheet" href="css/Register/register_page3.css"> -</head> - -<body> - - <div class="col-sm-5"> - <img class="card-img" src="icon/register/register.png" alt="register" style="width: 50px"> - </div> - <div class="h1 text-center ">ลงทะเบียนสมาชิก</div> - - <div class="container"> - <table> - <thead> - <tr> - <th>ประเภท</th> - <th>จำนวนเงิน</th> - - </tr> - </thead> - <tbody> - <tr> - <td>เงินสงเคราะห์ล่วงหน้า</td> - <td>500</td> - - </tr> - <tr> - <td>อัตราค่าสมัคร</td> - <td>100</td> - - </tr> - <tr> - <td>บำรุงรักษารายปี</td> - <td>50</td> - - </tr> - - <td colspan="2"> - รวม 650 บาท - <div class="d-grid gap-2 d-md-flex justify-content-md-end"> - <button class="btn btn-primary" type="button">ตรวจสอบ</button> - </div> - </td> - </tbody> - </table> - - <div class="container2 mt-5"> - <div class="setpassword m-5"> - <h2> - ตั้งรหัสผ่าน - </h2> - - </div> - <form class="row needs-validation " novalidate> - <div class="col-md-5 ms-5"> - <label for="validationCustom01" class="form-label">รหัสผ่าน</label> - <input type="password" class="form-control" id="validationCustom01"> - </div> - <div class="col-md-5 ms-5"> - <label for="validationCustom01" class="form-label">ยืนยันรหัสผ่าน</label> - <input type="password" class="form-control" id="validationCustom01"> - </div> - - </form> - <div class="d-grid gap-2 d-md-flex justify-content-md-end m-3"> - <a class="btn btn-secondary" href=" " role="button">ย้อนกลับ</a> - <a class="btn btn-secondary" href=" " role="button">ยืนยัน</a> - - </div> - </div> -</body> - -</html> diff --git a/resources/views/Register/v_table.blade.php b/resources/views/Register/v_table.blade.php deleted file mode 100644 index b4bb356fbdb37218e2260a4165481a156653ed97..0000000000000000000000000000000000000000 --- a/resources/views/Register/v_table.blade.php +++ /dev/null @@ -1,94 +0,0 @@ -<!DOCTYPE html> -<html> - -<head> - <title>ThaiCreate.Com PHP & MySQL (mysqli)</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <script src="http://code.jquery.com/jquery-latest.js"></script> - <script type="text/javascript"> - $(document).ready(function () { - - var rows = 1; - $("#createRows").click(function () { - var tr = "<tr>"; - tr = tr + "<td><input type='text' name='txtCustomerID" + rows + "' id='txtCustomerID" + - rows + "' size='5'></td>"; - tr = tr + "<td><input type='text' name='txtName" + rows + "' id='txtName" + rows + - "' size='10'></td>"; - tr = tr + "<td><input type='text' name='txtEmail" + rows + "' id='txtEmail" + rows + - "' size='15'></td>"; - tr = tr + "<td><input type='text' name='txtCountryCode" + rows + - "' id='txtCountryCode" + rows + "' size='5'></td>"; - tr = tr + "<td><input type='text' name='txtBudget" + rows + "' id='txtBudget" + rows + - "' size='5'></td>"; - tr = tr + "<td><input type='text' name='txtUsed" + rows + "' id='txtUsed" + rows + - "' size='5'></td>"; - tr = tr + "</tr>"; - $('#myTable > tbody:last').append(tr); - - $('#hdnCount').val(rows); - rows = rows + 1; - }); - - $("#deleteRows").click(function () { - if ($("#myTable tr").length != 1) { - $("#myTable tr:last").remove(); - } - }); - - $("#clearRows").click(function () { - rows = 1; - $('#hdnCount').val(rows); - $('#myTable > tbody:last').empty(); // remove all - }); - - }); - - </script> - <meta charset=utf-8 /> -</head> - -<body> - <center> - <form action="save.php" id="frmMain" name="frmMain" method="post"> - <h1>jQuery Dynamic table input</h1> - - <table width="600" border="1" id="myTable"> - <!-- head table --> - <thead> - <tr> - <td width="91"> - <div align="center">CustomerID </div> - </td> - <td width="98"> - <div align="center">Name </div> - </td> - <td width="198"> - <div align="center">Email </div> - </td> - <td width="97"> - <div align="center">CountryCode </div> - </td> - <td width="59"> - <div align="center">Budget </div> - </td> - <td width="71"> - <div align="center">Used </div> - </td> - </tr> - </thead> - <!-- body dynamic rows --> - <tbody></tbody> - </table> - <br /> - <input type="button" id="createRows" value="Add"> - <input type="button" id="deleteRows" value="Del"> - <input type="button" id="clearRows" value="Clear"> - <center> - <br> - <input type="hidden" id="hdnCount" name="hdnCount"> - <input type="submit" value="Submit"> - </form> -</body> - -</html> diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php deleted file mode 100644 index 44093b86ef6beb90dce54d3186d4a1425328ee25..0000000000000000000000000000000000000000 --- a/resources/views/layouts/app.blade.php +++ /dev/null @@ -1,33 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>@yield('title')</title> - <link rel="stylesheet" type="text/css" href="{{ asset('css/style.css') }}"> - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> -</head> -<body> - <header> - <div class="top-bar"> - <button class="toggle-btn"><i class="fas fa-bars"></i></button> - <h1>My Website</h1> - </div> - </header> - - - <div class="sidebar"> - <ul data-target=".sidebar"> - <li><a href="#">Home</a></li> - <li><a href="#">About</a></li> - <li><a href="#">Services</a></li> - <li><a href="#">Contact</a></li> - </ul> - </div> - - - <div class="content"> - @yield('content') - </div> - - <script src="{{ asset('js/script.js') }}"></script> -</body> -</html> diff --git a/resources/views/layouts/v_navbar.blade.php b/resources/views/layouts/v_navbar.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..36a3e2e0422309ff71b449b84ba110018c397e1d --- /dev/null +++ b/resources/views/layouts/v_navbar.blade.php @@ -0,0 +1,124 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Sidebar Menu</title> + + + <!-- CSS --> + <link rel="stylesheet" href="css/sidebar.css"> + + + <!-- Boxicons CSS --> + <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'> + <link rel="stylesheet" href="css/navbar.css"> +</head> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> + +<body> + <nav> + <div class="logo"> + <i class='bx bx-menu menu-icon'></i> + <a href="" class="nav-link"> + <img src="icon/cremation_system_logo/cremation_system_logo.png" class="rounded float-start" alt="..." width="50" height="50"> + <img src="icon/cremation_system_logo/cremation_name.png" class="rounded float-start" alt="..." width="190" height="70"> + </a> + </div> + <div class="user"> + <a href="" class="nav-link"> + + <span>นายดาบเจ็ดสี มณีเจ็ดแสง</span> + </a> + </div> + <div class="bottom-cotent"> + <a href="" class="nav-link"> + <i class='bx bx-log-out icon'></i> + </a> + </div> + + <div class="sidebar"> + <div class="logo"> + <i class='bx bx-menu menu-icon'></i> + <img src="icon/cremation_system_logo/cremation_system_logo.png" class="img-fluid" alt="..." width="50" height="50"> + <img src="icon/cremation_system_logo/cremation_name.png" class="img-fluid" alt="..." width="190" height="70"> + </div> + + <div class="sidebar-content"> + <ul class="lists"> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-home-alt icon'></i> + <a class="btn btn-primary" href="" role="button" >หน้าหลัก</a> + </a> + </li> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-notepad icon'></i> + <a class="btn btn-primary" href="{{route('Register_page1')}}" role="button" >ลงทะเบียนสมาชิก</a> + </a> + </li> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-check-square icon'></i> + <a class="btn btn-primary" href="#" role="button">อนุมัติสมาชิก</a> + </a> + </li> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-calculator icon'></i> + <a class="btn btn-primary" href="#" role="button">คำนวณเงิน</a> + </a> + </li> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-edit-alt icon'></i> + <a class="btn btn-primary" href="#" role="button">ปรับปรุงข้อมูลสมาชิก</a> + </a> + </li> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-receipt icon'></i> + <a class="btn btn-primary" href="#" role="button">หลักฐานการแจ้งฝากเงิน</a> + </a> + </li> + <li class="list"> + <a href="" class="nav-link"> + <i class='bx bx-file-find icon'></i> + <a class="btn btn-primary" href="#" role="button">รายงาน</a> + </a> + </li> + </ul> + </div> + </div> + </nav> + <br> + <br> + <!-- Content --> + + <!-- Overlay --> + <section class="overlay"></section> + + <script> + const navBar = document.querySelector("nav"), + menuBtns = document.querySelectorAll(".menu-icon"), + overlay = document.querySelector(".overlay"); + + menuBtns.forEach(menuBtn => { + menuBtn.addEventListener("click", () => { + navBar.classList.toggle("open"); + }); + }); + + overlay.addEventListener("click", () => { + navBar.classList.remove("open"); + }); + </script> +</body> +<div> + @yield('Navbar') + </div> +</html> + diff --git a/routes/web.php b/routes/web.php index afbcf4ba9441d7ffea9fd2b356f1ce766144b660..1823a7959338364720083ec9d69f343a372419fa 100644 --- a/routes/web.php +++ b/routes/web.php @@ -35,13 +35,14 @@ Route::get('/Register_page1',[App\Http\Controllers\RegisterController::class, 'Register_page1'])->name('Register_page1'); - - Route::get('/Register_page2',[App\Http\Controllers\RegisterController::class, 'Register_page2'])->name('Register_page2'); - - - Route::get('/Register_page3',[App\Http\Controllers\RegisterController::class, 'Register_page3'])->name('Register_page3'); + +Route::get('/Register_page4',[App\Http\Controllers\RegisterController::class, +'Register_page4'])->name('Register_page4'); + +Route::get('/Approve',[App\Http\Controllers\AdminController::class, +'Approve'])->name('Approve'); \ No newline at end of file