14 |
|
|
15 |
<script> |
<script> |
16 |
|
|
17 |
|
function resizeIframe(obj){ |
18 |
|
{obj.style.height = 0;}; |
19 |
|
{obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';} |
20 |
|
} |
21 |
|
|
22 |
|
|
23 |
|
|
24 |
function refreshLoaderStatus() { |
function refreshLoaderStatus() { |
25 |
$.get("admin?isrunning=1", function(data) { |
$.get("admin?isrunning=1", function(data) { |
26 |
if (data == "true") { |
if (data == "true") { |
38 |
} |
} |
39 |
|
|
40 |
$(document).ready( function() { |
$(document).ready( function() { |
41 |
|
|
42 |
|
$('iframe').load(function() { //dynamically resize all iframes on load |
43 |
|
resizeIframe( this ); |
44 |
|
}); |
45 |
|
|
46 |
$("#reloadData").click(function() { |
$("#reloadData").click(function() { |
47 |
$.get("admin?reload=1"); |
$.get("admin?reload=1&trigger=Manual"); |
48 |
|
|
49 |
$(this).text("Running") |
$(this).text("Running") |
50 |
.removeClass("btn-success") |
.removeClass("btn-success") |
125 |
|
|
126 |
|
|
127 |
refreshLoaderStatus(); |
refreshLoaderStatus(); |
128 |
setInterval(refreshLoaderStatus, 3000 ); |
setInterval(refreshLoaderStatus, 5000 ); |
129 |
|
|
130 |
}); |
}); |
131 |
|
|
151 |
</tr> |
</tr> |
152 |
<tr> |
<tr> |
153 |
<td>100%: </td> |
<td>100%: </td> |
154 |
<td align="right"><c:out value="${stats.hundredePctCount}"></c:out></td> |
<td align="right"> |
155 |
|
<a href='CsvUdtraek?type=100pct' target='_blank'><c:out value="${stats.hundredePctCount}"></c:out></a> |
156 |
|
</td> |
157 |
</tr> |
</tr> |
158 |
<tr> |
<tr> |
159 |
<td>Ikke dækket: </td> |
<td>Ikke dækket: </td> |
230 |
|
|
231 |
<div class="col-sm-8"> |
<div class="col-sm-8"> |
232 |
<h3>Runtime options</h3> |
<h3>Runtime options</h3> |
233 |
<iframe src="ConfigServlet" width="100%" frameborder="0" height="250"> |
<iframe src="ConfigServlet" width="100%" height="250" style="border-width: 0px; margin-bottom: 20px;" > |
234 |
</iframe> |
</iframe> |
235 |
|
|
236 |
|
|
237 |
<iframe src="CircuitBreakerServlet" width="100%" frameborder="0" height="450"> |
<iframe src="CircuitBreakerServlet" width="100%" height="450" style="border-width: 0px;"> |
238 |
</iframe> |
</iframe> |
239 |
|
|
240 |
</div> |
</div> |