Commit 568213fe authored by J D N S De Silva's avatar J D N S De Silva

Output Html Page

parent 10aa197b
{% extends 'base.html' %}
{% block main %}
<div class="card" style="width: 25rem;margin-left: 35%;margin-top: 5%;">
<img class="card-img-top" src="/static/results.png" alt="Card image cap" />
<div class="card-body">
{% if textshow %}
<h3 class="card-title">Results</h3>
<p class="card-text">{{ result }}<sup>2</sup></p>
<a href="{{ url_for('home') }}" class="btn btn-primary" style="text-align:right;">Home</a>
{% if show_button %}
<a href="{{ url_for('lungcancerlevel') }}" class="btn btn-primary">Predict Lung Disease Risk</a>
{% endif %}>
{%else%}
<h3 class="card-title">Results</h3>
<p class="card-text">{{ result }}</p>
<a href="{{ url_for('home') }}" class="btn btn-primary" style="text-align:right;">Home</a>
{% if show_button %}
<a href="{{ url_for('lungcancerlevel') }}" class="btn btn-primary">Predict Lung Disease Risk</a>
{% endif %}
{% endif %}
</div>
</div>
<div class="card" style="width: 90%;margin-top: 5%;margin-left: 5%;">
<div class="card-body">
<h3 class="card-title">Recommoned Doctors</h3>
{% if rec %}
{{ rec|safe }}
{% else %}
<p>No results found.</p>
{% endif %}
<a href="{{ url_for('home') }}" class="btn btn-primary" style="text-align:right;">Home</a>
</div>
</div>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment