Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (30 sloc) 1.11 KB
<!DOCTYPE html>
<title><%= title %></title>
<link rel='stylesheet' href='/stylesheets/style.css' />
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-4">
<h1 class="text-center">Tutorial</h1>
<form action="/login" method="POST">
<input type="text" name="username" placeholder="Username" required="required" autofocus="autofocus" class="form-control"/>
<input type="password" name="password" placeholder="Password" required="required" class="form-control"/>
<button type="submit" class="btn btn-lg btn-primary btn-block">Sign in</button><span class="clearfix"></span>
<a href="/signup" class="btn btn-lg btn-info btn-block">Sign up</a>
<%# If an error occurs, a message will asynchronously appear. %>
<% if (message.length > 0) { %>
<h1 class="text-center"><%= message %></h1>
<% } %>
You can’t perform that action at this time.