Skip to content

Commit 649e694

Browse files
committed
WEB-28
indented lab stages
1 parent 064c0e8 commit 649e694

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
<link rel="stylesheet" href="css/animate.css">
2424
<!-- Custom styles for this theme -->
2525
<link rel="stylesheet" href="css/main.css">
26+
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
27+
<!-- end of CSS -->
2628

2729
<!-- JS -->
2830
<script src="js/angular/angular.min.js"></script>
@@ -34,17 +36,16 @@
3436
<script src="js/html5shiv.js"></script>
3537
<script src="js/respond.min.js"></script>
3638
<![endif]-->
37-
<script src="js/application.js"></script>
38-
<script type="text/javascript">
39+
<script src="js/application.js"></script>
40+
<script type="text/javascript">
3941
var goat=angular.module("goatApp", ['ngAnimate']);
4042
</script>
4143
<script type="text/javascript" src="js/goat.js"></script>
4244
<script type="text/javascript" src="js/goatConstants.js"></script>
45+
<!-- end of JS -->
4346

4447
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
4548
<title>WebGoat V6.0</title>
46-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
47-
4849
</head>
4950

5051
<body class="animated fadeIn" ng-app="goatApp">
@@ -72,8 +73,8 @@
7273
<ul class="slideDown" ng-show="expanded">
7374
<li ng-repeat="lesson in item.children">
7475
<a ng-click="renderLesson(lesson.link)" title="link to {{lesson.name}}" href="">{{lesson.name}}</a>
75-
<span ng-repeat="stage in lesson.children">
76-
<a ng-click="renderLesson(stage.link)" title="link to {{stage.name}}" href="">&nbsp;&nbsp;{{stage.name}}</a>
76+
<span ng-repeat="stage in lesson.children" >
77+
<a ng-click="renderLesson(stage.link)" title="link to {{stage.name}}" href="">{{stage.name}}</a>
7778
</span>
7879
</li>
7980
</ul>

src/main/webapp/css/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ img {
195195
background-color: #16a086;
196196
}
197197

198+
.sidebar > div > ul > li > ul > li > span {
199+
float:left; margin-left:1.5em;
200+
}
201+
198202
/* ==========================================================================
199203
Main Content
200204
========================================================================== */

0 commit comments

Comments
 (0)