Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
1c9517e6
authored
Sep 05, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: make the login form more responsive
parent
06018f2d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
31 deletions
+33
-31
circle/templates/registration/base.html
+12
-5
circle/templates/registration/login.html
+4
-5
circle/templates/registration/password_reset_complete.html
+2
-4
circle/templates/registration/password_reset_confirm.html
+7
-7
circle/templates/registration/password_reset_done.html
+3
-5
circle/templates/registration/password_reset_form.html
+5
-5
No files found.
circle/templates/registration/base.html
View file @
1c9517e6
...
@@ -11,10 +11,6 @@
...
@@ -11,10 +11,6 @@
body
{
body
{
margin-top
:
40px
;
margin-top
:
40px
;
}
}
.container
{
width
:
600px
;
}
ul
,
li
{
ul
,
li
{
list-style
:
none
;
list-style
:
none
;
margin
:
0
;
margin
:
0
;
...
@@ -22,6 +18,8 @@
...
@@ -22,6 +18,8 @@
}
}
.container
>
.content
{
.container
>
.content
{
max-width
:
570px
;
margin
:
auto
;
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
20px
;
padding
:
20px
;
-webkit-border-radius
:
10px
10px
10px
10px
;
-webkit-border-radius
:
10px
10px
10px
10px
;
...
@@ -38,8 +36,10 @@
...
@@ -38,8 +36,10 @@
}
}
.login-form
{
.login-form
{
margin
-top
:
40px
;
margin
:
20px
auto
0
auto
;
padding
:
0
10px
;
padding
:
0
10px
;
max-width
:
250px
;
}
}
.login-form
form
{
.login-form
form
{
...
@@ -79,3 +79,10 @@
...
@@ -79,3 +79,10 @@
<img
src=
"{{ STATIC_URL}}dashboard/img/logo.png"
style=
"height: 25px;"
/>
<img
src=
"{{ STATIC_URL}}dashboard/img/logo.png"
style=
"height: 25px;"
/>
</a>
</a>
{% endblock %}
{% endblock %}
{% block content %}
<div
class=
"content"
>
{% block content_box %}{% endblock %}
</div>
{% endblock %}
circle/templates/registration/login.html
View file @
1c9517e6
...
@@ -11,15 +11,14 @@
...
@@ -11,15 +11,14 @@
</a>
</a>
{% endblock %}
{% endblock %}
{% block content %}
{% block content_box %}
<div
class=
"content"
>
<div
class=
"row"
>
<div
class=
"row"
>
{% if form.password.errors or form.username.errors %}
{% if form.password.errors or form.username.errors %}
<div
class=
"login-form-errors"
>
<div
class=
"login-form-errors"
>
{% include "display-form-errors.html" %}
{% include "display-form-errors.html" %}
</div>
</div>
{% endif %}
{% endif %}
<div
class=
"col-
sm
-{% if saml2 %}6{% else %}12{% endif %}"
>
<div
class=
"col-
xs
-{% if saml2 %}6{% else %}12{% endif %}"
>
<div
class=
"login-form"
>
<div
class=
"login-form"
>
<form
action=
""
method=
"POST"
>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
{% csrf_token %}
...
@@ -28,8 +27,8 @@
...
@@ -28,8 +27,8 @@
</div>
</div>
</div>
</div>
{% if saml2 %}
{% if saml2 %}
<div
class=
"col-
sm
-6"
>
<div
class=
"col-
xs
-6"
>
<h4
style=
"padding-top: 0; margin-top:
0
;"
>
{% trans "Login with SSO" %}
</h4>
<h4
style=
"padding-top: 0; margin-top:
20px
;"
>
{% trans "Login with SSO" %}
</h4>
<a
href=
"{% url "
saml2_login
"
%}"
>
{% trans "Click here!" %}
</a>
<a
href=
"{% url "
saml2_login
"
%}"
>
{% trans "Click here!" %}
</a>
</div>
</div>
{% endif %}
{% endif %}
...
...
circle/templates/registration/password_reset_complete.html
View file @
1c9517e6
...
@@ -5,9 +5,8 @@
...
@@ -5,9 +5,8 @@
{% block title-page %}{% trans "Password reset complete" %}{% endblock %}
{% block title-page %}{% trans "Password reset complete" %}{% endblock %}
{% block content %}
{% block content_box %}
<div
class=
"content"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"login-form-errors"
>
<div
class=
"login-form-errors"
>
{% include "display-form-errors.html" %}
{% include "display-form-errors.html" %}
</div>
</div>
...
@@ -17,6 +16,5 @@
...
@@ -17,6 +16,5 @@
<a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "Click here to login" %}
</a>
<a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "Click here to login" %}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
circle/templates/registration/password_reset_confirm.html
View file @
1c9517e6
...
@@ -5,15 +5,16 @@
...
@@ -5,15 +5,16 @@
{% block title-page %}{% trans "Password reset confirm" %}{% endblock %}
{% block title-page %}{% trans "Password reset confirm" %}{% endblock %}
{% block content %}
{% block content_box %}
<div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"login-form-errors"
>
<div
class=
"login-form-errors"
>
{% include "display-form-errors.html" %}
{% include "display-form-errors.html" %}
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<div
style=
"margin: 0 0 25px 0;"
>
<div>
{% blocktrans %}Please enter your new password twice so we can verify you typed it in correctly!{% endblocktrans %}
{% blocktrans %}
Please enter your new password twice so we can verify you typed it in correctly.
{% endblocktrans %}
</div>
</div>
{% if form %}
{% if form %}
...
@@ -21,10 +22,9 @@
...
@@ -21,10 +22,9 @@
{% else %}
{% else %}
<div
class=
"alert alert-warning"
>
<div
class=
"alert alert-warning"
>
{% url "accounts.password-reset" as url %}
{% 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 %}
{% blocktrans with url=url %}This token is expired, please
<a
href=
"{{ url }}"
>
request
</a>
a new password reset link again.
{% endblocktrans %}
</div>
</div>
{% endif %}
{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
circle/templates/registration/password_reset_done.html
View file @
1c9517e6
...
@@ -5,16 +5,14 @@
...
@@ -5,16 +5,14 @@
{% block title-page %}{% trans "Password reset done" %}{% endblock %}
{% block title-page %}{% trans "Password reset done" %}{% endblock %}
{% block content %}
{% block content_box %}
<div
class=
"content"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"login-form-errors"
>
<div
class=
"login-form-errors"
>
{% include "display-form-errors.html" %}
{% include "display-form-errors.html" %}
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<div
class=
"pull-right"
><a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "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!" %}
{% trans "We have sent you an email about your next steps." %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
circle/templates/registration/password_reset_form.html
View file @
1c9517e6
...
@@ -5,20 +5,20 @@
...
@@ -5,20 +5,20 @@
{% block title-page %}{% trans "Password reset" %}{% endblock %}
{% block title-page %}{% trans "Password reset" %}{% endblock %}
{% block content %}
{% block content_box %}
<div
class=
"content"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"login-form-errors"
>
<div
class=
"login-form-errors"
>
{% include "display-form-errors.html" %}
{% include "display-form-errors.html" %}
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<div
class=
"pull-right"
><a
href=
"{% url "
accounts
.
login
"
%}"
>
{% trans "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>
<h4
style=
"margin: 0 0 25px 0;"
>
{% blocktrans %}Enter your email address to reset your password.{% endblocktrans %}
</h4>
<form
action=
""
method=
"POST"
>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
{% csrf_token %}
{% crispy form %}
{% crispy form %}
</form>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% 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