|
@ -9,6 +9,7 @@ |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge"> |
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge"> |
|
|
<title>@ViewData["Title"] - CustomerOnlineV2</title> |
|
|
<title>@ViewData["Title"] - CustomerOnlineV2</title> |
|
|
|
|
|
<link href="@Url.Content("~/Content/styles.css")" rel="stylesheet" type="text/css" /> |
|
|
<link href="~/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|
|
<link href="~/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> |
|
|
<link href="~/vendor/font-awesome/css/all.min.css" rel="stylesheet" /> |
|
|
<link href="~/vendor/font-awesome/css/all.min.css" rel="stylesheet" /> |
|
|
<link href="~/vendor/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet" /> |
|
|
<link href="~/vendor/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet" /> |
|
@ -56,7 +57,8 @@ |
|
|
============================= --> |
|
|
============================= --> |
|
|
<div class="logo me-3"> |
|
|
<div class="logo me-3"> |
|
|
<a class="d-flex" href="/Home" title="IME Londan"> |
|
|
<a class="d-flex" href="/Home" title="IME Londan"> |
|
|
<img src="/images/imelondon.svg" height="30" alt="IME London - Logo" /> |
|
|
|
|
|
|
|
|
@* <img src="/images/imelondon.svg" height="30" alt="IME London - Logo" /> *@ |
|
|
|
|
|
<img src="@Url.Content("~/images/imelondon.svg")" height="30" alt="IME London - Logo" /> |
|
|
</a> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
<!-- Logo end --> |
|
|
<!-- Logo end --> |
|
@ -115,7 +117,8 @@ |
|
|
</li> |
|
|
</li> |
|
|
<li class="dropdown profile ms-2"> |
|
|
<li class="dropdown profile ms-2"> |
|
|
<a class="px-0 dropdown-toggle" href="javascript:void(0)"> |
|
|
<a class="px-0 dropdown-toggle" href="javascript:void(0)"> |
|
|
<img class="rounded-circle" src="images/profile-thumb.jpg" width="32" alt="" /> |
|
|
|
|
|
|
|
|
@* <img class="rounded-circle" src="images/profile-thumb.jpg" width="32" alt="" /> *@ |
|
|
|
|
|
<img class="rounded-circle" src="@Url.Content("~/images/profile-thumb.jpg")" width="32" alt="" /> |
|
|
</a> |
|
|
</a> |
|
|
<ul class="dropdown-menu"> |
|
|
<ul class="dropdown-menu"> |
|
|
<li class="text-center text-3 py-2">Hi, @firstName</li> |
|
|
<li class="text-center text-3 py-2">Hi, @firstName</li> |
|
@ -154,10 +157,11 @@ |
|
|
<!-- Profile Details --> |
|
|
<!-- Profile Details --> |
|
|
<div class="bg-white rounded text-center p-3 mb-4"> |
|
|
<div class="bg-white rounded text-center p-3 mb-4"> |
|
|
<div class="profile-thumb mt-3 mb-4"> |
|
|
<div class="profile-thumb mt-3 mb-4"> |
|
|
<img class="rounded-circle" src="images/profile-thumb.jpg" alt=""> |
|
|
|
|
|
|
|
|
@* <img class="rounded-circle" src="images/profile-thumb.jpg" alt=""> *@ |
|
|
|
|
|
<img class="rounded-circle" src="@Url.Content("~/images/profile-thumb.jpg")" alt="" /> |
|
|
<div class="profile-thumb-edit bg-primary text-white" data-bs-toggle="tooltip" title="Change Profile Picture"> |
|
|
<div class="profile-thumb-edit bg-primary text-white" data-bs-toggle="tooltip" title="Change Profile Picture"> |
|
|
<i class="fas fa-camera position-absolute"></i> |
|
|
<i class="fas fa-camera position-absolute"></i> |
|
|
<input type="file" class="custom-file-input" id="customFile"> |
|
|
|
|
|
|
|
|
<input type="file" class="custom-file-input" id="customFile" accept="image"> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<p class="text-3 fw-500 mb-2">Hello, @firstName</p> |
|
|
<p class="text-3 fw-500 mb-2">Hello, @firstName</p> |
|
@ -237,6 +241,31 @@ |
|
|
$(document).ready(function () { |
|
|
$(document).ready(function () { |
|
|
GetNotificationList(); |
|
|
GetNotificationList(); |
|
|
// GetRewardDetails(); |
|
|
// GetRewardDetails(); |
|
|
|
|
|
|
|
|
|
|
|
const fileInput = $("#customFile"); |
|
|
|
|
|
|
|
|
|
|
|
fileInput.on('change', function () { |
|
|
|
|
|
if (fileInput[0].files.length > 0) { |
|
|
|
|
|
const file = fileInput[0].files[0]; |
|
|
|
|
|
const formData = new FormData(); |
|
|
|
|
|
formData.append('file', file); |
|
|
|
|
|
|
|
|
|
|
|
$.ajax({ |
|
|
|
|
|
url: '/CustomerDocumentController/UploadProfilePic', |
|
|
|
|
|
type: 'POST', |
|
|
|
|
|
data: formData, |
|
|
|
|
|
processData: false, |
|
|
|
|
|
contentType: false, |
|
|
|
|
|
success: function (response) { |
|
|
|
|
|
console.log(response); |
|
|
|
|
|
}, |
|
|
|
|
|
error: function (error) { |
|
|
|
|
|
// any errors, if needed |
|
|
|
|
|
console.error(error); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
}); |
|
|
}); |
|
|
function GetNotificationList() { |
|
|
function GetNotificationList() { |
|
|
|
|
|
|
|
|