Files
Hospital-Management/hospitalmanagement/templates/hospital/patient_view_appointment.html
2026-01-16 09:26:04 +08:00

63 lines
1.5 KiB
HTML

{% extends 'hospital/patient_base.html' %}
{% block content %}
<head>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<style media="screen">
a:link {
text-decoration: none;
}
h6 {
text-align: center;
}
.row {
margin: 100px;
}
</style>
</head>
<!--
written By : sumit kumar
facebook : fb.com/sumit.luv
-->
<div class="container">
<div class="panel panel-primary">
<div class="panel-heading">
<h6 class="panel-title">Your Appointments</h6>
</div>
<table class="table table-hover" id="dev-table">
<thead>
<tr>
<th>Doctor Name</th>
<th>Description</th>
<th>Date</th>
<th>Status</th>
</tr>
</thead>
{% for a in appointments %}
<tr>
<td> {{a.doctorName}}</td>
<td>{{a.description}}</td>
<td>{{a.appointmentDate}}</td>
{%if a.status%}
<td> <span class="label label-primary">Confirmed</span></td>
{% else %}
<td> <span class="label label-success">Pending</span></td>
{% endif %}
</tr>
{% endfor %}
</table>
</div>
</div>
<!--
developed By : sumit kumar
facebook : fb.com/sumit.luv
youtube : youtube.com/lazycoders
-->
{% endblock content %}