-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
129 lines (126 loc) · 6.53 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
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
<!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">
<title>Profile</title>
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<div class="container-fluid">
<!-- Logo -->
<a class="navbar-brand" href="#"><img
src="https://www.guvi.in/build/images/foot-guvi-logo.7516cb093c7727e01f9332234baea44a.webp"
class="card-img-top logo" alt="Logo"></a>
<!-- Logout Button -->
<button class="logoutbuttn" type="button" id="logoutbuttn">
<i class="fa fa-sign-out" aria-hidden="true"><span> Logout</span></i>
</button>
</div>
</nav>
<div class="container">
<div class="main-body">
<div class="row">
<div class="col-lg-4">
<!-- User Details Card -->
<div class="card profileCard">
<div class="card-header"><b>User Details</b></div>
<div class="card-body">
<div class="d-flex flex-column align-items-center text-center">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="Admin"
class="rounded-circle p-1 bg-primary" width="110">
<!-- User Details -->
<div class="mt-3">
<h4 id="disName">John Doe</h4>
<p class="text-secondary mb-1" id="disAge" >Age </p>
<p class="text-secondary mb-1" id="disWork">Occupation</p>
<p class="text-secondary mb-1" id="disAddress">Address</p>
<p class="text-muted font-size-sm" id="disPhone">Phone</p>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-8">
<!-- Edit Details Card -->
<div class="card profileCard"">
<div class=" card-header"><b>Edit User Details</b></div>
<div class="card-body">
<form>
<!-- Full name -->
<div class="row mb-3">
<div class="col-sm-3">
<h6 class="mb-0">Full Name</h6>
</div>
<div class="col-sm-9 text-secondary">
<input type="text" class="form-control" id="fullname" placeholder="John Doe">
</div>
</div>
<!-- Age -->
<div class="row mb-3">
<div class="col-sm-3">
<h6 class="mb-0">Age</h6>
</div>
<div class="col-sm-9 text-secondary">
<input type="text" class="form-control" id="age" placeholder="20">
</div>
</div>
<!-- Phone -->
<div class="row mb-3">
<div class="col-sm-3">
<h6 class="mb-0">Phone</h6>
</div>
<div class="col-sm-9 text-secondary">
<input type="text" class="form-control" id="phone" placeholder="(239) 816-9029">
</div>
</div>
<!-- Address -->
<div class="row mb-3">
<div class="col-sm-3">
<h6 class="mb-0">Address</h6>
</div>
<div class="col-sm-9 text-secondary">
<input type="text" class="form-control" id="address"
placeholder="Bay Area, San Francisco, CA">
</div>
</div>
<!-- Work -->
<div class="row mb-3">
<div class="col-sm-3">
<h6 class="mb-0">Work</h6>
</div>
<div class="col-sm-9 text-secondary">
<input type="text" class="form-control" id="work" placeholder="Full Stack Developer">
</div>
</div>
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-9 text-secondary">
<input type="hidden" name="id" id="id" value="" />
<input type="hidden" name="button_action" id="button_action" value="insert" />
<!-- Add Data Button -->
<button type="button" class="btn btn-success px-4 updateBtn" id="editprofile">Save changes</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
<script src="./js/profile.js"></script>
</body>
</html>