<link rel="stylesheet" href="/static/bower_components/codemirror/addon/display/fullscreen.css">
<link rel="stylesheet" href="/static/bower_components/select2/dist/css/select2.min.css">
<link rel="stylesheet" href="/static/css/lwuitable.css">
+ <link rel="stylesheet" href="/static/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
{% endblock %}
{% block title_header_big %}
{{ block.super }}
<script src="/static/bower_components/codemirror/keymap/sublime.js"></script>
<script src="/static/src/instancehandler/instance_list.js"></script>
<script src="/static/src/instancehandler/instance_create.js"></script>
+ <script src="/static/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
+ <script src="/static/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
+
+ <script>
+ $(document).ready( function () {
+ $('#instances_table').DataTable();
+ } );
+ </script>
{% endblock %}
<table id="instances_table" class="table table-bordered table-striped">
<thead>
<tr>
- <th>Id</th>
<th>Name</th>
+ <th>Identifier</th>
<th>Nsd name</th>
<th style="width:5%">Operational Status</th>
<th style="width:5%">Config Status</th>
<tbody>
{% for i in instances %}
<tr>
-
- <td>{{ i|get:"_id" }}</td>
<td>{{ i|get:"short-name" }}</td>
+ <td>{{ i|get:"_id" }}</td>
+
<td>{{ i|get:"nsd-name-ref" }}</td>
{% if i|get:"operational-status" == 'failed' %}
<table id="instances_table" class="table table-bordered table-striped">
<thead>
<tr>
- <th>Id</th>
+ <th>Identifier</th>
<th>VNFD</th>
<th>Member Index</th>
<th>NS</th>
role="grid">
<thead>
<tr role="row">
- <th>Id</th>
<th>Name</th>
+ <th>Identified</th>
<th>Description</th>
<th style="width:10%">Vendor</th>
<th style="width:5%">Version</th>
<tbody>
{% for k in descriptors %}
<tr role="row">
- <td>{{ k|get:"_id" }}</td>
<td>{{ k|get:"short-name" }} </td>
+ <td>{{ k|get:"_id" }}</td>
<td>{{ k|get:"description" }} </td>
<td>{{ k|get:"vendor" }} </td>
<td>{{ k|get:"version" }} </td>
var csrf_token = '{{csrf_token}}';
var descr_list_url = '{% url "projects:list_descriptors" descriptor_type=descriptor_type%}';
var new_desc_url ="{% url 'projects:new_descriptor' descriptor_type=descriptor_type %}"
+ $(document).ready( function () {
+ $('#descriptors_table').DataTable();
+ } );
+
</script>
<script src="/static/bower_components/select2/dist/js/select2.js"></script>
<script src="/static/src/instancehandler/instance_create.js"></script>
{% block head_block %}
{{ block.super }}
+ <link rel="stylesheet" href="/static/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
{% endblock %}
{% block title_header_big %}
{% block resource_block %}
{{ block.super }}
+ <script src="/static/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
+ <script src="/static/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
+
+ <script>
+ $(document).ready( function () {
+ $('#projects_table').DataTable();
+ } );
+ </script>
<script>
function showModalNewProject(){
$('#modal_new_project').modal('show');
{% block head_block %}
{{ block.super }}
+ <link rel="stylesheet" href="/static/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
{% endblock %}
{% block title_header_big %}
</div>
</div>
<div class="box-body">
- <table id="projects_table" class="table table-bordered table-striped">
+ <table id="sdns_table" class="table table-bordered table-striped">
<thead>
<tr>
- <th>Id</th>
<th>Name</th>
+ <th>Identifier</th>
<th>Type</th>
<th>Operational State</th>
<th>IP</th>
<tbody>
{% for s in sdns %}
<tr>
- <td>{{ s|get:"_id" }}</td>
<td>{{ s|get:"name" }}</td>
+ <td>{{ s|get:"_id" }}</td>
<td>{{ s|get:"type" }}</td>
<td>{{ s|get_sub:"_admin,operationalState"}}</td>
<td>{{ s|get:"ip" }}</td>
{{ block.super }}
<!-- moment JS -->
<script src="/static/bower_components/moment/moment.js"></script>
-
+ <script src="/static/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
+ <script src="/static/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="/static/src/sdnctrlhandler/sdn_list.js"></script>
-
+ <script>
+ $(document).ready( function () {
+ $('#sdns_table').DataTable();
+ } );
+ </script>
{% endblock %}
{% block footer %}
{% block head_block %}
{{ block.super }}
<link rel="stylesheet" href="/static/bower_components/select2/dist/css/select2.min.css">
+ <link rel="stylesheet" href="/static/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
{% endblock %}
{% block title_header_big %}
{{ block.super }}
{% block resource_block %}
{{ block.super }}
- <!-- moment JS -->
+ <script src="/static/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
+ <script src="/static/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="/static/bower_components/select2/dist/js/select2.js"></script>
<script src="/static/src/userhandler/user_list.js"></script>
+ <script>
+ $(document).ready( function () {
+ $('#users_table').DataTable();
+ } );
+ </script>
{% endblock %}
{% block head_block %}
{{ block.super }}
-
+ <link rel="stylesheet" href="/static/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
{% endblock %}
{% block title_header_big %}
{{ block.super }}
</div>
</div>
<div class="box-body">
- <table id="projects_table" class="table table-bordered table-striped">
+ <table id="vims_table" class="table table-bordered table-striped">
<thead>
<tr>
- <th>Id</th>
<th>Name</th>
+ <th>Identifier</th>
<th>Type</th>
<th>Operational State</th>
<th>Description</th>
{% for p in datacenters %}
<tr>
-
- <td>{{ p|get:"_id" }}</td>
<td>{{ p|get:"name" }}</td>
+ <td>{{ p|get:"_id" }}</td>
<td>{{ p|get:"vim_type" }}</td>
<td>{{ p|get_sub:"_admin,operationalState"}}</td>
<td>{{ p|get_sub:"_admin,description" }}</td>
{% block resource_block %}
{{ block.super }}
- <!-- Utility JS -->
-
+ <script src="/static/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
+ <script src="/static/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
+ <script>
+ $(document).ready( function () {
+ $('#vims_table').DataTable();
+ } );
+ </script>
<script>
function deleteVim(url) {
</script>
{% endblock %}
-
-{% block footer %}
- {% include "footer.html" %}
-{% endblock %}
\ No newline at end of file