Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Michel Rouly
research-questions
Commits
4019c5fa
Commit
4019c5fa
authored
Dec 03, 2013
by
Jean Michel Rouly
Browse files
Restyled login form.
parent
cb546459
Changes
1
Hide whitespace changes
Inline
Side-by-side
researchquestions/templates/login.html
View file @
4019c5fa
...
...
@@ -2,27 +2,41 @@
{% block content %}
{% if form.errors %}
<p>
Your username and password didn't match. Please try again.
</p>
{% endif %}
<h1>
Log In
</h1>
<p>
Please log in using your GMU NetID.
</p>
<form
id=
"login-form"
method=
"post"
action=
"{% url 'django.contrib.auth.views.login' %}"
>
{% csrf_token %}
<label
for=
"username"
>
user
</label>
<br
/>
<input
type=
"username"
name=
"username"
id=
"username"
placeholder=
"Username"
/>
<br
/><br
/>
<label
for=
"password"
>
password
</label>
<br
/>
<input
type=
"password"
name=
"password"
id=
"password"
placeholder=
"Password"
/>
<br
/><br
/>
<input
type=
"submit"
value=
"Sign in"
/>
</form>
{% endblock %}
<div
class=
"container"
>
<a
name=
"top"
></a>
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<h1>
Login
</h1>
<p
class=
"lead"
>
Description
</p>
</div>
</div>
</div>
{% if form.errors %}
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<p>
Your username and password didn't match. Please try again.
</p>
</div>
</div>
{% endif %}
<p>
Please log in using your GMU NetID.
</p>
<form
id=
"login-form"
method=
"post"
action=
"{% url 'django.contrib.auth.views.login' %}"
>
{% csrf_token %}
<label
for=
"username"
>
user
</label>
<br
/>
<input
type=
"username"
name=
"username"
id=
"username"
placeholder=
"Username"
/>
<br
/><br
/>
<label
for=
"password"
>
password
</label>
<br
/>
<input
type=
"password"
name=
"password"
id=
"password"
placeholder=
"Password"
/>
<br
/><br
/>
<input
type=
"submit"
value=
"Sign in"
/>
</form>
</div>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment