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 $('#api_logins').DataTable( {
13 "order": [[ 0, "asc" ]]
22 <div class="well well-sm">
23 <h3>uCPE API Logins</h3>
26 <% if ( typeof result != 'undefined' ) {
27 if (result.code.length > 0) {
28 if ( result.code == 'success' ) { %>
29 <div class='alert alert-success' role='alert'>
31 for ( x in result.msg ){ %>
32 <div><%= result.msg[x] %></div>
36 <div class='alert alert-danger' role='danger'>
38 for ( x in result.msg ){ %>
39 <div><%= result.msg[x] %></div>
46 <% if( typeof privilege != 'undefined'){
47 var priv = privilege.privilege;
53 <div class="container-fluid">
56 <% if (priv == 'A'){ %>
57 <div class="actions" style="padding:15px 0px;">
58 <button class="btn btn-primary" data-toggle="modal" data-target="#add_vnf_profile">
65 <table id="api_logins" class="table table-hover table-condensed">
68 <th>*CUSTOMER_NAME</th>
69 <th>PHS_NCS_USERNAME</th>
70 <th>NCS_PUBLIC_SSH_KEY</th>
74 <% rows.forEach( function(row) { %>
76 <td><%= row.customer_name %></td>
77 <td><%= row.phs_ncs_username %></td>
78 <td><%= row.ncs_public_ssh_key %></td>
87 <% include ../partials/footer %>