summaryrefslogtreecommitdiffstats
path: root/admportal/views/pages/signup.ejs
blob: 2a0395315168444c84c7a13c76d67fe05e60220d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!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>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="/formSignUp">
        <h3 class="form-signin-heading">AdminPortal Signup</h3>

				<input type="hidden" name="_csrf" value="<%= csrfToken %>" />
        <input type="email" name="nf_email" id="nf_email" class="form-control" placeholder="Email Address" required>
        <input type="password" name="nf_password" id="nf_password" class="form-control" placeholder="Password" required>

        <button class="btn btn-lg btn-primary btn-block" type="submit">Submit</button>
      </form>

    </div> <!-- /container -->

  </body>
</html>