Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sifrovacka
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
sifrovacka
Commits
7ef13a80
Commit
7ef13a80
authored
3 years ago
by
Zdenek Kubala
Browse files
Options
Downloads
Patches
Plain Diff
login+registration buttons
parent
aa4db229
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sifrovacka/templates/django_registration/registration_form.html
+3
-1
3 additions, 1 deletion
...acka/templates/django_registration/registration_form.html
sifrovacka/templates/registration/login.html
+16
-7
16 additions, 7 deletions
sifrovacka/templates/registration/login.html
with
19 additions
and
8 deletions
sifrovacka/templates/django_registration/registration_form.html
+
3
−
1
View file @
7ef13a80
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
<form
method=
"post"
action=
""
>
<form
method=
"post"
action=
""
>
{% csrf_token %}
{% csrf_token %}
{{ form.as_p }}
{{ form.as_p }}
<input
type=
"submit"
value=
"{% trans 'Submit' %}"
/>
<button
class=
"btn btn btn--hoveractive btn--to-grey-500 "
type=
"submit"
>
<div
class=
"btn__body"
>
{% trans 'Odeslat' %}
</div>
</button>
</form>
</form>
{% endblock %}
{% endblock %}
...
...
This diff is collapsed.
Click to expand it.
sifrovacka/templates/registration/login.html
+
16
−
7
View file @
7ef13a80
...
@@ -7,13 +7,22 @@
...
@@ -7,13 +7,22 @@
{% block title %}{% trans "Log in" %}{% endblock %}
{% block title %}{% trans "Log in" %}{% endblock %}
{% block content %}
{% block content %}
<form
method=
"post"
action=
""
>
<div
class=
" container container--default "
>
{% csrf_token %}
<div
class=
"row"
>
{{ form.as_p }}
<div
class=
"col-2 bg-primary p-3 "
>
<input
type=
"submit"
value=
"{% trans 'Log in' %}"
/>
<div
class=
"form-field--autowidth form-field__wrapper form-field__wrapper--shadowed "
>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
<form
method=
"post"
action=
""
>
</form>
{% csrf_token %}
{{ form.as_table }}
<button
class=
"btn btn btn--hoveractive btn--to-grey-500 "
type=
"submit"
>
<div
class=
"btn__body"
>
{% trans 'Log in' %}
</div>
</button>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
</form>
</div>
</div>
</div>
</div>
{% comment %}
{% comment %}
<p>
{% trans "Forgot your password?" %}
<a
href=
"{% url 'auth_password_reset' %}"
>
{% trans "Reset it" %}
</a>
.
</p>
<p>
{% trans "Forgot your password?" %}
<a
href=
"{% url 'auth_password_reset' %}"
>
{% trans "Reset it" %}
</a>
.
</p>
<p>
{% trans "Nemáte účet?" %}
<a
href=
"{% url 'django_registration_register' %}"
>
{% trans "Register" %}
</a>
.
</p>
<p>
{% trans "Nemáte účet?" %}
<a
href=
"{% url 'django_registration_register' %}"
>
{% trans "Register" %}
</a>
.
</p>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment