fix missing license headers
[osm/LW-UI.git] / instancehandler / template / instance_topology_view.html
1 <!--
2 Copyright 2019 EveryUP srl
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16
17 {% extends "base.html" %}
18 {% load get %}
19 {% load staticfiles %}
20
21
22
23 {% block head_block %}
24 {{ block.super }}
25
26 <!-- TopologyComposer D3 -->
27 <link rel="stylesheet" href="/static/TopologyComposer/css/composer.css">
28 <link rel="stylesheet" href="/static/TopologyComposer/css/d3-context-menu.css">
29
30
31 {% endblock %}
32 {% block title_header_big %}
33 NS Instances topology view
34 {% endblock %}
35 {% block left_sidebar %}
36 {% include 'osm/osm_project_left_sidebar.html' %}
37 {% endblock %}
38
39
40 {% block breadcrumb_body %}
41 {{ block.super }}
42 <li><a href="{% url 'instances:list' type=type %}">{{ type|upper }} Instances</a></li>
43 <li><a href="#"><i class="fa fa-sitemap"></i> {{ type|upper }} Topology</a></li>
44 {% endblock %}
45
46 {% block content_body %}
47 {{ block.super }}
48 {% csrf_token %}
49 <div class="container-fluid">
50 <div id="main" class="row">
51 <div id="graph_editor_container" class="col">
52 <div class="btn-group left-tool-bar-monitoring">
53 <button id="topology_force" type="button" class="btn btn btn-default" onclick="handleForce(this)"
54 data-toggle="button" aria-pressed="false" autocomplete="off"><i
55 class="fas fa-thumbtack"></i></button>
56 {% comment %}<button id="reset_filter" type="button" data-container="body" data-toggle="tooltip" data-placement="top" title="YAML data" class="btn btn btn-default" onclick="showInstanceDetails(this)"><i
57 class="fa fa-edit"></i></button>{% endcomment %}
58 <button id="reset_filter" type="button" class="btn btn btn-default" data-toggle="tooltip" data-placement="top" title="Clear filter" onclick="resetFilters(this)"><i
59 class="fa fa-backward"></i></button>
60 </div>
61 <div id="legenda">
62 </div>
63 </div>
64 <div id="side">
65
66 </div>
67 </div>
68 </div>
69
70 {% endblock %}
71
72 {% block resource_block %}
73 {{ block.super }}
74 <!-- d3.js -->
75 <script src="/static/node_modules/d3/build/d3.js"></script>
76
77 <!-- TopologyComposer D3 -->
78 <script src="/static/TopologyComposer/js/event.js"></script>
79 <script src="/static/TopologyComposer/js/settings.js"></script>
80 <script src="/static/TopologyComposer/js/graph_editor.js"></script>
81 <script src="/static/TopologyComposer/js/model_graph_editor.js"></script>
82 <script src="/static/TopologyComposer/js/d3-context-menu.js"></script>
83
84
85 <script src="/static/src/osm_gui_properties.js"></script>
86 <script src="/static/src/instancehandler/instance_topology_view.js"></script>
87
88 {% endblock %}
89
90 {% block footer %}
91 {% include "footer.html" %}
92 {% endblock %}