Spaces:
Paused
Paused
Yash goyal commited on
Upload result.html
Browse files- templates/result.html +102 -0
templates/result.html
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
| 6 |
+
<title>Diagnosis Report | Skin ALGNOSIS</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/form-styles.css" />
|
| 8 |
+
<link rel="shortcut icon" href="/static/logo.jpg" />
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet"/>
|
| 10 |
+
<script src="/static/preloader.js"></script>
|
| 11 |
+
<script src="/static/cursor-effect.js"></script>
|
| 12 |
+
<script>
|
| 13 |
+
function printPage() {
|
| 14 |
+
window.print();
|
| 15 |
+
}
|
| 16 |
+
</script>
|
| 17 |
+
</head>
|
| 18 |
+
<body>
|
| 19 |
+
<div class="preloader">
|
| 20 |
+
<div class="preloader-particles"></div>
|
| 21 |
+
<div class="dna-loader">
|
| 22 |
+
<div class="dna-loader-strand"></div>
|
| 23 |
+
<div class="dna-loader-strand"></div>
|
| 24 |
+
<div class="dna-loader-rung"></div>
|
| 25 |
+
<div class="dna-loader-rung"></div>
|
| 26 |
+
<div class="dna-loader-rung"></div>
|
| 27 |
+
<div class="dna-loader-rung"></div>
|
| 28 |
+
<div class="dna-loader-rung"></div>
|
| 29 |
+
<div class="dna-loader-rung"></div>
|
| 30 |
+
<div class="dna-loader-rung"></div>
|
| 31 |
+
<div class="dna-loader-rung"></div>
|
| 32 |
+
<div class="loader-text">LOADING...</div>
|
| 33 |
+
</div>
|
| 34 |
+
</div>
|
| 35 |
+
|
| 36 |
+
<header>
|
| 37 |
+
<nav>
|
| 38 |
+
<div class="logo" style="color: beige;">SKIN <span style="color: #00ffff;">ALGNOSIS</span></div>
|
| 39 |
+
<ul>
|
| 40 |
+
<li><a href="/form">Home</a></li>
|
| 41 |
+
<li><a href="#">About</a></li>
|
| 42 |
+
<li><a href="#">Features</a></li>
|
| 43 |
+
</ul>
|
| 44 |
+
</nav>
|
| 45 |
+
</header>
|
| 46 |
+
|
| 47 |
+
<section class="form-section">
|
| 48 |
+
<div class="container">
|
| 49 |
+
<div class="form-container">
|
| 50 |
+
<h1 style="color: white;">Diagnosis Report</h1>
|
| 51 |
+
<div class="form-wrapper">
|
| 52 |
+
<div class="result-section" style="display: block;">
|
| 53 |
+
<h2>Patient Details</h2>
|
| 54 |
+
<p><strong>Full Name:</strong> {{ name }}</p>
|
| 55 |
+
<p><strong>Email Address:</strong> {{ email }}</p>
|
| 56 |
+
<p><strong>Gender:</strong> {{ gender }}</p>
|
| 57 |
+
<p><strong>Age:</strong> {{ age }}</p>
|
| 58 |
+
|
| 59 |
+
<h2 style="margin-top: 30px;">Prediction Result</h2>
|
| 60 |
+
<p><strong>Diagnosis:</strong> {{ prediction }}</p>
|
| 61 |
+
<p><strong>Confidence:</strong> {{ confidence }}</p>
|
| 62 |
+
|
| 63 |
+
{% if message %}
|
| 64 |
+
<p class="warning-message">{{ message }}</p>
|
| 65 |
+
{% endif %}
|
| 66 |
+
|
| 67 |
+
<div style="margin-top: 40px; display: flex; gap: 15px; flex-wrap: wrap;">
|
| 68 |
+
<a href="/form" class="submit-button">← Back to Form</a>
|
| 69 |
+
<a href="/download-report" class="submit-button">⬇ Download PDF</a>
|
| 70 |
+
<button onclick="printPage()" class="submit-button">🖨 Print Report</button>
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</section>
|
| 77 |
+
|
| 78 |
+
<footer>
|
| 79 |
+
<div class="container">
|
| 80 |
+
<div class="footer-content">
|
| 81 |
+
<div class="footer-logo">CODE<span>CATALYST</span></div>
|
| 82 |
+
<div class="footer-links">
|
| 83 |
+
<h3>Quick Links</h3>
|
| 84 |
+
<ul>
|
| 85 |
+
<li><a href="/form">Home</a></li>
|
| 86 |
+
<li><a href="#">About</a></li>
|
| 87 |
+
<li><a href="#">Features</a></li>
|
| 88 |
+
</ul>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="footer-contact">
|
| 91 |
+
<h3>Support</h3>
|
| 92 |
+
<p>Email: info.skinalgnosiss@gmail.com</p>
|
| 93 |
+
<p>Phone: 7817833974 / 7983595318</p>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
+
<div class="copyright">
|
| 97 |
+
<p>© 2025 Skin Lesion Diagnosis. All rights reserved.</p>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</footer>
|
| 101 |
+
</body>
|
| 102 |
+
</html>
|