Skip to content

Commit f6ac851

Browse files
author
Jason White
committed
change to fix WEB-164, some other UI updates
1 parent 302aff5 commit f6ac851

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,10 @@
176176
<div id="cookiesAndParamsView">
177177
<div class="cookiesView">
178178
<h4>Cookies</h4>
179-
<table class="cookieTable table-striped table-nonfluid" ng-repeat="cookie in cookies">
179+
<div class="cookieContainer" ng-repeat="cookie in cookies">
180+
<table class="cookieTable table-striped table-nonfluid" >
180181
<thead>
181-
<tr><th class="col-sm-1">Field</th><th class="col-sm-1">Value</th></tr>
182+
<tr><th class="col-sm-1"></th><th class="col-sm-1"></th></tr> <!-- Field / Value -->
182183
</thead>
183184
<tbody>
184185
<tr ng-repeat="(key, value) in cookie">
@@ -189,6 +190,7 @@
189190
<!--<li ng-repeat="(key, value) in cookie">{{key}} :: {{ value}} </td>-->
190191
<!--</ul>-->
191192
</table>
193+
</div>
192194
</div>
193195
<div id="paramsView"> <!--class="paramsView"-->
194196
<h4>Params</h4>

src/main/webapp/css/main.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,10 +716,11 @@ fieldset[disabled] .btn-warning.active {
716716

717717
.table-nonfluid {
718718
width:auto;
719-
719+
margin-bottom:15px;
720720
}
721-
.table-nonfluid {
722-
721+
722+
cookieContainer {
723+
margin-bottom:4px;
723724
}
724725

725726
.cookieTable tr td, .paramsTable tr td {

src/main/webapp/js/goatUtil.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ goat.utils = {
102102
function() {
103103
var _url = $(el).attr('link');
104104
$.get(_url, {success:showResponse});
105-
//return $.get(_url, {}, null, "html");
106-
//angular.element($('#leftside-navigation')).scope().renderLesson(curMenuItem,url);
107105
}
108106
)
109107
}

src/main/webapp/lessons/CrossSiteScripting/ViewProfile.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ WebSession webSession = ((WebSession)session.getAttribute("websession"));
151151
</td>
152152
<td width="190">&nbsp;</td>
153153
<td width="76">
154-
<form method="POST">
154+
<form method="POST" action="<%=webSession.getCurrentLesson().getFormAction()%>">
155155
<input type="submit" name="action" value="<%=CrossSiteScripting.LOGOUT_ACTION%>"/>
156156
</form>
157157
</td>

0 commit comments

Comments
 (0)