/[projects]/dao/DaoAdresseService/src/main/webapp/admin.jsp
ViewVC logotype

Diff of /dao/DaoAdresseService/src/main/webapp/admin.jsp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2636 by torben, Thu Jul 23 07:31:35 2015 UTC revision 2786 by torben, Fri Nov 27 13:53:39 2015 UTC
# Line 14  Line 14 
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") {
# Line 31  function refreshLoaderStatus() { Line 38  function refreshLoaderStatus() {
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")
# Line 113  $(document).ready( function() { Line 125  $(document).ready( function() {
125                    
126                    
127          refreshLoaderStatus();          refreshLoaderStatus();
128          setInterval(refreshLoaderStatus, 3000 );          setInterval(refreshLoaderStatus, 5000 );
129                    
130  });  });
131    
# Line 139  $(document).ready( function() { Line 151  $(document).ready( function() {
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>
# Line 216  $(document).ready( function() { Line 230  $(document).ready( function() {
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>

Legend:
Removed from v.2636  
changed lines
  Added in v.2786

  ViewVC Help
Powered by ViewVC 1.1.20