Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7593f7e2
authored
Mar 03, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: login minor fixes
parent
99c907d6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
circle/dashboard/views.py
+1
-1
circle/templates/registration/login.html
+2
-2
circle/templates/registration/password_reset_complete.html
+1
-1
circle/templates/registration/password_reset_confirm.html
+2
-2
circle/templates/registration/password_reset_done.html
+1
-1
circle/templates/registration/password_reset_form.html
+1
-1
No files found.
circle/dashboard/views.py
View file @
7593f7e2
...
...
@@ -1725,7 +1725,7 @@ class VmMigrateView(SuperuserRequiredMixin, TemplateView):
def
circle_login
(
request
):
authentication_form
=
CircleAuthenticationForm
extra_context
=
{
'saml2'
:
getattr
(
settings
,
"SAML_CONFIG"
,
False
)
'saml2'
:
hasattr
(
settings
,
"SAML_CONFIG"
)
}
return
login
(
request
,
authentication_form
=
authentication_form
,
extra_context
=
extra_context
)
circle/templates/registration/login.html
View file @
7593f7e2
...
...
@@ -15,8 +15,8 @@
<div
class=
"col-sm-{% if saml2 %}6{% else %}12{% endif %}"
>
<div
class=
"login-form"
>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
{% crispy form %}
{% csrf_token %}
{% crispy form %}
</form>
</div>
</div>
...
...
circle/templates/registration/password_reset_complete.html
View file @
7593f7e2
...
...
@@ -12,7 +12,7 @@
</div>
<div
class=
"col-sm-12"
>
<div
class=
"alert alert-success"
>
{% trans "Password change succesful!" %}
{% trans "Password change succes
s
ful!" %}
<a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "Click here to login" %}
</a>
</div>
</div>
...
...
circle/templates/registration/password_reset_confirm.html
View file @
7593f7e2
...
...
@@ -19,8 +19,8 @@
{% crispy form %}
{% else %}
<div
class=
"alert alert-warning"
>
{%
trans "This token is expired, please request a new password reset link again!"
%}
<a
href=
"{% url "
accounts
.
password-reset
"
%}"
>
a
</a>
{%
url "accounts.password-reset" as url
%}
{% blocktrans with url=url %}This token is expired, please
<a
href=
"{{ url }}"
>
request
</a>
a new password reset link again!{% endblocktrans %}
</div>
{% endif %}
</div>
...
...
circle/templates/registration/password_reset_done.html
View file @
7593f7e2
...
...
@@ -11,7 +11,7 @@
{% include "display-form-errors.html" %}
</div>
<div
class=
"col-sm-12"
>
<div
class=
"pull-right"
><a
href=
"{% url "
accounts
.
login
"
%}"
>
Back to login
</a></div>
<div
class=
"pull-right"
><a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "Back to login" %}
</a></div>
{% trans "We have sent you an email about your next steps!" %}
</div>
</div>
...
...
circle/templates/registration/password_reset_form.html
View file @
7593f7e2
...
...
@@ -11,7 +11,7 @@
{% include "display-form-errors.html" %}
</div>
<div
class=
"col-sm-12"
>
<div
class=
"pull-right"
><a
href=
"{% url "
accounts
.
login
"
%}"
>
Back to login
</a></div>
<div
class=
"pull-right"
><a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "Back to login" %}
</a></div>
<h4
style=
"margin: 0 0 25px 0;"
>
{% blocktrans %}Enter your email address to reset your password!{% endblocktrans %}
</h4>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
...
...
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