Skip to content

Commit

Permalink
changes inside profile view
Browse files Browse the repository at this point in the history
  • Loading branch information
yeswanth49 committed Dec 25, 2024
1 parent b3e2d64 commit e6d8d10
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
Binary file modified profiles.db
Binary file not shown.
29 changes: 25 additions & 4 deletions templates/profile_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,35 @@ <h2 class="profile-label">Blood Group</h2>
<p class="profile-value">{{ profile.blood_group }}</p>
</div>
<div class="profile-section">
<h2 class="profile-label">Blood Group</h2>
<p class="profile-value">{{ profile.blood_group }}</p>
<h2 class="profile-label">Emergency Contacts
</h2>
<p class="profile-value">{{ profile.emergency_contact }}</p>
</div>
<div class="profile-section">
<h2 class="profile-label">Medical Conditions
</h2>
<p class="profile-value">{{ profile.medical_conditions }}</p>
</div>
<div class="profile-section">
<h2 class="profile-label">Allergies
</h2>
<p class="profile-value">{{ profile.allergies }}</p>
</div>
<div class="profile-section">
<h2 class="profile-label">Current Medications
</h2>
<p class="profile-value">{{ profile.medications }}</p>
</div>

<div class="button-group">
<button class="button button-primary">Call Emergency Contact</button>
<button class="button button-secondary">View Medical History</button>
<a href="tel:+91{{ profile.emergency_contact }}">
<button class="button button-primary">Call Emergency Contact</button>
</a>
<a href="index.html">
<button class="button button-secondary">View safeLINK</button>
</a>
</div>

</div>
</main>

Expand Down

0 comments on commit e6d8d10

Please sign in to comment.