Skip to content

Commit

Permalink
Merge pull request #26 from Pro-Abhinav/master
Browse files Browse the repository at this point in the history
Minor changes
  • Loading branch information
at1603 authored Mar 21, 2021
2 parents 3f7805f + b13ffad commit 5c31db6
Showing 1 changed file with 3 additions and 76 deletions.
79 changes: 3 additions & 76 deletions views/users/settings.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -94,71 +94,22 @@
</div>
</div>
</div>
<div class="form-row">
<div>
<label for="image">Upload Image</label>
<input type="file" id="image" name="photo" accept="image/*" value="" required>
</div>
</div>
<div class="mt-3">
<button type="submit" class="btn btn-dark">Save All</button>
</div>
</form>
</div>
<div class="card card-body shadow-sm mb-4 mb-lg-0">
<h2 class="h5 mb-4">Alerts & Notifications</h2>
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex align-items-center justify-content-between px-0 border-bottom">
<div>
<h3 class="h6 mb-1">Company News</h3>
<p class="small pe-4">Get Rocket news, announcements, and product updates</p>
</div>
<div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="user-notification-1">
<label class="form-check-label" for="user-notification-1"></label>
</div>
</div>
</li>
<li class="list-group-item d-flex align-items-center justify-content-between px-0 border-bottom">
<div>
<h3 class="h6 mb-1">Account Activity</h3>
<p class="small pe-4">Get important notifications about you or activity you've missed</p>
</div>
<div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="user-notification-2" checked>
<label class="form-check-label" for="user-notification-2"></label>
</div>
</div>
</li>
<li class="list-group-item d-flex align-items-center justify-content-between px-0">
<div>
<h3 class="h6 mb-1">Meetups Near You</h3>
<p class="small pe-4">Get an email when a Dribbble Meetup is posted close to my location</p>
</div>
<div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="user-notification-3" checked>
<label class="form-check-label" for="user-notification-3"></label>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="col-12 col-xl-4">
<div class="row">
<div class="col-12 mb-4">
<div class="card shadow-sm text-center p-0">
<div class="profile-cover rounded-top" data-background="../assets/img/profile-cover.jpg"></div>
<div class="card-body pb-5">
<img src="../assets/img/team/profile-picture-1.jpg" class="user-avatar large-avatar rounded-circle mx-auto mt-n7 mb-4" alt="Neil Portrait">
<img src="../assets/img/team/user1.png" class="user-avatar large-avatar rounded-circle mx-auto mt-n7 mb-4" alt="Neil Portrait">
<h4 class="h3"><%= currentUser.name.firstName + " " + currentUser.name.lastName %></h4>
<h5 class="fw-normal">Senior Software Engineer</h5>
<p class="text-gray mb-4">New York, USA</p>
<a class="btn btn-sm btn-dark me-2" href="#"><span class="fas fa-user-plus me-1"></span> Connect</a>
<a class="btn btn-sm btn-secondary" href="#">Send Message</a>
<h5 class="fw-normal">Sahayak Member</h5>
<p class="text-gray mb-4"><%= currentUser.permanentAddress.city + ", " + currentUser.permanentAddress.state + ", " + "India" %></p>
</div>
</div>
</div>
Expand Down Expand Up @@ -189,30 +140,6 @@
</div>
</div>
</div>
<div class="col-12 col-xl-12">
<div class="card card-body shadow-sm mb-4">
<h2 class="h5 mb-4">Select cover photo</h2>
<div class="d-flex align-items-center">
<div class="me-3">
<!-- Avatar -->
<div class="user-avatar xl-avatar">
<img class="rounded" src="../assets/img/profile-cover.jpg" alt="change cover photo">
</div>
</div>
<div class="file-field">
<div class="d-flex justify-content-xl-center ms-xl-3">
<div class="d-flex">
<span class="icon icon-md"><span class="fas fa-paperclip me-3"></span></span> <input type="file">
<div class="d-md-block text-left">
<div class="fw-normal text-dark mb-1">Choose Image</div>
<div class="text-gray small">JPG, GIF or PNG. Max size of 800K</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 5c31db6

Please sign in to comment.