hostr/web/views/signup.ejs

70 lines
3.1 KiB
Text

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Hostr &bull; Instant Sharing</title>
<meta name="description" content="Share anything instantly. From screenshots to zip files to anything else, for free!">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/images/favicon.png">
<link href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
<link href='/styles/style.css' rel='stylesheet' type='text/css'>
</head>
<body>
<section class="container header clearfix">
<a href="/"><img class="logo img-responsive" src="/images/logo_dark.png" height="21" width="26" alt=""></a>
</section>
<section class="container user-form clearfix">
<p class="lead">Sign up to Hostr.</p>
<% if(typeof message !== 'undefined') { %>
<div class="alert alert-success alert-signin">
<%= message %>
</div>
<% } %>
<div class="holder">
<form role="form" action="/signup" method="post">
<input type="hidden" name="_csrf" value="<%= csrf %>" />
<% if(typeof error !== 'undefined') { %>
<div class="alert alert-danger">
<%= error %>
</div>
<% } %>
<div class="form-group">
<label for="inputEmail">Email address</label>
<input type="email" class="form-control input-lg" id="inputEmail" placeholder="Enter email" name="email">
</div>
<div class="form-group">
<label for="inputEmail">Confirm email</label>
<input type="email" class="form-control input-lg" id="confirmEmail" placeholder="Confirm email" name="confirm_email">
</div>
<div class="form-group">
<label for="inputEmail">Password</label>
<input type="password" class="form-control input-lg" id="inputPassword" placeholder="Password" name="password">
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="terms">I agree to the <a href="/terms" target="_blank" class="terms">terms of service</a>
</label>
</div>
<button type="submit" href="#" class="btn btn-block btn-signup">Sign up</button>
</form>
</div>
<p class="trail">Already have an account? <a href="/signin">Sign in</a></p>
</section>
<%- await include('footer') -%>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-66209-2', 'hostr.co');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
</body>
</html>