mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
Added the click on a part in module stats
This commit is contained in:
parent
c07c12088d
commit
5bab1a6f17
2 changed files with 5 additions and 5 deletions
|
@ -91,11 +91,11 @@
|
||||||
if (data[0][1] > 0 && data[0][1] < 7){
|
if (data[0][1] > 0 && data[0][1] < 7){
|
||||||
$("#day-"+module_name).text(data[0][1] + " Day(s) ago ");
|
$("#day-"+module_name).text(data[0][1] + " Day(s) ago ");
|
||||||
$("#panel-"+module_name).removeClass("panel-default")
|
$("#panel-"+module_name).removeClass("panel-default")
|
||||||
$("#panel-"+module_name).addClass("panel-warning")
|
$("#panel-"+module_name).addClass("panel-info")
|
||||||
} else if (data[0][1] > 6) {
|
} else if (data[0][1] > 6) {
|
||||||
$("#day-"+module_name).text(data[0][1] + " Day(s) ago ");
|
$("#day-"+module_name).text(data[0][1] + " Day(s) ago ");
|
||||||
$("#panel-"+module_name).removeClass("panel-default")
|
$("#panel-"+module_name).removeClass("panel-default")
|
||||||
$("#panel-"+module_name).addClass("panel-danger")
|
$("#panel-"+module_name).addClass("panel-warning")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
temp_data_pie.push({label: data[i][0], data: data[i][1]});
|
temp_data_pie.push({label: data[i][0], data: data[i][1]});
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="">
|
<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-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>
|
</div>
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="">
|
<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-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>
|
</div>
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="">
|
<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-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>
|
</div>
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue