mirror of https://gitee.com/bigwinds/arangodb
http db group
This commit is contained in:
parent
f50d1c8fda
commit
026ce33eec
|
@ -0,0 +1,5 @@
|
||||||
|
<script id="dashboardHttpGroup.ejs" type="text/template">
|
||||||
|
|
||||||
|
<div id="dashboardHttpGroup"></div>
|
||||||
|
|
||||||
|
</script>
|
|
@ -283,9 +283,11 @@
|
||||||
|
|
||||||
template: templateEngine.createTemplate("dashboardView.ejs"),
|
template: templateEngine.createTemplate("dashboardView.ejs"),
|
||||||
|
|
||||||
httpTemplate: templateEngine.createTemplate("dashboardChart.ejs"),
|
httpTemplate: templateEngine.createTemplate("dashboardHttpGroup.ejs"),
|
||||||
|
|
||||||
groupTemplate: templateEngine.createTemplate("dashboardGroup.ejs"),
|
renderHttpGroup: function() {
|
||||||
|
$('.contentDiv').append(this.httpTemplate.render());
|
||||||
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
@ -296,6 +298,7 @@
|
||||||
this.renderPieCharts();
|
this.renderPieCharts();
|
||||||
//this.renderLineCharts();
|
//this.renderLineCharts();
|
||||||
|
|
||||||
|
this.renderHttpGroup();
|
||||||
console.log(this.series);
|
console.log(this.series);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#dashboardHttpGroup {
|
||||||
|
width: 100%;
|
||||||
|
height: 300px;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
|
@ -750,3 +750,8 @@ select.filterSelect {
|
||||||
max-width: 160px;
|
max-width: 160px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 3px; }
|
margin-right: 3px; }
|
||||||
|
|
||||||
|
#dashboardHttpGroup {
|
||||||
|
width: 100%;
|
||||||
|
height: 300px;
|
||||||
|
border: 1px solid black; }
|
||||||
|
|
|
@ -20,3 +20,5 @@
|
||||||
@import "tooltips";
|
@import "tooltips";
|
||||||
// dbSelection
|
// dbSelection
|
||||||
@import "dbSelection";
|
@import "dbSelection";
|
||||||
|
// dashboard http group
|
||||||
|
@import "dashboardHttpGroup";
|
||||||
|
|
Loading…
Reference in New Issue