Initial commit for OpenECOMP SDN-C OA&M
[sdnc/oam.git] / admportal / views / admin / list_usertrace.ejs
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4   <meta charset="utf-8" />
5   <meta http-equiv="X-UA-Compatible" content="IE=edge">
6   <% include ../partials/head %>
7   <% include ../partials/header %>
8   <title>SDN-C AdminPortal</title>
9 </head>
10
11 <body>
12
13 <div class="actions" style="padding:0px 25px;">
14 <h2>User Trace</h2>
15 </div>
16
17 <% if ( typeof result != 'undefined' ) {
18         if (result.code.length > 0) {
19             if ( result.code == 'success' ) { %>
20                 <div class='alert alert-success' role='alert'><%=result.msg %></div>
21             <% } else { %>
22                 <div class='alert alert-danger' role='danger'><%=result.msg %></div>
23             <% } %>
24         <% } %>
25 <% } %>
26
27 <% if( typeof privilege != 'undefined'){
28     var priv = privilege.privilege;
29 } else {
30     var priv = 'A';
31 } %>
32
33
34 <div class="container-fluid">
35     <div class="actions" style="padding:15px 0px;">
36
37     </div>
38     <div class="content">
39      <table class="table table-hover">
40       <thead>
41         <tr>
42                   <th>Date</th>
43           <th>ATTUID</th>
44                   <th>Action</th>
45           <th>Description</th>
46         </tr>
47       </thead>
48       <tbody>
49     <% if (rows)  {
50          rows.forEach(function(row) { %>
51                         <tr>
52                 <td><%= row.date %></td> 
53                 <td><%= row.attuid %></td> 
54                 <td><%= row.action %></td> 
55                 <td><%= row.description %></td> 
56                         </tr>
57     <% }); }; %>
58       </tbody>
59     </table>
60    </div>
61
62     <footer>
63         <% include ../partials/footer %>
64     </footer>
65     
66 </body>
67 </html>
68