Merged PetitTetonApps with the website now that the deployment server always uses SSL. Used the Apps more recent implementation of NodeJS/Express.
This commit is contained in:
45
public/admin/signup.ejs
Normal file
45
public/admin/signup.ejs
Normal file
@@ -0,0 +1,45 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Node Authentication</title>
|
||||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"> <!-- load bootstrap css -->
|
||||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"> <!-- load fontawesome -->
|
||||
<style>
|
||||
body { padding-top:80px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="col-sm-6 col-sm-offset-3">
|
||||
|
||||
<h1><span class="fa fa-sign-in"></span> Signup</h1>
|
||||
|
||||
<!-- show any messages that come back with authentication -->
|
||||
<% if (message.length > 0) { %>
|
||||
<div class="alert alert-danger"><%= message %></div>
|
||||
<% } %>
|
||||
|
||||
<!-- LOGIN FORM -->
|
||||
<form action="/admin/signup" method="post">
|
||||
<div class="form-group">
|
||||
<label>Login</label>
|
||||
<input type="text" class="form-control" name="login">
|
||||
</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-md">Signup</button>
|
||||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>Already have an account? <a href="/admin/login">Login</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user