From 3e217cefab009c12bf99e50095826a84e12d346a Mon Sep 17 00:00:00 2001 From: AndyGrant Date: Mon, 25 Jun 2018 15:40:27 -0400 Subject: [PATCH] Clean up the main page GUI, and general tables --- OpenBench/static/style.css | 7 +++---- Templates/OpenBench/index.html | 24 +++++++++--------------- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/OpenBench/static/style.css b/OpenBench/static/style.css index a9fafe7..5db6a03 100644 --- a/OpenBench/static/style.css +++ b/OpenBench/static/style.css @@ -121,13 +121,12 @@ body { color: white; font-size: 20px; padding: 6px 12px; - border: 1px solid black; background-color: #15A049; } #content .datatable td { padding: 6px 12px; - border: 1px solid black; + } #content .datatable .numeric { @@ -151,7 +150,7 @@ body { } #content .datatable .green { - background-color: #9DF779 + background-color: #7DF779 } #content .datatable .yellow { @@ -197,7 +196,7 @@ body { border-style: solid; border-width: 1px; border-color: black; - border-radius: 16px; + border-radius: 8px; text-align: center; display: inline-block; padding-top : 8px; diff --git a/Templates/OpenBench/index.html b/Templates/OpenBench/index.html index 01d4bea..d099de3 100644 --- a/Templates/OpenBench/index.html +++ b/Templates/OpenBench/index.html @@ -6,9 +6,8 @@

Pending

{% if pending %} - Creation - Author Engine + Author Test Diff P @@ -18,9 +17,8 @@ {% endif %} {% for test in pending %} - {{test.creation|date:'Y-m-d'}} - {{test.author}} {{test.engine}} + {{test.author}} {{test.dev.name}} diff {{test.priority}} @@ -31,9 +29,8 @@

Active

{% if active %} - Creation - Author Engine + Author Test Diff P @@ -42,10 +39,9 @@ {% endif %} {% for test in active %} - - {{test.creation|date:'Y-m-d'}} - {{test.author}} + {{test.engine}} + {{test.author}} {{test.dev.name}} diff {{test.priority}} @@ -57,9 +53,8 @@

Finished

{% if completed %} - Creation - Author Engine + Author Test Diff P @@ -68,15 +63,14 @@ {% endif %} {% for test in completed %} - - {{test.creation|date:'Y-m-d'}} - {{test.author}} + {{test.engine}} + {{test.author}} {{test.dev.name}} diff {{test.priority}} {{test.timecontrol}} - {{test|shortStatBlock|linebreaksbr}} + {{test|shortStatBlock|linebreaksbr}} {% endfor %}