From db6c780b13a0c8743acf0a442d3a3b6af3049bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Bo=CC=88hm?= Date: Sat, 18 Nov 2023 11:33:16 +0100 Subject: [PATCH] Change UI of run buttons --- .../result-box/result-box.component.html | 2 +- .../server-badge/server-badge.component.html | 2 +- .../simulation-card.component.html | 28 ++++++++++--------- .../simulations-overview.component.html | 2 +- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/main/webapp/app/layouts/result-box/result-box.component.html b/src/main/webapp/app/layouts/result-box/result-box.component.html index 855ddf2a..70ce92dd 100644 --- a/src/main/webapp/app/layouts/result-box/result-box.component.html +++ b/src/main/webapp/app/layouts/result-box/result-box.component.html @@ -1,4 +1,4 @@ -
+
{{ formatRequestType(simulationStats.requestType) }}
diff --git a/src/main/webapp/app/layouts/server-badge/server-badge.component.html b/src/main/webapp/app/layouts/server-badge/server-badge.component.html index b8eca991..dbdb4204 100644 --- a/src/main/webapp/app/layouts/server-badge/server-badge.component.html +++ b/src/main/webapp/app/layouts/server-badge/server-badge.component.html @@ -3,7 +3,7 @@
class="badge" [ngClass]="{ 'bg-success': server == ArtemisServer.LOCAL, - 'bg-warning': server == ArtemisServer.STAGING, + 'bg-warning text-dark': server == ArtemisServer.STAGING, 'bg-danger': server == ArtemisServer.PRODUCTION, 'bg-info': server == ArtemisServer.TS1 || server == ArtemisServer.TS3 }" diff --git a/src/main/webapp/app/layouts/simulation-card/simulation-card.component.html b/src/main/webapp/app/layouts/simulation-card/simulation-card.component.html index e78860ed..ee9f7bea 100644 --- a/src/main/webapp/app/layouts/simulation-card/simulation-card.component.html +++ b/src/main/webapp/app/layouts/simulation-card/simulation-card.component.html @@ -29,20 +29,22 @@
-