Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating form only pages to match the Bootstrap 3 sample styles: logi…
…n, register and forgot password
- Loading branch information
1 parent
5baf093
commit 6fa23f9
Showing
4 changed files
with
39 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{% extends 'layouts/form.html' %} | ||
{% block title %} - Login{% endblock %} | ||
{% extends "layouts/form.html" %} | ||
{% block title %} method="post"Login{% endblock %} | ||
{% block content %} | ||
<h1>Welcome!</h1> | ||
<h3>Please login.</h3> | ||
<form method="POST" action=""> | ||
{{ form.name.label }}{{ form.name }} | ||
{{ form.password.label }}{{ form.password }} | ||
<p><input type="submit" value="Submit" class="btn-primary"></p> | ||
<form method="post" action="" class="form"> | ||
<h3 class="form-heading">Login <a href="{{ url_for('home') }}" title="Back to homepage"><i class="icon icon-home pull-right"></i></a></h3> | ||
{{ form.name(class_ = 'form-control first-input', placeholder = form.name.label.text, required = true, autofocus = true) }} | ||
{{ form.password(class_ = 'form-control last-input', placeholder = form.password.label.text, required = true) }} | ||
<p class="pull-left"><a href="{{ url_for('forgot') }}">Forgot Password?</a></p> | ||
<p class="pull-right"><a href="{{ url_for('register') }}">Register</a></p> | ||
<input type="submit" value="Submit" class="btn btn-primary btn-lg btn-block"> | ||
</form> | ||
<p><em>Need an account? </em><a href="/register">Signup!!</a></p> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
{% extends 'layouts/form.html' %} | ||
{% block title %} - Register{% endblock %} | ||
{% block title %} method="post"Register{% endblock %} | ||
{% block content %} | ||
<h1>Welcome!</h1> | ||
<h3>Please register.</h3> | ||
<form method="POST" action=""> | ||
<table> | ||
<tr> | ||
<td>{{ form.name.label }}{{ form.name }} </td> | ||
<td>{{ form.email.label }}{{ form.email }}</td> | ||
</tr> | ||
<tr> | ||
<td>{{ form.password.label }}{{ form.password }} </td> | ||
<td>{{ form.confirm.label }}{{ form.confirm }}</td> | ||
</tr> | ||
</table> | ||
<p><input type="submit" value="Register" class="btn-primary"></p> | ||
</form> | ||
<p><em>Already registered?</em> Click <a href="#">here</a> to login.</p> | ||
<form method="post" class="form"> | ||
<h3 class="form-heading">Register <a href="{{ url_for('home') }}" title="Back to homepage"><i class="icon icon-home pull-right"></i></a></h3> | ||
{{ form.name(class_ = 'form-control first-input', placeholder = form.name.label.text, required = true, autofocus = true) }} | ||
{{ form.email(class_ = 'form-control', placeholder = form.email.label.text, required = true) }} | ||
{{ form.password(class_ = 'form-control', placeholder = form.password.label.text, required = true) }} | ||
{{ form.confirm(class_ = 'form-control last-input', placeholder = form.confirm.label.text, required = true) }} | ||
<p class="pull-left"><a href="{{ url_for('login') }}">Login</a></p> | ||
<input type="submit" value="Register" class="btn btn-primary btn-lg btn-block"> | ||
</form> | ||
{% endblock %} |