Spaces:
Sleeping
Sleeping
File size: 3,284 Bytes
e24c25f 9555489 e24c25f 9555489 e24c25f 9555489 e24c25f 9555489 e24c25f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Predicted Mapping</title>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
padding: 10px;
text-align: left;
}
.top-1 { background-color: red; }
.top-2 { background-color: blue; }
.top-3 { background-color: green; }
/* Custom styles */
body { background-color: #eff2f9; }
h3 { color: #1b2d6b; font-size: 30px; font-weight: 700; }
textarea, select, .form-control, button.btn, input[type="text"] {
border: 1px solid #363e75; border-radius: 0px; box-shadow: none;
}
textarea:focus, select:focus, .form-control:focus, button:focus, input[type="text"]:focus {
border: 1px solid #007bff;
}
.style1 {color: #FF0000}
.style2 {color: #0000FF}
.style3 {color: #009900}
</style>
</head>
<body>
<h1>Predicted Mapping</h1>
<h2> </h2>
<table>
<tr>
<th>Course Learning Outcome</th>
<th>PLO1</th>
<th>PLO2</th>
<th>PLO3</th>
<th>PLO4</th>
<th>PLO5</th>
<th>PLO6</th>
</tr>
{% for result in results %}
<tr>
<td>{{ result.course_outcome }}</td>
<td class="{% if 0 in result.best_matches[:1] %}top-1{% elif 0 in result.best_matches[1:2] %}top-2{% elif 0 in result.best_matches[2:3] %}top-3{% endif %}">{{ 'β' if 0 in result.best_matches else '' }}</td>
<td class="{% if 1 in result.best_matches[:1] %}top-1{% elif 1 in result.best_matches[1:2] %}top-2{% elif 1 in result.best_matches[2:3] %}top-3{% endif %}">{{ 'β' if 1 in result.best_matches else '' }}</td>
<td class="{% if 2 in result.best_matches[:1] %}top-1{% elif 2 in result.best_matches[1:2] %}top-2{% elif 2 in result.best_matches[2:3] %}top-3{% endif %}">{{ 'β' if 2 in result.best_matches else '' }}</td>
<td class="{% if 3 in result.best_matches[:1] %}top-1{% elif 3 in result.best_matches[1:2] %}top-2{% elif 3 in result.best_matches[2:3] %}top-3{% endif %}">{{ 'β' if 3 in result.best_matches else '' }}</td>
<td class="{% if 4 in result.best_matches[:1] %}top-1{% elif 4 in result.best_matches[1:2] %}top-2{% elif 4 in result.best_matches[2:3] %}top-3{% endif %}">{{ 'β' if 4 in result.best_matches else '' }}</td>
<td class="{% if 5 in result.best_matches[:1] %}top-1{% elif 5 in result.best_matches[1:2] %}top-2{% elif 5 in result.best_matches[2:3] %}top-3{% endif %}">{{ 'β' if 5 in result.best_matches else '' }}</td>
</tr>
{% endfor %}
</table>
<p><a href="/">Back to Input</a></p>
<p><strong>Note: </strong></p>
<ul>
<li class="style1">Red color indicates the highest (1st maximum) similarity between CLOs and PLOs.</li>
<li class="style2">Blue color indicates the second-highest (2nd maximum) similarity between CLOs and PLOs.</li>
<li class="style3">Green color indicates the third-highest (3rd maximum) similarity between CLOs and PLOs.</li>
</ul>
<p> </p>
</body>
</html>
|