[8bcd64c] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en">
|
---|
| 3 | <head>
|
---|
| 4 | <title>Business admin page</title>
|
---|
| 5 |
|
---|
| 6 | <meta charset="utf-8"/>
|
---|
| 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
---|
| 8 |
|
---|
| 9 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
|
---|
| 10 | integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
|
---|
| 11 | <link href="css/business_admin.css" rel="stylesheet"/>
|
---|
| 12 | </head>
|
---|
| 13 | <body>
|
---|
| 14 | <!-- Navbar start -->
|
---|
| 15 | <header class="p-3 mb-3 border-bottom">
|
---|
| 16 | <div class="container">
|
---|
| 17 | <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start" >
|
---|
| 18 | <span id="header">
|
---|
| 19 | Welcome back
|
---|
| 20 | </span>
|
---|
| 21 | </div>
|
---|
| 22 | </div>
|
---|
| 23 | </header>
|
---|
| 24 |
|
---|
| 25 | <nav>
|
---|
| 26 | <div class="nav nav-tabs" id="nav-tab" role="tablist">
|
---|
| 27 | <a class="nav-link active" id="nav-business-tab" data-bs-toggle="tab" href="#nav-business" role="tab" aria-controls="nav-business" aria-selected="true">Business Info</a>
|
---|
| 28 | <a class="nav-link" id="nav-owner-tab" data-bs-toggle="tab" href="#nav-owner" role="tab" aria-controls="nav-owner" aria-selected="false">Owner Info</a>
|
---|
| 29 | <a class="nav-link" id="nav-services-tab" data-bs-toggle="tab" href="#nav-services" role="tab" aria-controls="nav-services" aria-selected="false">Services Info</a>
|
---|
| 30 | </div>
|
---|
| 31 | </nav>
|
---|
| 32 | <div class="tab-content" id="nav-tabContent">
|
---|
| 33 | <div class="tab-pane fade show active" id="nav-business" role="tabpanel" aria-labelledby="nav-business-tab">
|
---|
| 34 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
| 35 | <div class="form-outline mb-4">
|
---|
| 36 | <label for="business_status">Business status</label>
|
---|
| 37 | <input type="text" id="business_status" disabled class="form-control" aria-label="business_status"/>
|
---|
| 38 | <p id="new_business_warning" style="color:darkorange;" hidden>Please wait for the admin to approve your business.</p>
|
---|
| 39 | </div>
|
---|
| 40 |
|
---|
| 41 | <div class="form-outline mb-4">
|
---|
| 42 | <label for="business_type">Business type</label>
|
---|
| 43 | <input type="text" id="business_type" disabled class="form-control" aria-label="business_type"/>
|
---|
| 44 | </div>
|
---|
| 45 | </div>
|
---|
| 46 | </div>
|
---|
| 47 | <div class="tab-pane fade" id="nav-owner" role="tabpanel" aria-labelledby="nav-owner-tab">
|
---|
| 48 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
| 49 | <div class="card-body py-5 px-md-5">
|
---|
| 50 | <form>
|
---|
| 51 | <div class="row">
|
---|
| 52 | <div class="col-md-6 mb-4">
|
---|
| 53 | <div class="form-outline">
|
---|
| 54 | <label for="firstName">First name</label>
|
---|
| 55 | <input type="text" id="firstName" class="form-control" placeholder="First name"
|
---|
| 56 | aria-label="Firstname"/>
|
---|
| 57 | </div>
|
---|
| 58 | </div>
|
---|
| 59 | <div class="col-md-6 mb-4">
|
---|
| 60 | <div class="form-outline">
|
---|
| 61 | <label for="lastName">Last name</label>
|
---|
| 62 | <input type="text" id="lastName" class="form-control" placeholder="Last name"
|
---|
| 63 | aria-label="lastname"/>
|
---|
| 64 | </div>
|
---|
| 65 | </div>
|
---|
| 66 | </div>
|
---|
| 67 | <!-- Email input -->
|
---|
| 68 | <div class="form-outline mb-4">
|
---|
| 69 | <label for="email">Email</label>
|
---|
| 70 | <input type="email" id="email" class="form-control" placeholder="Email"
|
---|
| 71 | aria-label="Email"/>
|
---|
| 72 | </div>
|
---|
| 73 | <!-- Email input -->
|
---|
| 74 | <div class="form-outline mb-4">
|
---|
| 75 | <label for="username">Username</label>
|
---|
| 76 | <input type="text" id="username" class="form-control" placeholder="Username"
|
---|
| 77 | aria-label="username"/>
|
---|
| 78 | </div>
|
---|
| 79 | <button type="buttom" class="btn btn-primary btn-block mb-4" id="update_owner_button">
|
---|
| 80 | Update profile
|
---|
| 81 | </button>
|
---|
| 82 | </form>
|
---|
| 83 | </div>
|
---|
| 84 | </div>
|
---|
| 85 | </div>
|
---|
| 86 | <div class="tab-pane fade" id="nav-services" role="tabpanel" aria-labelledby="nav-services-tab">
|
---|
| 87 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
| 88 | <div class="form-outline mb-4">
|
---|
| 89 | <div class="row">
|
---|
| 90 | <div class="col-md-10">
|
---|
| 91 | <div class="form-outline">
|
---|
| 92 | <input type="text" id="input_service" class="form-control"
|
---|
| 93 | placeholder="Services"
|
---|
| 94 | aria-label="services" />
|
---|
| 95 | </div>
|
---|
| 96 | </div>
|
---|
| 97 | <div class="form-outline col-md-2 d-grid">
|
---|
| 98 | <button class="btn btn-primary" id="add_service">Add</button>
|
---|
| 99 | </div>
|
---|
| 100 | </div>
|
---|
| 101 | </div>
|
---|
| 102 | <div id="predefined_services_admin_panel" class="form-outline mb-4"></div>
|
---|
| 103 | <button type="buttom" class="btn btn-primary btn-block mb-4" id="update_services_button">
|
---|
| 104 | Update services
|
---|
| 105 | </button>
|
---|
| 106 | </div>
|
---|
| 107 | </div>
|
---|
| 108 | </div>
|
---|
| 109 | <script src='js/jquery-1.10.2.js' type="text/javascript"></script>
|
---|
| 110 | <script src='js/jquery-ui.custom.min.js' type="text/javascript"></script>
|
---|
| 111 | <script src='js/fullcalendar.js' type="text/javascript"></script>
|
---|
| 112 | <script src="js/business_admin.js" type="text/javascript"></script>
|
---|
| 113 | <script src="js/bootstrap.bundle.min.js"></script>
|
---|
| 114 | </body>
|
---|
| 115 | </html> |
---|