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="row">
|
---|
17 | <div class="col-md-10 mb-10" >
|
---|
18 | <span id="header">
|
---|
19 | Welcome back
|
---|
20 | </span>
|
---|
21 | </div>
|
---|
22 | <div class="col-md-2 mb-2">
|
---|
23 | <button id="logout" class="btn btn-primary btn-block">
|
---|
24 | Logout
|
---|
25 | </button>
|
---|
26 | </div>
|
---|
27 | </div>
|
---|
28 | </header>
|
---|
29 |
|
---|
30 | <nav>
|
---|
31 | <div class="nav nav-tabs" id="nav-tab" role="tablist">
|
---|
32 | <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>
|
---|
33 | <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>
|
---|
34 | <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>
|
---|
35 | </div>
|
---|
36 | </nav>
|
---|
37 | <div class="tab-content" id="nav-tabContent">
|
---|
38 | <div class="tab-pane fade show active" id="nav-business" role="tabpanel" aria-labelledby="nav-business-tab">
|
---|
39 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
40 | <div class="form-outline mb-4">
|
---|
41 | <label for="business_status">Business status</label>
|
---|
42 | <input type="text" id="business_status" disabled class="form-control" aria-label="business_status"/>
|
---|
43 | <p id="new_business_warning" style="color:darkorange;" hidden>Please wait for the admin to approve your business.</p>
|
---|
44 | </div>
|
---|
45 |
|
---|
46 | <div class="form-outline mb-4">
|
---|
47 | <label for="business_type">Business type</label>
|
---|
48 | <input type="text" id="business_type" disabled class="form-control" aria-label="business_type"/>
|
---|
49 | </div>
|
---|
50 | </div>
|
---|
51 | </div>
|
---|
52 | <div class="tab-pane fade" id="nav-owner" role="tabpanel" aria-labelledby="nav-owner-tab">
|
---|
53 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
54 | <div class="card-body py-5 px-md-5">
|
---|
55 | <form>
|
---|
56 | <div class="row">
|
---|
57 | <div class="col-md-6 mb-4">
|
---|
58 | <div class="form-outline">
|
---|
59 | <label for="firstName">First name</label>
|
---|
60 | <input type="text" id="firstName" class="form-control" placeholder="First name"
|
---|
61 | aria-label="Firstname"/>
|
---|
62 | </div>
|
---|
63 | </div>
|
---|
64 | <div class="col-md-6 mb-4">
|
---|
65 | <div class="form-outline">
|
---|
66 | <label for="lastName">Last name</label>
|
---|
67 | <input type="text" id="lastName" class="form-control" placeholder="Last name"
|
---|
68 | aria-label="lastname"/>
|
---|
69 | </div>
|
---|
70 | </div>
|
---|
71 | </div>
|
---|
72 | <!-- Email input -->
|
---|
73 | <div class="form-outline mb-4">
|
---|
74 | <label for="email">Email</label>
|
---|
75 | <input type="email" id="email" class="form-control" placeholder="Email"
|
---|
76 | aria-label="Email"/>
|
---|
77 | </div>
|
---|
78 | <!-- Email input -->
|
---|
79 | <div class="form-outline mb-4">
|
---|
80 | <label for="username">Username</label>
|
---|
81 | <input type="text" id="username" class="form-control" placeholder="Username"
|
---|
82 | aria-label="username"/>
|
---|
83 | </div>
|
---|
84 | <button type="button" class="btn btn-primary btn-block mb-4" id="update_owner_button">
|
---|
85 | Update profile
|
---|
86 | </button>
|
---|
87 | </form>
|
---|
88 | </div>
|
---|
89 | </div>
|
---|
90 | </div>
|
---|
91 | <div class="tab-pane fade" id="nav-services" role="tabpanel" aria-labelledby="nav-services-tab">
|
---|
92 | <div class="col-lg-6 mb-5 mb-lg-0">
|
---|
93 | <div class="form-outline mb-4">
|
---|
94 | <div class="row">
|
---|
95 | <div class="col-md-10">
|
---|
96 | <div class="form-outline">
|
---|
97 | <input type="text" id="input_service" class="form-control"
|
---|
98 | placeholder="Services"
|
---|
99 | aria-label="services" />
|
---|
100 | </div>
|
---|
101 | </div>
|
---|
102 | <div class="form-outline col-md-2 d-grid">
|
---|
103 | <button class="btn btn-primary" id="add_service">Add</button>
|
---|
104 | </div>
|
---|
105 | </div>
|
---|
106 | </div>
|
---|
107 | <div id="predefined_services_admin_panel" class="form-outline mb-4"></div>
|
---|
108 | <button type="button" class="btn btn-primary btn-block mb-4" id="update_services_button">
|
---|
109 | Update services
|
---|
110 | </button>
|
---|
111 | </div>
|
---|
112 | </div>
|
---|
113 | </div>
|
---|
114 | <script src='js/jquery-1.10.2.js' type="text/javascript"></script>
|
---|
115 | <script src='js/jquery-ui.custom.min.js' type="text/javascript"></script>
|
---|
116 | <script src='js/fullcalendar.js' type="text/javascript"></script>
|
---|
117 | <script src="js/business_admin.js" type="text/javascript"></script>
|
---|
118 | <script src="js/bootstrap.bundle.min.js"></script>
|
---|
119 | <script src="js/logout.js" type="text/javascript"></script>
|
---|
120 | </body>
|
---|
121 | </html> |
---|