diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index c1a2802..e2cd584 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 8462839..7b85a88 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/base.html b/core/templates/base.html index 43113d2..1e0e226 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -38,6 +38,16 @@ overflow-x: hidden; } + /* Remove blue underline from links */ + a { + text-decoration: none !important; + color: inherit; + } + + a:hover { + color: var(--pulse-red); + } + @keyframes blink { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.1); } @@ -63,13 +73,14 @@ #sidebar { width: var(--sidebar-width); background: var(--sidebar-bg); - min-height: 100vh; + height: 100vh; position: fixed; left: 0; top: 0; z-index: 1000; border-right: 1px solid var(--border-color); transition: all 0.3s; + overflow-y: auto; } #sidebar.collapsed { diff --git a/core/templates/core/donation_history.html b/core/templates/core/donation_history.html new file mode 100644 index 0000000..a1030ca --- /dev/null +++ b/core/templates/core/donation_history.html @@ -0,0 +1,116 @@ +{% extends 'core/base.html' %} +{% load static %} + +{% block content %} +
A transparent record of every life saved through the community's generosity.
+| Donor | +Blood Group | +Recipient/Patient | +Location | +Date | +Status | +
|---|---|---|---|---|---|
|
+
+
+
+
+
+
+
+ {{ donation.donor_user.username }}
+ Verified Hero
+ |
+ + {{ donation.request.blood_group }} + | +
+ {{ donation.request.patient_name }}
+ |
+
+
+ {{ donation.request.hospital }}
+
+ {{ donation.request.location }}
+ |
+
+ {{ donation.date|date:"M d, Y" }}
+ {{ donation.date|time:"H:i" }}
+ |
+ + + Completed + + | +
|
+
+
+
+ No donation history available yet.+When donations are completed, they will appear here. + |
+ |||||
"{{ item.myth }}"
+{{ item.fact }}
+"{{ item.myth }}"
-{{ item.fact }}
-