Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated find a doctor page #553

Merged
merged 4 commits into from
Jun 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 53 additions & 5 deletions Html-Files/Doctor Experience.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,59 @@
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i"
rel="stylesheet">
<style>
#doctor-list {
list-style-type: none;
padding: 0;
}

#doctor-list li {
border: 2px solid #4bb6b7;
border-radius: 20px;
padding: 30px;
margin: 20px 0;
background-color: #2c3e50;
font-family: 'Cambria', Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: 25px;
color: #ecf0f1;
display: flex;
align-items: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#doctor-list li .content {
flex-grow: 1;
}

#doctor-list li .content h4 {
margin: 0;
font-size: 18px;
color: #ecf0f1;
}

#doctor-list li .content p {
margin: 5px 0 0;
font-size: 14px;
color: #bdc3c7;
}

#doctor-list li:hover{
background: rgb(75, 182, 183);
border: 2px solid white;
color: white;
font-weight: bold;
font-size: 30px;
}


</style>
</head>
<body>
<div class="pre">
<div class="loader"></div>
</div>
<header class="header_container">
<div class="img">
<img id="rd-logo" style="width: 90px; height: auto;" src="/images/rd.png">
<img id="rd-logo" style="width: 90px; height: auto;" src="../assets/img/rd1.png">
</div>

</div>
Expand All @@ -40,16 +85,16 @@
<header class="h">
<h1>Find a Doctor</h1>
<div class="filter-sort">
<label for="experience-filter" style="color: #4bb6b7;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">Experience:</label>
<select id="experience-filter">
<label for="experience-filter" style="color: #4bb6b7;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-size: 25px;">Experience:</label>
<select id="experience-filter" style="height: 35px;background-color: #ecf0f1;">
<option value="" style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">All</option>
<option value="5">5+ years</option>
<option value="10">10+ years</option>
<option value="15">15+ years</option>
</select>
<label for="fee-filter" style="color: #4bb6b7;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">Minimum Fee:</label>
<label for="fee-filter" style="color: #4bb6b7;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 25px;">Minimum Fee:</label>
<input type="range" id="fee-filter" min="0" max="1000" step="50" value="500">
<span id="fee-value" style="color: #4bb6b7;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">1000</span>
<span id="fee-value" style="color: #4bb6b7;font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;font-size: 25px;">1000</span>
<button id="sort-btn" style="font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;">Sort by Fee</button>
</div>
</header>
Expand Down Expand Up @@ -133,6 +178,9 @@ <h4>RAPIDOC Newsletter</h4><br>
</div>
</footer>
<script>
document.getElementById('fee-filter').addEventListener('input', function() {
document.getElementById('fee-value').textContent = this.value;
});
const doctorList = [
{ name: 'Dr.Ram', experience: 12, minFee: 200 },
{ name: 'Dr.krishn', experience: 8, minFee: 150 },
Expand Down