NonRT-RIC A1 Northbound API
[nonrtric.git] / sdnc-a1-controller / oam / admportal / views / pages / setuplogin.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     <meta name="viewport" content="width=device-width, initial-scale=1">
7     <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8         <title>SDN-C AdminPortal</title>
9
10
11     <!-- Bootstrap core CSS -->
12         <% include ../partials/head %>
13
14     <!-- Custom styles for this template -->
15         <link rel="stylesheet" href="/stylesheets/signin.css">
16
17   </head>
18
19   <body>
20
21 <% if ( typeof result != 'undefined' ) {
22         if (result.code.length > 0) {
23             if ( result.code == 'success' ) { %>
24                 <div class='alert alert-success' role='alert'><%=result.msg %></div>
25             <% } else { %>
26                 <div class='alert alert-danger' role='danger'><%=result.msg %></div>
27             <% } %>
28         <% } %>
29 <% } %>
30
31     <div class="container">
32
33       <form class="form-signin" method="POST" action="/formSetupLogin">
34         <h3 class="form-signin-heading">Enter Initial User Information</h3>
35
36         <label for="firstName" class="sr-only">First Name</label>
37         <input type="text" name="firstName" id="firstName" class="form-control" placeholder="First Name" required autofocus>
38
39         <label for="lastName" class="sr-only">Last Name</label>
40         <input type="text" name="lastName" id="lastName" class="form-control" placeholder="Last Name" required>
41
42         <label for="attuid" class="sr-only">ATTUID</label>
43         <input type="text" name="attuid" id="attuid" class="form-control" placeholder="ATTUID" required>
44
45         <button class="btn btn-lg btn-primary btn-block" type="submit">Setup Login</button>
46       </form>
47
48     </div> <!-- /container -->
49
50   </body>
51 </html>