aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/environment/environment.html
diff options
context:
space:
mode:
Diffstat (limited to 'ui/imports/ui/components/environment/environment.html')
-rw-r--r--ui/imports/ui/components/environment/environment.html63
1 files changed, 63 insertions, 0 deletions
diff --git a/ui/imports/ui/components/environment/environment.html b/ui/imports/ui/components/environment/environment.html
new file mode 100644
index 0000000..84bafdf
--- /dev/null
+++ b/ui/imports/ui/components/environment/environment.html
@@ -0,0 +1,63 @@
+<!--
+########################################################################################
+# Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others #
+# #
+# All rights reserved. This program and the accompanying materials #
+# are made available under the terms of the Apache License, Version 2.0 #
+# which accompanies this distribution, and is available at #
+# http://www.apache.org/licenses/LICENSE-2.0 #
+########################################################################################
+ -->
+<template name="Environment">
+
+ <div class="sm-environment-container flex-box justify-content-between">
+ <div class="flex-box-1 site-sidenav">
+ {{#if isLoaded }}
+ {{> accordionNavMenu (argsNavMenu envName mainNode) }}
+ {{/if }}
+ </div>
+
+ <div class="flex-box-3 main-layout-no-nav">
+ <div class="sm-breadcrumb-segment">
+ {{> breadcrumb (argsBreadCrumb rdxSelectedNodeId) }}
+ </div>
+
+ <div class="sm-main-content-segment">
+
+ {{#if selectedNodeType }}
+ {{#if (getShow 'dashboard') }}
+ <div class="sm-dashboard">
+ {{> UI.dynamic template=dashboardTemplate
+ data=(argsDashboard rdxSelectedNodeId) }}
+ </div>
+ {{/if }}
+ {{#if (getShow 'graph') }}
+ {{#if isSelectedNodeAGraph }}
+
+ <!--div class="sm-graph">
+ > d3graph argsD3Graph
+ </div-->
+
+ <div class="sm-network-graph">
+ {{> NetworkGraphManager argsNetworkGraphManager }}
+ </div>
+
+ {{> GraphTooltipWindow (argsGraphTooltipWindow graphTooltipWindow) }}
+
+ {{#if showVedgeInfoWindow }}
+ {{> VedgeInfoWindow (argsVedgeInfoWindow vedgeInfoWindow) }}
+ {{/if }}
+
+ {{else }}
+
+ <div class="sm-node-no-graph-data-msg">{{ rPath i18n 'components.environment.noGraphForLeafMsg' }}</div>
+
+ {{/if }}
+ {{/if }}
+ {{/if }}
+ </div>
+
+ </div>
+ </div>
+
+</template>