42 lines
1.9 KiB
HTML
42 lines
1.9 KiB
HTML
<!-- templates/index.html -->
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-md-8 mx-auto text-center">
|
|
<h2>Health Disease Prediction Engine</h2>
|
|
<p class="lead">Enter your current illness and get statistical recommendations based on health records from all users</p>
|
|
|
|
<div class="card mt-5">
|
|
<div class="card-body">
|
|
<form id="search-form" method="POST" action="{{ url_for('predict_diseases') }}">
|
|
<div class="mb-4">
|
|
<label for="current-disease" class="form-label">Enter Your Current Illness</label>
|
|
<input type="text" class="form-control form-control-lg" id="current-disease" name="current_disease"
|
|
placeholder="e.g., Headache, Fever, Chest Pain..." required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-lg w-100">
|
|
<i class="fas fa-search"></i> Find Related Diseases
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mt-5">
|
|
<div class="card-header">
|
|
<h4><i class="fas fa-info-circle"></i> How It Works</h4>
|
|
</div>
|
|
<div class="card-body">
|
|
<p>This tool analyzes statistical patterns from all registered users' health records to provide insights into related conditions.</p>
|
|
<ul class="text-start">
|
|
<li>Enter your current illness in the search box above</li>
|
|
<li>View statistically significant related conditions</li>
|
|
<li>Understand common co-occurrences with your symptoms</li>
|
|
<li>This is for informational purposes only - not medical advice</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|