diff --git a/webgoat-container/src/main/resources/static/css/main.css b/webgoat-container/src/main/resources/static/css/main.css index 5f0d380c1..ab0c93ab0 100644 --- a/webgoat-container/src/main/resources/static/css/main.css +++ b/webgoat-container/src/main/resources/static/css/main.css @@ -1022,10 +1022,9 @@ cookie-container { display: inline-block; background-color: #555; border-radius: 8px; - min-width: 20px; + min-width: 25px; text-align: center; font-weight: bold; - padding-top: 2px; } .attack-link.solved-false { @@ -1057,12 +1056,13 @@ cookie-container { } .cur-page { - border-bottom: 2px solid #000; + border: 3px solid #000; color:#aaa; } span.show-next-page, span.show-prev-page { - font-size: 1.3em; + font-size: 1.1em; + align-content: space-evenly; } .show-prev-page { @@ -1073,6 +1073,10 @@ span.show-next-page, span.show-prev-page { cursor: pointer; } +.no-underline:hover { + text-decoration: none; +} + /* attack ... */ .attack-feedback { diff --git a/webgoat-container/src/main/resources/static/js/goatApp/templates/paging_controls.html b/webgoat-container/src/main/resources/static/js/goatApp/templates/paging_controls.html index 141c3f5af..93c55296b 100644 --- a/webgoat-container/src/main/resources/static/js/goatApp/templates/paging_controls.html +++ b/webgoat-container/src/main/resources/static/js/goatApp/templates/paging_controls.html @@ -1,9 +1,9 @@
- -
\ No newline at end of file diff --git a/webgoat-container/src/main/resources/static/js/goatApp/view/HelpControlsView.js b/webgoat-container/src/main/resources/static/js/goatApp/view/HelpControlsView.js index ea8123bc5..6209212cf 100644 --- a/webgoat-container/src/main/resources/static/js/goatApp/view/HelpControlsView.js +++ b/webgoat-container/src/main/resources/static/js/goatApp/view/HelpControlsView.js @@ -22,18 +22,7 @@ function($,_,Backbone) { $('#show-hints-button').hide(); }, - render:function(title) { - $('#show-source-button').hide(); - $('#show-solution-button').hide(); - $('#show-plan-button').hide(); - - if (this.hasSource) { - this.$el.find('#show-source-button').unbind().on('click',_.bind(this.showSource,this)).show(); - } - if (this.hasSolution) { - this.$el.find('#show-solution-button').unbind().on('click',_.bind(this.showSolution,this)).show(); - } - + render:function() { this.$el.find('#restart-lesson-button').unbind().on('click',_.bind(this.restartLesson,this)).show(); }, diff --git a/webgoat-container/src/main/resources/templates/main_new.html b/webgoat-container/src/main/resources/templates/main_new.html index 484732389..42bfc698a 100644 --- a/webgoat-container/src/main/resources/templates/main_new.html +++ b/webgoat-container/src/main/resources/templates/main_new.html @@ -103,14 +103,10 @@
-
+
- - - -
@@ -120,10 +116,6 @@
- diff --git a/webgoat-server/src/main/docker_rpi3/Dockerfile b/webgoat-server/src/main/docker_rpi3/Dockerfile deleted file mode 100644 index c72b6e4f9..000000000 --- a/webgoat-server/src/main/docker_rpi3/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -# Baseimage specially for raspberry pi usage -FROM resin/rpi-raspbian:jessie -VOLUME /tmp -# Installing openjdk-8-headless like in the standard Webgoat Docker container -RUN apt-get update && apt-get install -y \ - openjdk-8-jre-headless -RUN cd /root; mkdir -p .webgoat -ADD webgoat-server-8.0-SNAPSHOT.jar webgoat.jar -RUN sh -c 'touch /webgoat.jar' -ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/webgoat.jar"] \ No newline at end of file