From 4885a1c2d4aa36024d031b0290c762347374c8ba Mon Sep 17 00:00:00 2001 From: theo77186 Date: Mon, 28 Sep 2020 19:02:28 +0200 Subject: [PATCH] Use relative paths and fix endlines (#82) The "OpenBench Testing Framework" link is hardcoded to point to chess.grantnet.us. Modify so it points to the root of the current domain. Also fixes CRLF endlines of base.html and index.html --- Templates/OpenBench/base.html | 146 ++++++++++++++++----------------- Templates/OpenBench/index.html | 80 +++++++++--------- 2 files changed, 113 insertions(+), 113 deletions(-) diff --git a/Templates/OpenBench/base.html b/Templates/OpenBench/base.html index d20bd07..ac53df8 100644 --- a/Templates/OpenBench/base.html +++ b/Templates/OpenBench/base.html @@ -1,73 +1,73 @@ - - - - - {% load static %} - - - - - - OpenBench - - - - - - - {% if error %} -
-
{{error}}
-
- {% endif %} - - - -
-

OpenBench Testing Framework

- {% block content %} - {% endblock %} -
- - - + + + + + {% load static %} + + + + + + OpenBench + + + + + + + {% if error %} +
+
{{error}}
+
+ {% endif %} + + + +
+

OpenBench Testing Framework

+ {% block content %} + {% endblock %} +
+ + + diff --git a/Templates/OpenBench/index.html b/Templates/OpenBench/index.html index b07dd3b..83070b2 100644 --- a/Templates/OpenBench/index.html +++ b/Templates/OpenBench/index.html @@ -1,40 +1,40 @@ -{% extends "OpenBench/base.html" %} - -{% block content %} - - - - - {% if paging.page == 1 %} - - - {% if pending %} - - {% for test in pending %} - {% include "OpenBench/Blocks/testsummary.html" %} - {% endfor %} - - {% endif %} - - - {% if active %} - - {% for test in active %} - {% include "OpenBench/Blocks/testsummary.html" %} - {% endfor %} - - {% endif %} - - {% endif %} - - - - {% for test in completed %} - {% include "OpenBench/Blocks/testsummary.html" %} - {% endfor %} - -
Pending
Active {{status}}
Finished
- - {% include "OpenBench/Blocks/pagebrowser.html" %} - -{% endblock %} +{% extends "OpenBench/base.html" %} + +{% block content %} + + + + + {% if paging.page == 1 %} + + + {% if pending %} + + {% for test in pending %} + {% include "OpenBench/Blocks/testsummary.html" %} + {% endfor %} + + {% endif %} + + + {% if active %} + + {% for test in active %} + {% include "OpenBench/Blocks/testsummary.html" %} + {% endfor %} + + {% endif %} + + {% endif %} + + + + {% for test in completed %} + {% include "OpenBench/Blocks/testsummary.html" %} + {% endfor %} + +
Pending
Active {{status}}
Finished
+ + {% include "OpenBench/Blocks/pagebrowser.html" %} + +{% endblock %}