Update templates/customer_details.html (#12)
Browse files- Update templates/customer_details.html (61652feb4fa183718f19da8e9c1b4590eb0d2ff8)
Co-authored-by: geetha <[email protected]>
templates/customer_details.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
<title>User Profile</title>
|
7 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
8 |
<style>
|
9 |
-
|
10 |
background-color: #FDF4E3;
|
11 |
}
|
12 |
|
@@ -79,6 +79,8 @@
|
|
79 |
padding: 10px 20px;
|
80 |
font-size: 1rem;
|
81 |
cursor: pointer;
|
|
|
|
|
82 |
}
|
83 |
|
84 |
.update-btn:hover {
|
@@ -94,6 +96,7 @@
|
|
94 |
font-size: 1rem;
|
95 |
cursor: pointer;
|
96 |
width: 100%;
|
|
|
97 |
}
|
98 |
|
99 |
.edit-btn:hover {
|
@@ -118,15 +121,19 @@
|
|
118 |
height: 50px; /* Equal height for both buttons */
|
119 |
}
|
120 |
|
121 |
-
/* Change
|
122 |
-
|
123 |
-
|
124 |
-
color:#6c757d; /* Set color for heading */
|
125 |
}
|
126 |
|
127 |
-
/*
|
128 |
-
|
129 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
131 |
</style>
|
132 |
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
@@ -226,6 +233,7 @@
|
|
226 |
<input type="text" id="rewardPoints" name="rewardPoints" class="form-control" value="{{ customer['reward_points'] }}" readonly>
|
227 |
</div>
|
228 |
|
|
|
229 |
<div class="button-container">
|
230 |
<button type="button" class="edit-btn" onclick="editProfileFields()">Edit Profile</button>
|
231 |
<button type="submit" class="update-btn">Update Profile</button>
|
|
|
6 |
<title>User Profile</title>
|
7 |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
|
8 |
<style>
|
9 |
+
body {
|
10 |
background-color: #FDF4E3;
|
11 |
}
|
12 |
|
|
|
79 |
padding: 10px 20px;
|
80 |
font-size: 1rem;
|
81 |
cursor: pointer;
|
82 |
+
width: 100%;
|
83 |
+
font-weight: bold; /* Making the button text bold */
|
84 |
}
|
85 |
|
86 |
.update-btn:hover {
|
|
|
96 |
font-size: 1rem;
|
97 |
cursor: pointer;
|
98 |
width: 100%;
|
99 |
+
font-weight: bold; /* Making the button text bold */
|
100 |
}
|
101 |
|
102 |
.edit-btn:hover {
|
|
|
121 |
height: 50px; /* Equal height for both buttons */
|
122 |
}
|
123 |
|
124 |
+
/* Change text color inside input fields to gray */
|
125 |
+
input[type="text"], input[type="email"], input[type="number"], .form-control {
|
126 |
+
color: #808080; /* Change text color to gray */
|
|
|
127 |
}
|
128 |
|
129 |
+
/* Change color for the headings like Name, Email, Phone, Referral Code, Reward Points */
|
130 |
+
.form-label {
|
131 |
+
color: #1C1C1C; /* Change heading text color */
|
132 |
+
}
|
133 |
+
|
134 |
+
h1 {
|
135 |
+
color: #1C1C1C; /* Change User Profile heading color */
|
136 |
+
font-size: 28px; /* Change font size of 'User Profile' */
|
137 |
}
|
138 |
</style>
|
139 |
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
|
233 |
<input type="text" id="rewardPoints" name="rewardPoints" class="form-control" value="{{ customer['reward_points'] }}" readonly>
|
234 |
</div>
|
235 |
|
236 |
+
<!-- Flex container for Edit and Update buttons -->
|
237 |
<div class="button-container">
|
238 |
<button type="button" class="edit-btn" onclick="editProfileFields()">Edit Profile</button>
|
239 |
<button type="submit" class="update-btn">Update Profile</button>
|