/[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 2785 by torben, Tue Nov 17 19:46:10 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&trigger=Manual");                  $.get("admin?reload=1&trigger=Manual");
48                                    
# Line 218  $(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%" height="250" style="border-width: 0px;">        <iframe src="ConfigServlet" width="100%" height="250" style="border-width: 0px; margin-bottom: 20px;" >
234        </iframe>        </iframe>
235                
236                

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

  ViewVC Help
Powered by ViewVC 1.1.20