-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
72 lines (70 loc) · 3.5 KB
/
profile.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
<!DOCTYPE html>
<html>
<head>
<title>Profile</title>
<link rel="stylesheet" href="Assets/Css/profil.css">
</head>
<body>
<div id="some"></div>
<br><br>
<div class="center">
<div class="box">
<button id="dashboard" class="dropbtn"><a style="text-decoration: none; color: white;" href="dashboard.html">Dashboard</a></button>
</div>
<div class="box">
<button class="dropbtn"><a style="text-decoration: none; color: white;" href="profile.html">Profile</a></button>
</div>
<div class="box">
<button class="dropbtn"><a style="text-decoration: none; color: white;" href="selling_products.html">Order</a></button>
</div>
<div class="box">
<button class="dropbtn"><a style="text-decoration: none; color: white;" href="contact.html">Feedback</a></button>
</div>
<br><br><br><br><br>
<h2>Profile</h2>
<div class="cont" style="float:left" >
<div style="float:right; width:45%">
<p>Username</p>
<fieldset id="myfieldset" style="border: none;"disabled>
<input type="text" id="username" readonly><br><br>
</fieldset>
<fieldset id="myfieldset1" style="border: none;"disabled>
<p>Gender</p>
<select id="gender">
<option>Not selected</option>
<option>Male</option>
<option>Female</option>
</select>
<p>Contact Number</p>
<input type="text" id="number"><br><br>
</fieldset>
</div>
<div style="float:left;width:45%">
<fieldset id="myfieldset2" style="border: none" disabled>
<p>Name</p>
<input type="text" id="name"><br><br>
<p>Date Of Birth</p>
<input type="date" id="DOB"><br><br>
<p>Email</p>
<input type="email" id="email" ><br><br>
<p>Address</p>
<textarea rows="4" column="500" id="address" style="background-color: lightgrey; width:100%"></textarea><br><br>
</fieldset>
<button onclick="window.location.href='dashboard.html'">Cancel</button>
<button onclick="edit()">Edit</button>
<button onclick="submit()">Submit</button>
</div>
</div>
<div class="cont" style="width:18%; float:right;">
<img src="Assets/Images/Photo.jpg" width="150px" height="150px"><br><br><br>
<form id="upload" action="http://localhost:8080/pic" enctype="multipart/form-data" method="POST">
<input type="file" type="submit" name="file" onchange="upload()">
</form>
</div>
</div><br><br><br><br>
<div id="some1"></div>
</body>
</html>
<script src="Assets/TS-JS/profile.js"></script>
<script src="Assets/TS-JS/JQuery.js"></script>
<script src="Assets/TS-JS/imp.js"></script>