File size: 1,980 Bytes
ee5d33c |
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 |
<!DOCTYPE html>
<html>
<head>
<title>CSV Data Table</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.13.6/css/jquery.dataTables.css" /> <!-- Updated DataTables CDN CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
</head>
<body>
<h2 class="title">Benchmark Data Table - {% if active_tab == 'TextEval' %}TextEval{% else %}AGIEval{% endif %}</h2>
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link {% if active_tab == 'TextEval' %}active{% endif %}" data-toggle="tab" href="?tab=TextEval">TextEval</a>
</li>
<li class="nav-item">
<a class="nav-link {% if active_tab == 'AGIEval' %}active{% endif %}" data-toggle="tab" href="?tab=AGIEval">AGIEval</a>
</li>
</ul>
<div id="demo_info" class="container">
<table class="table table-bordered table-hover" id="csvDataTable">
<thead class="thead-dark">
<tr>
{% for header in header_row %}
<th>{{ header }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in data %}
<tr>
{% for cell in row %}
<td>{{ cell }}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.datatables.net/1.13.6/js/jquery.dataTables.js"></script> <!-- Updated DataTables CDN JavaScript -->
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
</body>
</html>
|