-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin.html
148 lines (147 loc) · 6.63 KB
/
admin.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!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">
<link rel="stylesheet" href="./style/admin.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
<title>Travel Buddy</title>
</head>
<body>
<header>
<nav>
<div id="left_nav">
<!-- <p>TravelBuddy</p> -->
<img id="imgis" src="./sitelogo.png" alt="">
</div>
<div id="right_nav">
<a href="./index.html">
<span style="color: blue;">Home</span>
</a>
<a href="#luckdata">
<p>Maldives</p>
</a>
<a href="#luckdata">
<p>Dubai</p>
</a>
</div>
</nav>
</header>
<br><br>
<h1 style="text-align: center; color: blue; font-family: 'segoe ui black';">Welcome Ganesh!!</h1>
<div id="container">
<div id="left">
<select id="search_select">
<option value="">Select anyone</option>
<option value="https://projectnewapi.onrender.com/lucknow">Maldives</option>
<option value="https://projectnewapi.onrender.com/dubai">Dubai</option>
</select><input placeholder="Search by Name" type="text" id="searching"><input id="search" type="submit">
<h2>Add New Place</h2>
<select id="url">
<option value="">Select API Server</option>
<option value="https://projectnewapi.onrender.com/lucknow">Maldives API</option>
<option value="https://projectnewapi.onrender.com/dubai">Dubai API</option>
</select><br>
<input id="addimg" type="text" placeholder="Enter Image Link"><br>
<input id="addname" type="text" placeholder="Enter Place Name"><br>
<input id="addprice" type="number" placeholder="Enter Price"><br>
<input id="addrating" type="number" placeholder="Enter Rating"><br>
<p id="addtext" style="font-weight: bold; color: green;"></p>
<button id="addbutton">ADD PLACE</button>
<hr>
<h2>Update in Maldive's Place</h2>
<input id="luckid" type="number" placeholder="Enter id"><br>
<input id="luckimg" type="text" placeholder="Enter New Image Link"><br>
<input id="luckname" type="text" placeholder="Enter New Place Name"><br>
<input id="luckprice" type="number" placeholder="Enter New Price"><br>
<input id="luckrating" type="number" placeholder="Enter New Rating"><br>
<p id="lucktext" style="font-weight: bold; color: green;"></p>
<button id="luckupdate">UPDATE PLACE</button>
<hr>
<h2>Update in Dubai's Place</h2>
<input id="dubid" type="number" placeholder="Enter id"><br>
<input id="dubimg" type="text" placeholder="Enter New Image Link"><br>
<input id="dubname" type="text" placeholder="Enter New Place Name"><br>
<input id="dubprice" type="number" placeholder="Enter New Price"><br>
<input id="dubrating" type="number" placeholder="Enter New Rating"><br>
<p id="dubtext" style="font-weight: bold; color: green;"></p>
<button id="dubupdate">UPDATE PLACE</button>
<hr>
<h2>Sort based on Price</h2>
<button id="lowbtn">LOW TO HIGH</button><br>
<button id="highbtn">HIGH TO LOW</button>
<hr>
<h2>Fetch Data</h2>
<button id="luckdata">FETCH MALDIVES DATA</button><br>
<button id="dubdata">FETCH DUBAI DATA</button>
</div>
<div id="right">
<!-- all card will be here -->
</div>
</div>
<br><br><br>
<footer>
<div class="content">
<div class="top">
<div class="logo-details">
<i class="fa fa-plane"></i>
<span class="logo_name">TravelBuddy</span>
</div>
<div class="media-icons">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div class="link-boxes">
<ul class="box">
<li class="link_name">Company</li>
<li><a href="#">Home</a></li>
<li><a href="#">Contact us</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Get started</a></li>
</ul>
<ul class="box">
<li class="link_name">Services</li>
<li><a href="#">Traveling</a></li>
<li><a href="#">Hotel</a></li>
<li><a href="#">Food </a></li>
<li><a href="#">Trip Packages</a></li>
</ul>
<ul class="box">
<li class="link_name">Account</li>
<li><a href="#">Profile</a></li>
<li><a href="#">My account</a></li>
<li><a href="#">Prefrences</a></li>
<li><a href="#">Purchase</a></li>
</ul>
<ul class="box">
<li class="link_name">Admin</li>
<li><a href="#">Login</a></li>
<!-- <li><a href="#">JavaScript</a></li>
<li><a href="#">Photography</a></li>
<li><a href="#">Photoshop</a></li> -->
</ul>
<ul class="box input-box">
<li class="link_name">Subscribe</li>
<li><input type="text" placeholder="Enter your email"></li>
<li><input type="button" value="Subscribe"></li>
</ul>
</div>
</div>
<div class="bottom-details">
<div class="bottom_text">
<span class="copyright_text">Copyright © 2023 <a href="#">TravelBuddy.</a>All rights reserved</span>
<span class="policy_terms">
<a href="#">Privacy policy</a>
<a href="#">Terms & condition</a>
</span>
</div>
</div>
</footer>
</body>
<script src="./Script/admin.js"></script>
</html>