diff --git a/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js b/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js index 84915c81f..07e9eb177 100644 --- a/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js +++ b/webgoat-container/src/main/resources/static/js/goatApp/view/LessonContentView.js @@ -174,7 +174,7 @@ define(['jquery', pagingControlsDiv = $('
',{class:'panel-body', id:'lesson-page-controls'}); pagingControlsDiv.append(prevPageButton); pagingControlsDiv.append(nextPageButton); - this.$el.append(pagingControlsDiv); + this.$el.find('.lesson-page-controls').append(pagingControlsDiv); } }, diff --git a/webgoat-container/src/main/resources/templates/main_new.html b/webgoat-container/src/main/resources/templates/main_new.html index 7553ef8b2..a791f2026 100644 --- a/webgoat-container/src/main/resources/templates/main_new.html +++ b/webgoat-container/src/main/resources/templates/main_new.html @@ -62,7 +62,8 @@
- + - - + +
- @@ -140,9 +144,11 @@ id="show-hints-button" th:text="#{show.hints}">Show hints - @@ -151,8 +157,8 @@
- +
@@ -166,6 +172,9 @@
+
+ +