mirror of https://github.com/CIRCL/AIL-framework
Added the click on a part in module stats
parent
c07c12088d
commit
5bab1a6f17
|
@ -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]});
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue