Commit fa33ab65 authored by Kento HASEGAWA's avatar Kento HASEGAWA

Fix the client status display in each question status

parent 6f0a8af2
......@@ -20,7 +20,7 @@ Viewer Mode
<tr class="client-status-row" data-cname="{{c[0]}}">
<td class="client-status-name">
{% if c|length > 3 %}
&nbsp;<img src="static/client-icon/{{c[3]}}" alt="{{c[2]}}" height="30" />
<img src="static/client-icon/{{c[3]}}" alt="{{c[2]}}" height="30" />&nbsp;
{% endif %}
{{c[0]}}
{% if c|length > 2 %}
......
<div class="row">
<div class="col-6">
<h3>問題 【{{qname}}】</h3>
<div class="col-4">
<h3> 【{{qname}}】</h3>
<p>
<button class="btn btn-primary btn-lg start-button" type="button" data-qname="{{qname}}">Start</button>
</p>
</div>
<div class="col-6">
<div class="col-8">
<p>処理結果</p>
<table class="table table-bordered">
<tr>
<th>クライアント</th>
<th>Client (Solver)</th>
<th>Status</th>
</tr>
{% for c in clients %}
{% if c[1] == "Solver" %}
<tr>
<td>{{c}}</td>
<td>
{% if c|length > 3 %}
<img src="static/client-icon/{{c[3]}}" alt="{{c[2]}}" height="30" />&nbsp;
{% endif %}
{{c[0]}}
{% if c|length > 2 %}
&nbsp;({{c[2]}})
{% endif %}
</td>
<td></td>
</tr>
{% endif %}
{% endfor %}
</table>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment