diff options
author | Timoney, Daniel (dt5972) <dtimoney@att.com> | 2017-02-15 10:37:53 -0500 |
---|---|---|
committer | Timoney, Daniel (dt5972) <dtimoney@att.com> | 2017-02-15 10:40:37 -0500 |
commit | 324ee36fe31763e507b422ab0a88e4230045e205 (patch) | |
tree | d0b04520f6657601c918ce63fd27575977624187 /admportal/views/pages/setuplogin.ejs | |
parent | f0c97e8db427481e28c0a16b789bc73801b35e47 (diff) |
Initial commit for OpenECOMP SDN-C OA&M
Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba
Diffstat (limited to 'admportal/views/pages/setuplogin.ejs')
-rw-r--r-- | admportal/views/pages/setuplogin.ejs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/admportal/views/pages/setuplogin.ejs b/admportal/views/pages/setuplogin.ejs new file mode 100644 index 00000000..ef75e84a --- /dev/null +++ b/admportal/views/pages/setuplogin.ejs @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> + <title>SDN-C AdminPortal</title> + + + <!-- Bootstrap core CSS --> + <% include ../partials/head %> + + <!-- Custom styles for this template --> + <link rel="stylesheet" href="/stylesheets/signin.css"> + + </head> + + <body> + +<% if ( typeof result != 'undefined' ) { + if (result.code.length > 0) { + if ( result.code == 'success' ) { %> + <div class='alert alert-success' role='alert'><%=result.msg %></div> + <% } else { %> + <div class='alert alert-danger' role='danger'><%=result.msg %></div> + <% } %> + <% } %> +<% } %> + + <div class="container"> + + <form class="form-signin" method="POST" action="/formSetupLogin"> + <h3 class="form-signin-heading">Enter Initial User Information</h3> + + <label for="firstName" class="sr-only">First Name</label> + <input type="text" name="firstName" id="firstName" class="form-control" placeholder="First Name" required autofocus> + + <label for="lastName" class="sr-only">Last Name</label> + <input type="text" name="lastName" id="lastName" class="form-control" placeholder="Last Name" required> + + <label for="attuid" class="sr-only">ATTUID</label> + <input type="text" name="attuid" id="attuid" class="form-control" placeholder="ATTUID" required> + + <button class="btn btn-lg btn-primary btn-block" type="submit">Setup Login</button> + </form> + + </div> <!-- /container --> + + </body> +</html> |