From 8f41ab6836259d0c38cfa8270714926df602f43c Mon Sep 17 00:00:00 2001 From: Luecx <34272583+Luecx@users.noreply.github.com> Date: Wed, 23 Nov 2022 01:01:19 +0100 Subject: [PATCH] Minor CSS Fixes (#104) --- OpenBench/static/style.css | 21 +++++++- Templates/OpenBench/Blocks/testsummary.html | 44 +++++++++++------ Templates/OpenBench/base.html | 6 +-- Templates/OpenBench/events.html | 6 +-- Templates/OpenBench/index.html | 53 +++++---------------- Templates/OpenBench/machines.html | 2 +- Templates/OpenBench/networks.html | 19 ++++---- Templates/OpenBench/newTest.html | 2 +- Templates/OpenBench/users.html | 20 ++++---- 9 files changed, 87 insertions(+), 86 deletions(-) diff --git a/OpenBench/static/style.css b/OpenBench/static/style.css index c4c9f1b..d6517cb 100644 --- a/OpenBench/static/style.css +++ b/OpenBench/static/style.css @@ -2,13 +2,15 @@ html, body, header { height: 100%; line-height: 1.5rem; font-weight: 400; + font-size: 1.0rem; + font-family: monospace; } #content .statblock { color: black; background-color: #CCCCCC; - font-family: Courier, serif; + font-family: monospace; } #content .green { @@ -21,6 +23,23 @@ html, body, header { } + +.w-10{ + width: 10%; +} + +.w-5{ + width: 5%; +} + +.w-12{ + width: 12%; +} + +.mw-30{ + min-width: 30%; +} + #content .red { /*background: linear-gradient(to bottom, #FA8E8E 0%, #da7474 100%);*/ background-color: #FA8E8E diff --git a/Templates/OpenBench/Blocks/testsummary.html b/Templates/OpenBench/Blocks/testsummary.html index 6b44c9c..d059b35 100644 --- a/Templates/OpenBench/Blocks/testsummary.html +++ b/Templates/OpenBench/Blocks/testsummary.html @@ -1,29 +1,45 @@ +{##} +{# #} +{# #} +{# #} +{# #} +{# #} +{# #} +{# #} + + {% load mytags %} - - - + + + {{ test.author|capfirst|slice:":6" }} - {{ test.engine }} + + {{ test.engine }} + {% if test.error %} - [x] {{ test|prettyDevName }} + + [x] {{ test|prettyDevName }} + + {% elif test|testIsFRC %} - {{ test|prettyDevName }}[FRC] + + + {{ test|prettyDevName }} + [FRC] + + {% else %} - {{ test|prettyDevName }} {% endif %} - diff + diff - {{ test.timecontrol }} + {{ test.timecontrol }} {# #} {#