diff --git a/Templates/OpenBench/workload.html b/Templates/OpenBench/workload.html index 4447081..d43dee2 100644 --- a/Templates/OpenBench/workload.html +++ b/Templates/OpenBench/workload.html @@ -187,12 +187,15 @@ {% endblock %} +{% block page_head %}

{{ type|title }} #{{ workload.id }}

{{ workload.dev.name|prettyName }} · by {{ workload.author|capfirst }}

{% if workload.deleted %}Deleted{% elif workload.passed %}Passed{% elif workload.failed %}Failed{% elif workload.finished %}Finished{% elif not workload.approved %}Awaiting approval{% else %} Running{% endif %}
{% endblock %} + {% block content %}
-
- +
+

Configuration

+
@@ -244,52 +247,53 @@
Author{{workload.author|capfirst}}
Creation{{workload.creation|date:'U'}}
-
+
+

Actions

-

{{workload|git_diff_text}}

+ {{workload|git_diff_text}}
{% if not workload.approved and profile.approver and profile.user.username != workload.author %} - Approve + Approve {% elif not workload.approved and request.user.is_superuser %} - Approve + Approve {% else %} - Approve + Approve {% endif %} {% if workload.finished and not workload.passed and not workload.failed and profile.approver %} - Restart + Restart {% elif workload.finished and not workload.passed and not workload.failed and profile.user.username == workload.author %} - Restart + Restart {% elif workload.finished %} - Restart + Restart {% endif %} {% if not workload.finished and profile.approver %} - Stop + Stop {% elif not workload.finished and profile.user.username == workload.author %} - Stop + Stop {% elif not workload.finished %} - Stop + Stop {% endif %} {% if profile.approver or profile.user.username == workload.author %} {% if workload.deleted %} - Restore + Restore {% else %} - Delete + Delete {% endif %} {% else %} {% if workload.deleted %} - Restore + Restore {% else %} - Delete + Delete {% endif %} {% endif %}
@@ -297,21 +301,21 @@ {% if type == "TEST" or type == "DATAGEN" %}
- Copy Stat Block +
{% endif %} {% if type == "TEST" or type == "DATAGEN" %}
- Copy Stat Block (DC Block) +
{% endif %} {% if workload.upload_pgns != "FALSE" %} {% endif %} @@ -319,7 +323,7 @@ {% if type == "TUNE" %}
- Copy SPSA Inputs +
{% endif %} @@ -327,7 +331,7 @@ {% if type == "TUNE" %}
- Copy SPSA Outputs +
{% endif %} @@ -340,8 +344,8 @@
{{workload|longStatBlock|linebreaksbr}}
{% endif %} - -
+ + {% csrf_token %}
@@ -401,7 +405,8 @@ {% if type == "TUNE" %} -
+
+

SPSA Parameters

@@ -425,18 +430,19 @@ {% endif %} -
+
+

Results by Machine

- - - - - - + + + + + + {% for result in results %}
# User UpdatedGamesWonLostDrawnTimeCrashGamesWonLostDrawnTimeCrash