Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
adc2018-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
adc2018
adc2018-system
Commits
fa33ab65
Commit
fa33ab65
authored
Aug 14, 2018
by
Kento HASEGAWA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the client status display in each question status
parent
6f0a8af2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
part_client_table.html
comm/server/templates/part_client_table.html
+1
-1
part_question_status.html
comm/server/templates/part_question_status.html
+15
-5
No files found.
comm/server/templates/part_client_table.html
View file @
fa33ab65
...
...
@@ -20,7 +20,7 @@ Viewer Mode
<tr
class=
"client-status-row"
data-cname=
"{{c[0]}}"
>
<td
class=
"client-status-name"
>
{% if c|length > 3 %}
<img
src=
"static/client-icon/{{c[3]}}"
alt=
"{{c[2]}}"
height=
"30"
/>
<img
src=
"static/client-icon/{{c[3]}}"
alt=
"{{c[2]}}"
height=
"30"
/>
{% endif %}
{{c[0]}}
{% if c|length > 2 %}
...
...
comm/server/templates/part_question_status.html
View file @
fa33ab65
<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"
/>
{% endif %}
{{c[0]}}
{% if c|length > 2 %}
({{c[2]}})
{% endif %}
</td>
<td></td>
</tr>
{% endif %}
{% endfor %}
</table>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment