Added the click on a part in module stats

pull/65/head
Mokaddem 2016-07-26 12:12:26 +02:00
parent c07c12088d
commit 5bab1a6f17
2 changed files with 5 additions and 5 deletions

View File

@ -91,11 +91,11 @@
if (data[0][1] > 0 && data[0][1] < 7){
$("#day-"+module_name).text(data[0][1] + " Day(s) ago ");
$("#panel-"+module_name).removeClass("panel-default")
$("#panel-"+module_name).addClass("panel-warning")
$("#panel-"+module_name).addClass("panel-info")
} else if (data[0][1] > 6) {
$("#day-"+module_name).text(data[0][1] + " Day(s) ago ");
$("#panel-"+module_name).removeClass("panel-default")
$("#panel-"+module_name).addClass("panel-danger")
$("#panel-"+module_name).addClass("panel-warning")
}
} else {
temp_data_pie.push({label: data[i][0], data: data[i][1]});

View File

@ -9,7 +9,7 @@
<div class="panel-body">
<div class="">
<div class="flot-chart-content col-lg-6" id="flot-pie-chart-credential" style="height:250px; width:48%;"></div>
<div class="flot-chart-content col-lg-6" id="flot-bar-chart-credential" style="height:250px; width:48%;"></div>
<div class="flot-chart-content col-lg-6" id="flot-bar-chart-credential" style="height:250px; width:48%;"><div class="alert alert-info">Click on a part</div></div>
</div>
<!-- /.row -->
</div>
@ -33,7 +33,7 @@
<div class="panel-body">
<div class="">
<div class="flot-chart-content col-lg-6" id="flot-pie-chart-mail" style="height:250px; width:48%;"></div>
<div class="flot-chart-content col-lg-6" id="flot-bar-chart-mail" style="height:250px; width:48%;"></div>
<div class="flot-chart-content col-lg-6" id="flot-bar-chart-mail" style="height:250px; width:48%;"><div class="alert alert-info">Click on a part</div></div>
</div>
<!-- /.row -->
</div>
@ -57,7 +57,7 @@
<div class="panel-body">
<div class="">
<div class="flot-chart-content col-lg-6" id="flot-pie-chart-size" style="height:250px; width:48%;"></div>
<div class="flot-chart-content col-lg-6" id="flot-bar-chart-size" style="height:250px; width:48%;"></div>
<div class="flot-chart-content col-lg-6" id="flot-bar-chart-size" style="height:250px; width:48%;"><div class="alert alert-info">Click on a part</div></div>
</div>
<!-- /.row -->
</div>