<!DOCTYPE html>
<html lang="en">
<% include global/header.ejs %>
<base href="/">
</head>


<body id="admin-body">
  <% include global/menu.ejs %>
  <div id="content" class="container">
    <div class="row" style="padding-top: 15px;">
      <div class="col-xs-8 col-xs-offset-2">
        <h3>Login</h3>
        <% if (message.length > 0) { %>
        <div class="alert alert-danger"><%= message %></div>
        <% } %>
        <hr />
        <!-- LOGIN FORM -->
        <form action="/login" method="post">
            <div class="form-group">
                <label>Username</label>
                <input type="text" class="form-control" name="user">
            </div>
            <div class="form-group">
                <label>Password</label>
                <input type="password" class="form-control" name="password">
            </div>
    
            <button type="submit" class="btn btn-warning btn-lg">Login</button>
        </form>
      </div>
    </div>
  </div>
<% include global/footer.ejs %>