1
0
Fork 0

fix fuer jan, some graph testings

This commit is contained in:
Heiko Kernbach 2015-06-16 17:19:08 +02:00
parent 58d9fc7572
commit 2e66dbfad7
6 changed files with 6945 additions and 0 deletions

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -329,6 +329,10 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.tab-content {
width: 100%;
}
svg.explain-tree { svg.explain-tree {
width: 100%; width: 100%;