mirror of https://gitee.com/bigwinds/arangodb
fix fuer jan, some graph testings
This commit is contained in:
parent
58d9fc7572
commit
2e66dbfad7
|
@ -39,6 +39,7 @@
|
||||||
"frontend/js/lib/nv.d3.js",
|
"frontend/js/lib/nv.d3.js",
|
||||||
"frontend/js/lib/strftime-min.js",
|
"frontend/js/lib/strftime-min.js",
|
||||||
"frontend/js/lib/dygraph-combined.js",
|
"frontend/js/lib/dygraph-combined.js",
|
||||||
|
"frontend/js/lib/vivagraph.js",
|
||||||
"frontend/js/lib/d3.fisheye.js",
|
"frontend/js/lib/d3.fisheye.js",
|
||||||
"frontend/js/lib/bootstrap-pagination.js",
|
"frontend/js/lib/bootstrap-pagination.js",
|
||||||
"frontend/js/lib/jqconsole.min.js",
|
"frontend/js/lib/jqconsole.min.js",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -23,6 +23,7 @@
|
||||||
"applications/:mount": "applicationDetail",
|
"applications/:mount": "applicationDetail",
|
||||||
"application/documentation/:mount": "appDocumentation",
|
"application/documentation/:mount": "appDocumentation",
|
||||||
"graph": "graphManagement",
|
"graph": "graphManagement",
|
||||||
|
"graph2": "graph2",
|
||||||
"graph/:name": "showGraph",
|
"graph/:name": "showGraph",
|
||||||
"userManagement": "userManagement",
|
"userManagement": "userManagement",
|
||||||
"userProfile": "userProfile",
|
"userProfile": "userProfile",
|
||||||
|
@ -299,6 +300,15 @@
|
||||||
this.dashboardView.render();
|
this.dashboardView.render();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
graph2: function () {
|
||||||
|
if (!this.checkUser()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.graphTestView = new window.GraphTestView();
|
||||||
|
this.graphTestView.render();
|
||||||
|
this.naviView.selectMenuItem('graphviewer-menu');
|
||||||
|
},
|
||||||
|
|
||||||
graphManagement: function () {
|
graphManagement: function () {
|
||||||
if (!this.checkUser()) {
|
if (!this.checkUser()) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<script id="graphTestView.ejs" type="text/template">
|
||||||
|
<div class="headerBar">
|
||||||
|
<div class="pull-left">
|
||||||
|
<a class="arangoHeader">Graphs</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="contentDiv" id="graphTest">
|
||||||
|
<div id="graphContainer" style="height: 100px"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</script>
|
File diff suppressed because one or more lines are too long
|
@ -329,6 +329,10 @@
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tab-content {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
svg.explain-tree {
|
svg.explain-tree {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue