From b7f657ad2c85fef9fe6065ba99fca83992fb2239 Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sat, 2 Dec 2023 12:59:56 +0100 Subject: [PATCH] chore: fix WebWolf UI (#1686) Fix-ups after the Bootstrap 5 upgrade for WebWolf. --- .../resources/webwolf/static/css/webwolf.css | 1 - .../resources/webwolf/templates/files.html | 37 +++++++++---------- .../webwolf/templates/fragments/header.html | 36 ++++++++---------- .../resources/webwolf/templates/home.html | 2 +- src/main/resources/webwolf/templates/jwt.html | 17 ++++----- .../resources/webwolf/templates/mailbox.html | 2 +- .../resources/webwolf/templates/requests.html | 8 ++-- .../webwolf/templates/webwolf-login.html | 10 ++--- 8 files changed, 52 insertions(+), 61 deletions(-) diff --git a/src/main/resources/webwolf/static/css/webwolf.css b/src/main/resources/webwolf/static/css/webwolf.css index a0557cfd2..787c1a640 100644 --- a/src/main/resources/webwolf/static/css/webwolf.css +++ b/src/main/resources/webwolf/static/css/webwolf.css @@ -75,7 +75,6 @@ textarea { /*Mailbox*/ body { margin: 0 0 10px; - font-family: 'Font Awesome 5 Free'; font-size: medium; } .nav-tabs .glyphicon:not(.no-margin) { margin-right:10px; } diff --git a/src/main/resources/webwolf/templates/files.html b/src/main/resources/webwolf/templates/files.html index 6c4e70a3b..df9a4fba5 100644 --- a/src/main/resources/webwolf/templates/files.html +++ b/src/main/resources/webwolf/templates/files.html @@ -9,16 +9,15 @@ -
- +
diff --git a/src/main/resources/webwolf/templates/home.html b/src/main/resources/webwolf/templates/home.html index 7f6ea8840..5fd228cce 100644 --- a/src/main/resources/webwolf/templates/home.html +++ b/src/main/resources/webwolf/templates/home.html @@ -17,7 +17,7 @@

WebWolf


- Some challenges requires to have a local web server running. WebWolf is for you the attacker it + Some challenges require to have a local web server running. WebWolf is for you the attacker it helps you while solving some assignments and challenges within WebGoat. An assignment might for example require you to serve a file or connect back to your own environment or to receive an e-mail. diff --git a/src/main/resources/webwolf/templates/jwt.html b/src/main/resources/webwolf/templates/jwt.html index f8dd7c128..31e5d1b0d 100644 --- a/src/main/resources/webwolf/templates/jwt.html +++ b/src/main/resources/webwolf/templates/jwt.html @@ -10,7 +10,7 @@ -

+
@@ -23,7 +23,7 @@
- +