fix bug 923; fix bug 940
[osm/LW-UI.git] / vimhandler / template / vim_list.html
1 <!--
2 Copyright 2019 ETSI
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 {% block head_block %}
23 {{ block.super }}
24 <link rel="stylesheet" href="/static/node_modules/datatables.net-bs/css/dataTables.bootstrap.min.css">
25 {% endblock %}
26 {% block title_header_big %}
27 {{ block.super }}
28 {% endblock %}
29 {% block left_sidebar %}
30
31 {% include 'osm/osm_project_left_sidebar.html' %}
32
33 {% endblock %}
34
35
36 {% block breadcrumb_body %}
37 {{ block.super }}
38 <li><a href="{% url "vims:list" %}">VIMS</a></li>
39 {% endblock %}
40
41 {% block content_body %}
42 {{ block.super }}
43 {% include 'modal/vim_create.html' %}
44 {% include 'modal/vim_details.html' %}
45 {% csrf_token %}
46 <div class="row">
47 <div class="col-md-12">
48
49 <div class="box">
50 <div class="box-header with-border">
51 <h3 class="box-title">Registered VIM</h3>
52 <div class="box-tools">
53 <button type="button" class="btn btn-default" data-container="body"
54 data-toggle="tooltip" data-placement="top" title="New VIM"
55 onclick="javascript:openModalCreateVIM()">
56 <i class="fa fa-plus"></i> <span> New VIM</span>
57 </button>
58 </div>
59 </div>
60 <div class="box-body">
61 <table id="vims_table" class="table table-bordered table-striped">
62 <thead>
63 <tr>
64 <th>Name</th>
65 <th>Identifier</th>
66 <th>Type</th>
67 <th>Operational State</th>
68 <th>Description</th>
69 <th>Actions</th>
70 </tr>
71 </thead>
72 <tbody>
73
74 </tbody>
75 </table>
76 </div>
77 </div>
78 </div>
79
80 </div>
81 {% endblock %}
82
83 {% block resource_block %}
84 {{ block.super }}
85 <script src="/static/node_modules/datatables.net/js/jquery.dataTables.min.js"></script>
86 <script src="/static/node_modules/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
87 <script src="/static/src/vimhandler/vim_list.js"></script>
88 <script>
89 var table;
90
91
92 </script>
93
94 {% endblock %}