Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-openid-auth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-openid-auth
Commits
a91680b5
Commit
a91680b5
authored
Jul 16, 2010
by
Fladischer Michael
Committed by
James Henstridge
Jul 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up indentation in templates. Fixes bug #591877.
parent
ae5503dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
27 deletions
+22
-27
django_openid_auth/templates/openid/failure.html
+4
-7
django_openid_auth/templates/openid/login.html
+18
-20
No files found.
django_openid_auth/templates/openid/failure.html
View file @
a91680b5
...
...
@@ -2,12 +2,10 @@
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>
OpenID failed
</title>
<title>
OpenID failed
</title>
</head>
<body>
<h1>
OpenID failed
</h1>
<p>
{{ message|escape }}
</p>
<h1>
OpenID failed
</h1>
<p>
{{ message|escape }}
</p>
</body>
</html>
\ No newline at end of file
</html>
django_openid_auth/templates/openid/login.html
View file @
a91680b5
{% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>
Sign in with your OpenID
</title>
<style
type=
"text/css"
>
input
.openid
{
background
:
url({% url openid-logo %})
no-repeat
;
background-position
:
0
50%
;
padding-left
:
16px
;
background
:
url({% url openid-logo %})
no-repeat
;
background-position
:
0
50%
;
padding-left
:
16px
;
}
</style>
</head>
...
...
@@ -17,29 +15,29 @@ input.openid {
<h1>
Sign in with your OpenID
</h1>
{% if form.errors %}
<p
class=
"errors"
>
{% trans "Please correct errors below:" %}
<br
/>
{% if form.openid_identifier.errors %}
<span
class=
"error"
>
{{ form.openid_identifier.errors|join:", " }}
</span>
{% endif %}
{% if form.next.errors %}
<span
class=
"error"
>
{{ form.next.errors|join:", " }}
</span>
{% endif %}
{% if form.openid_identifier.errors %}
<span
class=
"error"
>
{{ form.openid_identifier.errors|join:", " }}
</span>
{% endif %}
{% if form.next.errors %}
<span
class=
"error"
>
{{ form.next.errors|join:", " }}
</span>
{% endif %}
</p>
{% endif %}
<form
name=
"fopenid"
action=
"{{ action }}"
method=
"post"
>
{% csrf_token %}
<fieldset>
<legend>
{% trans "Sign In Using Your OpenID" %}
</legend>
<fieldset>
<legend>
{% trans "Sign In Using Your OpenID" %}
</legend>
<div
class=
"form-row"
>
<label
for=
"id_openid_identifier"
>
{% trans "OpenID:" %}
</label><br
/>
{{ form.openid_identifier }}
</div>
<div
class=
"submit-row "
><input
name=
"bsignin"
type=
"submit"
value=
"{% trans "
Sign
in
"
%}"
></div>
<div
class=
"submit-row "
>
<input
name=
"bsignin"
type=
"submit"
value=
"{% trans "
Sign
in
"
%}"
>
</div>
{% if next %}
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
{% endif %}
</fieldset>
</form>
</fieldset>
</form>
</body>
</html>
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