|
8 | 8 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
9 | 9 | <html xmlns="http://www.w3.org/1999/xhtml">
|
10 | 10 | <head>
|
11 |
| - <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
12 |
| - <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
13 |
| - <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
14 |
| - <!--[if gt IE 8]><!--> |
15 |
| - |
16 |
| - <!-- CSS --> |
17 |
| - <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"> |
18 |
| - <!-- Bootstrap core CSS --> |
19 |
| - <link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.min.css"> |
20 |
| - <!-- Fonts from Font Awsome --> |
21 |
| - <link rel="stylesheet" href="css/font-awesome.min.css"> |
22 |
| - <!-- CSS Animate --> |
23 |
| - <link rel="stylesheet" href="css/animate.css"> |
24 |
| - <!-- Custom styles for this theme --> |
25 |
| - <link rel="stylesheet" href="css/main.css"> |
| 11 | + <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
| 12 | + <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
| 13 | + <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
| 14 | + <!--[if gt IE 8]><!--> |
| 15 | + |
| 16 | + <!-- CSS --> |
| 17 | + <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"> |
| 18 | + <!-- Bootstrap core CSS --> |
| 19 | + <link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.min.css"> |
| 20 | + <!-- Fonts from Font Awsome --> |
| 21 | + <link rel="stylesheet" href="css/font-awesome.min.css"> |
| 22 | + <!-- CSS Animate --> |
| 23 | + <link rel="stylesheet" href="css/animate.css"> |
| 24 | + <!-- Custom styles for this theme --> |
| 25 | + <link rel="stylesheet" href="css/main.css"> |
26 | 26 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
27 | 27 | <!-- end of CSS -->
|
28 |
| - |
29 |
| - <!-- JS --> |
30 |
| - <script src="js/angular/angular.min.js"></script> |
31 |
| - <!-- angular modules --> |
32 |
| - <script src="js/angular/angular-animate.min.js"></script> |
33 |
| - <script src="js/angular/ui-bootstrap-tpls-0.11.0.min.js"></script> |
34 |
| - <!-- Feature detection --> |
35 |
| - <script src="js/modernizr-2.6.2.min.js"></script> |
36 |
| - <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
37 |
| - <!--[if lt IE 9]> |
38 |
| - <script src="js/html5shiv.js"></script> |
39 |
| - <script src="js/respond.min.js"></script> |
40 |
| - <![endif]--> |
41 |
| - |
42 |
| - <!--Global JS--> |
43 |
| - <script src="js/jquery/jquery-1.10.2.min.js"></script> |
44 |
| - <script src="plugins/bootstrap/js/bootstrap.min.js"></script> |
| 28 | + |
| 29 | + <!-- JS --> |
| 30 | + <script src="js/angular/angular.min.js"></script> |
| 31 | + <!-- angular modules --> |
| 32 | + <script src="js/angular/angular-animate.min.js"></script> |
| 33 | + <script src="js/angular/ui-bootstrap-tpls-0.11.0.min.js"></script> |
| 34 | + <!-- Feature detection --> |
| 35 | + <script src="js/modernizr-2.6.2.min.js"></script> |
| 36 | + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
| 37 | + <!--[if lt IE 9]> |
| 38 | + <script src="js/html5shiv.js"></script> |
| 39 | + <script src="js/respond.min.js"></script> |
| 40 | + <![endif]--> |
| 41 | + |
| 42 | + <!--Global JS--> |
| 43 | + <script src="js/jquery/jquery-1.10.2.min.js"></script> |
| 44 | + <script src="plugins/bootstrap/js/bootstrap.min.js"></script> |
45 | 45 |
|
46 | 46 | <script src="js/application.js"></script>
|
47 | 47 | <script type="text/javascript">
|
48 |
| - var goat=angular.module("goatApp", ['ngAnimate','ui.bootstrap']); |
49 |
| - </script> |
50 |
| - <script type="text/javascript" src="js/goatConstants.js"></script> |
51 |
| - <script type="text/javascript" src="js/goatUtil.js"></script> |
52 |
| - <script type="text/javascript" src="js/goatData.js"></script> |
53 |
| - <script type="text/javascript" src="js/goatControllers.js"></script> |
54 |
| - <!-- end of JS --> |
| 48 | + var goat=angular.module("goatApp", ['ngAnimate','ui.bootstrap']); |
| 49 | + </script> |
| 50 | + <script type="text/javascript" src="js/goatConstants.js"></script> |
| 51 | + <script type="text/javascript" src="js/goatUtil.js"></script> |
| 52 | + <script type="text/javascript" src="js/goatData.js"></script> |
| 53 | + <script type="text/javascript" src="js/goatControllers.js"></script> |
| 54 | + <script type="text/javascript" src="js/jquery/jquery-ui-1.10.4.custom.min.js"></script> |
| 55 | + <!-- end of JS --> |
55 | 56 |
|
56 |
| - |
57 |
| - |
58 | 57 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
|
59 |
| - <title>WebGoat V6.0</title> |
| 58 | + <title>WebGoat V6.0 fsdafasd</title> |
60 | 59 | </head>
|
61 | 60 |
|
62 | 61 | <body class="animated fadeIn" ng-app="goatApp" ng-controller="goatLesson">
|
|
71 | 70 | <button type="button" class="btn btn-default" id="toggle-left" data-toggle="tooltip" data-placement="right" title="Toggle Navigation">
|
72 | 71 | <i class="fa fa-bars"></i>
|
73 | 72 | </button>
|
74 |
| - <span id="lessonTitle">Welcome To WebGoat</span> |
| 73 | + <span id="lessonTitle">Welcome To WebGoat</span> |
75 | 74 |
|
76 | 75 | </div><!--toggle navigation end-->
|
77 | 76 | </header>
|
78 |
| - |
79 |
| - <!--sidebar left start--> |
| 77 | + |
| 78 | + <!--sidebar left start--> |
80 | 79 | <aside class="sidebar">
|
81 | 80 | <div id="leftside-navigation" class="nano" >
|
82 |
| - <ul class="nano-content"> |
83 |
| - <li class="sub-menu" ng-repeat="item in menuTopics"> |
84 |
| - <a ng-click="expanded = !expanded" href=""><i class="fa {{item.class}}"></i><span>{{item.name}}</span></a> |
85 |
| - <ul class="slideDown" ng-show="expanded"> |
86 |
| - <li ng-repeat="lesson in item.children"> |
87 |
| - <a ng-click="renderLesson(lesson.link)" title="link to {{lesson.name}}" href="">{{lesson.name}}</a> |
88 |
| - <span ng-repeat="stage in lesson.children" > |
89 |
| - <a ng-click="renderLesson(stage.link)" title="link to {{stage.name}}" href="">{{stage.name}}</a> |
90 |
| - </span> |
91 |
| - </li> |
92 |
| - </ul> |
93 |
| - </li> |
94 |
| - </ul> |
95 |
| - |
| 81 | + <ul id="accordion" class="nano-content"> |
| 82 | + <li class="sub-menu" ng-repeat="item in menuTopics"> |
| 83 | + <h6> |
| 84 | + <a ng-click="expanded = !expanded" href=""><i class="fa {{item.class}}"></i><span>{{item.name}}</span></a> |
| 85 | + </h6> |
| 86 | + <div> |
| 87 | + <ul class="slideDown" ng-show="expanded"> |
| 88 | + <li ng-repeat="lesson in item.children"> |
| 89 | + <a ng-click="renderLesson(lesson.link)" title="link to {{lesson.name}}" |
| 90 | + href="">{{lesson.name}}</a> |
| 91 | + <span ng-repeat="stage in lesson.children" > |
| 92 | + <a ng-click="renderLesson(stage.link)" title="link to {{stage.name}}" |
| 93 | + href="">{{stage.name}}</a> |
| 94 | + </span> |
| 95 | + </li> |
| 96 | + </ul> |
| 97 | + </div> |
| 98 | + </li> |
| 99 | + </ul> |
96 | 100 | </div>
|
97 |
| - |
98 | 101 | </aside>
|
99 | 102 | <!--sidebar left end-->
|
100 | 103 | <!--main content start-->
|
101 | 104 | <section class="main-content-wrapper">
|
102 | 105 |
|
103 | 106 | <section id="main-content">
|
104 | 107 | <div class="row">
|
105 |
| - <div class="col-md-12"> |
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> |
119 |
| - </div> |
| 108 | + <div class="col-md-12"> |
| 109 | + <div class="panel" id="buttonPanel"> |
| 110 | + <button type="button" class="btn btn-primary btn-xs">Params/Cookies</button> |
| 111 | + <button type="button" class="btn btn-primary btn-xs">Hints</button> |
| 112 | + <button type="button" class="btn btn-primary btn-xs">Lesson Plan</button> |
| 113 | + <button type="button" class="btn btn-primary btn-xs" ng-click="showSource('lg')">Java [Source]</button> |
| 114 | + <button type="button" class="btn btn-primary btn-xs" ng-click="showSolution('lg')">Solution</button> |
| 115 | + </div> |
| 116 | + <div class="panel" > |
| 117 | + <div class="panel-body" id="lesson_content"> |
| 118 | + <b>This should default to the "How to Work with Webgoat" lesson</b> |
| 119 | + </div> |
| 120 | + |
| 121 | + </div> |
| 122 | + </div> |
120 | 123 | </div>
|
121 | 124 | <div class="row" id="lesson_cookies_row">
|
122 |
| - <div class="col-md-12"> |
| 125 | + <div class="col-md-12"> |
123 | 126 | <h4>Lesson Parameters and Cookies</h4>
|
124 |
| - <div class="panel" > |
125 |
| - <div class="panel-body" id="lesson_cookies"> |
| 127 | + <div class="panel" > |
| 128 | + <div class="panel-body" id="lesson_cookies"> |
126 | 129 | 1
|
127 | 130 | </div>
|
128 |
| - </div> |
129 |
| - </div> |
| 131 | + </div> |
| 132 | + </div> |
130 | 133 | </div>
|
131 | 134 | <div class="row" id="lesson_hint_row">
|
132 |
| - <div class="col-md-12"> |
| 135 | + <div class="col-md-12"> |
133 | 136 | <h4>Lesson Hints</h4>
|
134 |
| - <div class="panel" > |
135 |
| - <div class="panel-body" id="lesson_hint"> |
| 137 | + <div class="panel" > |
| 138 | + <div class="panel-body" id="lesson_hint"> |
136 | 139 |
|
137 | 140 | </div>
|
138 |
| - </div> |
139 |
| - </div> |
| 141 | + </div> |
| 142 | + </div> |
140 | 143 | </div>
|
141 | 144 | <div class="row" id="lesson_plan_row">
|
142 |
| - <div class="col-md-12"> |
| 145 | + <div class="col-md-12"> |
143 | 146 | <h4>Lesson Plan</h4>
|
144 |
| - <div class="panel" > |
145 |
| - <div class="panel-body" id="lesson_plan"> |
| 147 | + <div class="panel" > |
| 148 | + <div class="panel-body" id="lesson_plan"> |
146 | 149 |
|
147 | 150 | </div>
|
148 |
| - </div> |
149 |
| - </div> |
| 151 | + </div> |
| 152 | + </div> |
150 | 153 | </div>
|
151 | 154 | <div class="row" id="lesson_solution_row">
|
152 |
| - <div class="col-md-12"> |
| 155 | + <div class="col-md-12"> |
153 | 156 | <h4>Lesson Solution</h4>
|
154 |
| - <div class="panel" > |
155 |
| - <div class="panel-body" id="lesson_solution"> |
| 157 | + <div class="panel" > |
| 158 | + <div class="panel-body" id="lesson_solution"> |
156 | 159 | </div>
|
157 |
| - </div> |
158 |
| - </div> |
| 160 | + </div> |
| 161 | + </div> |
159 | 162 | </div>
|
160 | 163 | <div class="row" id="lesson_source_row">
|
161 |
| - <div class="col-md-12"> |
| 164 | + <div class="col-md-12"> |
162 | 165 | <h4>Lesson Source Code</h4>
|
163 |
| - <div class="panel" > |
164 |
| - <div class="panel-body" id="lesson_source"> |
| 166 | + <div class="panel" > |
| 167 | + <div class="panel-body" id="lesson_source"> |
165 | 168 | </div>
|
166 |
| - </div> |
167 |
| - </div> |
| 169 | + </div> |
| 170 | + </div> |
168 | 171 | </div>
|
169 | 172 | </section>
|
170 | 173 | </section>
|
|
177 | 180 | <script src="http://malsup.github.com/jquery.form.js"></script>
|
178 | 181 | <script>
|
179 | 182 | //Load global functions
|
180 |
| - |
| 183 | + |
181 | 184 | // set this to true if you want to see form submissions
|
182 | 185 | // set to false once we get all the kinks worked out
|
183 | 186 | var DEBUG_FORM_SUBMISSION = false;
|
|
0 commit comments