9a508811fcb30acd8565db6f1a30345b42a5ae6c
[osm/LW-UI.git] / instancehandler / template / instance_list_ns.html
1 {% load get %}
2 <div class="box">
3 <div class="box-header with-border">
4 <h3 class="box-title">{{ type|upper }} Instances</h3>
5
6 <div class="box-tools">
7
8 <button type="button" class="btn btn-default" data-container="body"
9 data-toggle="tooltip" data-placement="top" title="Instantiate NS"
10 onclick="javascript:openModalCreateNS({ 'project_id':'{{ project_id }}','vim_list_url': '{% url "vims:list" %}', 'nsd_list_url': '{% url "projects:list_descriptors" descriptor_type='nsd' %}'})">
11 <i class="fa fa-paper-plane"></i> <span> New NS</span></button>
12
13 </div>
14
15 </div>
16 <div class="box-body">
17 {% if alert_error %}
18 <div class="alert alert-danger alert-dismissible fade in">
19 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
20 <h4><i class="icon fa fa-ban"></i> Error</h4>
21 {{alert_error}}
22 </div>
23 {% endif %}
24 <table id="instances_table" class="table table-bordered table-striped responsive" style="width:100%">
25 <thead>
26 <tr>
27 <th>Name</th>
28 <th>Identifier</th>
29 <th>Nsd name</th>
30 <th style="width:5%">Operational Status</th>
31 <th style="width:5%">Config Status</th>
32 <th>Detailed Status</th>
33 <th>Actions</th>
34 </tr>
35 </thead>
36 <tbody>
37
38 </tbody>
39 </table>
40 </div>
41 </div>