--- dao/DaoAdresseService/WebContent/admin.jsp 2015/02/23 15:49:00 2352 +++ dao/DaoAdresseService/src/main/webapp/admin.jsp 2015/11/17 19:46:10 2774 @@ -32,15 +32,88 @@ $(document).ready( function() { $("#reloadData").click(function() { - $.get("admin?reload=1"); + $.get("admin?reload=1&trigger=Manual"); $(this).text("Running") .removeClass("btn-success") .addClass("btn-danger") .attr("disabled","disabled"); }); + + $("#dbConnectionProbe").click(function() { + $("#dbProbeContent").load("DbConnectionProbe"); + }); + + var options = { + //Boolean - Whether we should show a stroke on each segment + segmentShowStroke : true, + + //String - The colour of each segment stroke + segmentStrokeColor : "#fff", + + //Number - The width of each segment stroke + segmentStrokeWidth : 2, + + //Number - The percentage of the chart that we cut out of the middle + percentageInnerCutout : 50, // This is 0 for Pie charts + + //Number - Amount of animation steps + animationSteps : 10, + + //String - Animation easing effect + animationEasing : "easeOutBounce", + + //Boolean - Whether we animate the rotation of the Doughnut + animateRotate : true, + + //Boolean - Whether we animate scaling the Doughnut from the centre + animateScale : false, + + }; + + + if ( "" != "") { + var data = [ + { + value: , + color: "#46BFBD", //grøn + highlight: "#5AD3D1", + + label: "Direkte" + }, + { + value: , + color: "#FDB45C", //gul + highlight: "#FFC870", + label: "Udvidet" + }, + { + value: , + color: "#949FB1", //grey + highlight: "#A8B3C5", + label: "100%" + } + , + { + value: , + color:"#F7464A", //rød + highlight: "#FF5A5E", + label: "Ikke dækket" + } + ] + + // Get context with jQuery - using jQuery's .get() method. + var ctx = $("#myChart").get(0).getContext("2d"); + // This will get the first returned node in the jQuery collection. + var myNewChart = new Chart(ctx).Pie(data,options); + + } + + + + refreshLoaderStatus(); - setInterval(refreshLoaderStatus, 3000 ); + setInterval(refreshLoaderStatus, 5000 ); }); @@ -66,15 +139,23 @@ 100%: - + + + Ikke dækket: - - + + + + Total: + + + + @@ -106,6 +187,30 @@

Dataloader

+

DB Connection

+
+ + +

Pages

+ + +

Software

+ + + + + + + + + +
SVN version:
Build Time:
+ + + @@ -113,11 +218,11 @@

Runtime options

- -
@@ -126,4 +231,4 @@ - \ No newline at end of file +