mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-16 15:45:51 +00:00
Change datatables to bootstrap-table in select
This commit is contained in:
@@ -7,17 +7,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<table id="file-table"
|
||||
class="table table-striped table-hover table-bordered">
|
||||
class="table table-striped table-hover table-bordered bg-light"
|
||||
data-toggle="table"
|
||||
data-sticky-header="true"
|
||||
data-sticky-header-offset-y="50"
|
||||
data-sortable="true"
|
||||
data-search="true">
|
||||
<thead>
|
||||
<tr class="table-primary">
|
||||
<th>Model</th>
|
||||
<th>Metric</th>
|
||||
<th>Platform</th>
|
||||
<th>Date</th>
|
||||
<th>Time</th>
|
||||
<th>Stratified</th>
|
||||
<th>Title</th>
|
||||
<th>Score</th>
|
||||
<tr class="bg-primary text-white">
|
||||
<th data-field="model" data-sortable="true">Model</th>
|
||||
<th data-field="metric" data-sortable="true">Metric</th>
|
||||
<th data-field="platform" data-sortable="true">Platform</th>
|
||||
<th data-field="date" data-sortable="true">Date</th>
|
||||
<th data-field="time" data-sortable="true">Time</th>
|
||||
<th data-field="stratified" data-sortable="true">Stratified</th>
|
||||
<th data-field="title" data-sortable="true">Title</th>
|
||||
<th data-field="score" data-sortable="true">Score</th>
|
||||
<th>
|
||||
<button class="btn btn-primary btn-small btn-danger"
|
||||
onclick="setCheckBoxes(false)">
|
||||
@@ -37,9 +42,9 @@
|
||||
<td>{{ parts[2] }}</td>
|
||||
<td>{{ parts[1] }}</td>
|
||||
<td>{{ parts[3] }}</td>
|
||||
<td>{{ parts[4] }}</td>
|
||||
<td>{{ parts[5] }}</td>
|
||||
<td>{{ 'True' if stratified =='1' else 'False' }}</td>
|
||||
<td class="text-center">{{ parts[4] }}</td>
|
||||
<td class="text-center">{{ parts[5] }}</td>
|
||||
<td class="text-center">{{ 'True' if stratified =='1' else 'False' }}</td>
|
||||
<td>{{ "%s" % data["title"] }}</td>
|
||||
<td class="text-end">{{ "%.6f" % data["score"] }}</td>
|
||||
<td>
|
||||
|
Reference in New Issue
Block a user