-
Notifications
You must be signed in to change notification settings - Fork 0
/
businessprofile.php
114 lines (96 loc) · 4.92 KB
/
businessprofile.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<Title>HOWLR</Title>
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="css/profile.css">
<script>
function changeLanguage(language) {
var element = document.getElementById("url");
element.value = language;
element.innerHTML = language;
}
function showDropdown() {
document.getElementById("myDropdown").classList.toggle("show");
}
window.onclick = function(event) {
if (!event.target.matches('.dropbtn')) {
var dropdowns = document.getElementsByClassName("dropdown-content");
var i;
for (i = 0; i < dropdowns.length; i++) {
var openDropdown = dropdowns[i];
if (openDropdown.classList.contains('show')) {
openDropdown.classList.remove('show');
}
}
}
}
</script>
</head>
<body>
<div class="main-content">
<header>
<h2>
<label for="nav-toggle">
<span class="fa-solid fa-gear"></span>
</label>
Profile Settings
</h2>
<div class="userwrapper">
<div>
<img src="res/profilepic.png" width="50px" height="50px" style="background: transparent">
<h4>Verna tech </h4>
<div class="dropdown">
<!-- three dots -->
<ul class="dropbtn icons btn-right showLeft" onclick="showDropdown()">
<li></li>
<li></li>
<li></li>
</ul>
<!-- menu -->
</div>
<div id="myDropdown" class="dropdown-content">
<a href="sellerprofile.php">Profile</a>
<a href="bootup.php">Logout</a>
</div>
</div>
</div>
</header>
<main class="landbg">
<div class="editpage">
<form>
<div class="centprof">
<div class="mb-1">
<div class="rounded-circle"><img src="res/profilepic.png" style="width: 150px; height: 150px; border-radius: 50%;"></div>
<label class="form-label">Full Name </label>
<input type="text"
class="form-control"
name="fname"
value="" style="border-radius: 1rem; width: 20rem; height: 40px; font-size: 1.5rem; font-family: myfont;" placeholder="Verna tech">
</div>
<div class="mb-2">
<label class="form-label">User name </label>
<input type="text"
class="form-control"
name="uname"
value="" style="border-radius: 1rem;width: 20rem; height: 40px; font-size: 1.5rem; font-family: myfont;" placeholder="vtech_720">
</div>
<div class="mb-3">
<label class="form-label">Profile Picture </label>
<input type="file"
class="form-control"
name="pp" style="font-family: myfont; border-radius: 1rem;">
<input type="text"
hidden="hidden"
name="old_pp"
value="" >
</div>
<div class="subbut"><input type="submit" value="Update" style="width: 100px; height: 40px;"><a href="businesslanding.php" class="homeprof">Home</a></div>
</form>
</div>
</main>
</div>
</body>
</html>