diff --git a/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_edit.png b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_edit.png new file mode 100644 index 0000000000..6a89f24eb4 Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_edit.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_expand.png b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_expand.png new file mode 100644 index 0000000000..d0bb08ef4f Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_expand.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_flag.png b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_flag.png new file mode 100644 index 0000000000..9a01662c67 Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_flag.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_link.png b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_link.png new file mode 100644 index 0000000000..834868c159 Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_link.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_trash.png b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_trash.png new file mode 100644 index 0000000000..93d2b11abf Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/compressed-img/gv_trash.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_bottom.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_bottom.png deleted file mode 100644 index 6edda34f53..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_bottom.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_left.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_left.png deleted file mode 100644 index 17e76b414e..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_left.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_right.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_right.png deleted file mode 100644 index 69f5a76b43..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_right.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_top.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_top.png deleted file mode 100644 index 0ece69c2f1..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_arrow_top.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_button_bg_reverse.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_button_bg_reverse.png deleted file mode 100644 index 0295e27717..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_button_bg_reverse.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_collapse.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_collapse.png deleted file mode 100644 index 81df0f2ae5..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_collapse.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_edit.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_edit.png new file mode 100644 index 0000000000..73bb7bb6fc Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_edit.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_expand.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_expand.png new file mode 100644 index 0000000000..d0bb08ef4f Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_expand.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_flag.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_flag.png new file mode 100644 index 0000000000..9a01662c67 Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_flag.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_link.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_link.png new file mode 100644 index 0000000000..834868c159 Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_link.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/gv_trash.png b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_trash.png new file mode 100644 index 0000000000..93d2b11abf Binary files /dev/null and b/js/apps/system/_admin/aardvark/APP/frontend/img/gv_trash.png differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/img/logo_arangodb_transp.png b/js/apps/system/_admin/aardvark/APP/frontend/img/logo_arangodb_transp.png deleted file mode 100644 index 4f98b5df8c..0000000000 Binary files a/js/apps/system/_admin/aardvark/APP/frontend/img/logo_arangodb_transp.png and /dev/null differ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/arango/arango.js b/js/apps/system/_admin/aardvark/APP/frontend/js/arango/arango.js index d60c36aaa8..80ecec3216 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/arango/arango.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/arango/arango.js @@ -279,10 +279,10 @@ buildGraphSubNav: function (graph, activeKey) { var menus = { Content: { - route: '#graph2/' + encodeURIComponent(graph) + route: '#graph/' + encodeURIComponent(graph) }, Settings: { - route: '#graph2/' + encodeURIComponent(graph) + '/settings' + route: '#graph/' + encodeURIComponent(graph) + '/settings' } }; diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js b/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js index 1cac63f2f4..eb7f9a7dc5 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js @@ -40,8 +40,8 @@ 'node/:name': 'node', 'logs': 'logs', 'helpus': 'helpUs', - 'graph2/:name': 'graph2', - 'graph2/:name/settings': 'graph2settings', + 'graph/:name': 'graph', + 'graph/:name/settings': 'graphSettings', 'support': 'support' }, @@ -54,9 +54,9 @@ callback.apply(this, args); } - if (this.graphViewer2) { - if (this.graphViewer2.graphSettingsView) { - this.graphViewer2.graphSettingsView.hide(); + if (this.graphViewer) { + if (this.graphViewer.graphSettingsView) { + this.graphViewer.graphSettingsView.hide(); } } }, @@ -681,31 +681,31 @@ this.queryView.render(); }, - graph2: function (name, initialized) { + graph: function (name, initialized) { this.checkUser(); if (!initialized) { - this.waitForInit(this.graph2.bind(this), name); + this.waitForInit(this.graph.bind(this), name); return; } - if (this.graphViewer2) { - if (this.graphViewer2.graphSettingsView) { - this.graphViewer2.graphSettingsView.remove(); + if (this.graphViewer) { + if (this.graphViewer.graphSettingsView) { + this.graphViewer.graphSettingsView.remove(); } - this.graphViewer2.remove(); + this.graphViewer.remove(); } - this.graphViewer2 = new window.GraphViewer2({ + this.graphViewer = new window.GraphViewer2({ name: name, documentStore: this.arangoDocumentStore, collection: new window.GraphCollection(), userConfig: this.userConfig }); - this.graphViewer2.render(); + this.graphViewer.render(); }, - graph2settings: function (name, initialized) { + graphSettings: function (name, initialized) { this.checkUser(); if (!initialized) { - this.waitForInit(this.graph2settings.bind(this), name); + this.waitForInit(this.graphSettings.bind(this), name); return; } if (this.graphSettingsView) { @@ -893,8 +893,8 @@ if (this.naviView) { this.naviView.resize(); } - if (this.graphViewer2) { - this.graphViewer2.resize(); + if (this.graphViewer) { + this.graphViewer.resize(); } if (this.documentsView) { this.documentsView.resize(); diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/templates/graphSettingsView.ejs b/js/apps/system/_admin/aardvark/APP/frontend/js/templates/graphSettingsView.ejs index d6fc6af379..6221539134 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/templates/graphSettingsView.ejs +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/templates/graphSettingsView.ejs @@ -10,7 +10,7 @@