<table class="table table-bordered table-striped"> <thead> <tr> <th>Timestamp</th> <th>Client</th> <th>Score</th> </tr> </thead> <tbody> {% for k, v in solutions %} {% set tr_class = '' %} {% set tr_class = tr_class + ' submit-solution' if k == problem.best_solution else '' %} {% set tr_class = tr_class + ' valid-solution' if v.is_valid_solution() else '' %} <tr class="solution-detail-row {{tr_class}}" data-solution-id="{{k}}" data-problem="{{problem.name}}"> <td>{{v.timestamp_str}}</td> <td>{{v.worker}}</td> <td> {% if v.is_valid_solution() %} {{v.score}} ({{v.size_str}}) {% else %} {{v.status}} {% endif %}
{{v.nlcheck}}
</td> </tr> {% endfor %} </tbody> </table>