Skip to content

Commit ff76644

Browse files
author
Jason White
committed
moving buttons down off the header area, styles to be updated more later
1 parent 37aed7f commit ff76644

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

src/main/webapp/WEB-INF/pages/main_new.jsp

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,7 @@
7272
<i class="fa fa-bars"></i>
7373
</button>
7474
<span id="lessonTitle">Welcome To WebGoat</span>
75-
<button type="button" class="btn btn-primary btn-sm">Params/Cookies</button>
76-
<button type="button" class="btn btn-primary btn-sm">Hints</button>
77-
<button type="button" class="btn btn-primary btn-sm">Lesson Plan</button>
78-
<button type="button" class="btn btn-primary btn-sm" ng-click="showSource('lg')">Java [Source]</button>
79-
<button type="button" class="btn btn-primary btn-sm" ng-click="showSolution('lg')">Solution</button>
75+
8076
</div><!--toggle navigation end-->
8177
</header>
8278

@@ -107,12 +103,19 @@
107103
<section id="main-content">
108104
<div class="row">
109105
<div class="col-md-12">
110-
<div class="panel" >
111-
<div class="panel-body" id="lesson_content">
112-
<b>This should default to the "How to Work with Webgoat" lesson</b>
113-
</div>
114-
115-
</div>
106+
<div class="panel" id="buttonPanel">
107+
<button type="button" class="btn btn-primary btn-xs">Params/Cookies</button>
108+
<button type="button" class="btn btn-primary btn-xs">Hints</button>
109+
<button type="button" class="btn btn-primary btn-xs">Lesson Plan</button>
110+
<button type="button" class="btn btn-primary btn-xs" ng-click="showSource('lg')">Java [Source]</button>
111+
<button type="button" class="btn btn-primary btn-xs" ng-click="showSolution('lg')">Solution</button>
112+
</div>
113+
<div class="panel" >
114+
<div class="panel-body" id="lesson_content">
115+
<b>This should default to the "How to Work with Webgoat" lesson</b>
116+
</div>
117+
118+
</div>
116119
</div>
117120
</div>
118121
</section>

src/main/webapp/css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,3 +743,8 @@ fieldset[disabled] .btn-warning.active {
743743
display: none;
744744
}
745745
}
746+
747+
#buttonPanel {
748+
padding:3px;
749+
width:auto;
750+
}

0 commit comments

Comments
 (0)