4 <meta charset="UTF-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <% include ../partials/head %>
7 <% include ../partials/header %>
8 <script type="text/javascript" src="/javascripts/admportal.js" async></script>
9 <title>SDN-C AdminPortal</title>
11 $(document).ready(function() {
12 $('#service_port').DataTable( {
13 "order": [[ 0, "asc" ]]
21 <div class="well well-sm">
22 <h3>uCPE Service Port</h3>
25 <% if ( typeof result != 'undefined' ) {
26 if (result.code.length > 0) {
27 if ( result.code == 'success' ) { %>
28 <div class='alert alert-success' role='alert'>
30 for ( x in result.msg ){ %>
31 <div><%= result.msg[x] %></div>
35 <div class='alert alert-danger' role='danger'>
37 for ( x in result.msg ){ %>
38 <div><%= result.msg[x] %></div>
45 <% if( typeof privilege != 'undefined'){
46 var priv = privilege.privilege;
52 <div class="container-fluid">
54 <table id="service_port" class="table table-hover table-condensed">
57 <th>*DEVICE_VENDOR_NAME</th>
58 <th>*DEVICE_MODEL</th>
59 <th>*SERVICE_PORT_NAME</th>
60 <th>PHYSICAL_PORT_NAME</th>
61 <th>PHYSICAL_SPEED</th>
62 <th>PHYSICAL_SPEED_UNITS</th>
66 <% rows.forEach( function(row) { %>
68 <td><%= row.device_vendor_name %></td>
69 <td><%= row.device_model %></td>
70 <td><%= row.service_port_name %></td>
71 <td><%= row.physical_port_name %></td>
72 <td><%= row.physical_speed %></td>
73 <td><%= row.physical_speed_units %></td>
82 <% include ../partials/footer %>