Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
36429352
Kaydet (Commit)
36429352
authored
Eki 27, 2016
tarafından
Michiel Beijen
Kaydeden (comit)
Tim Graham
Kas 15, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #27393 -- Aligned input boxes in admin password reset forms.
üst
12f7928f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
9 deletions
+25
-9
password_reset_confirm.html
.../admin/templates/registration/password_reset_confirm.html
+15
-6
password_reset_form.html
...rib/admin/templates/registration/password_reset_form.html
+10
-3
No files found.
django/contrib/admin/templates/registration/password_reset_confirm.html
Dosyayı görüntüle @
36429352
{% extends "admin/base_site.html" %}
{% load i18n %}
{% load i18n
static
%}
{% block extrastyle %}{{ block.super }}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
admin
/
css
/
forms
.
css
"
%}"
/>
{% endblock %}
{% block breadcrumbs %}
<div
class=
"breadcrumbs"
>
<a
href=
"{% url 'admin:index' %}"
>
{% trans 'Home' %}
</a>
...
...
@@ -17,11 +18,19 @@
<p>
{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}
</p>
<form
method=
"post"
>
{% csrf_token %}
{{ form.new_password1.errors }}
<p
class=
"aligned wide"
><label
for=
"id_new_password1"
>
{% trans 'New password:' %}
</label>
{{ form.new_password1 }}
</p>
{{ form.new_password2.errors }}
<p
class=
"aligned wide"
><label
for=
"id_new_password2"
>
{% trans 'Confirm password:' %}
</label>
{{ form.new_password2 }}
</p>
<p><input
type=
"submit"
value=
"{% trans 'Change my password' %}"
/></p>
<fieldset
class=
"module aligned"
>
<div
class=
"form-row field-password1"
>
{{ form.new_password1.errors }}
<label
for=
"id_new_password1"
>
{% trans 'New password:' %}
</label>
{{ form.new_password1 }}
</div>
<div
class=
"form-row field-password2"
>
{{ form.new_password2.errors }}
<label
for=
"id_new_password2"
>
{% trans 'Confirm password:' %}
</label>
{{ form.new_password2 }}
</div>
<input
type=
"submit"
value=
"{% trans 'Change my password' %}"
/>
</fieldset>
</form>
{% else %}
...
...
django/contrib/admin/templates/registration/password_reset_form.html
Dosyayı görüntüle @
36429352
{% extends "admin/base_site.html" %}
{% load i18n %}
{% load i18n
static
%}
{% block extrastyle %}{{ block.super }}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
admin
/
css
/
forms
.
css
"
%}"
/>
{% endblock %}
{% block breadcrumbs %}
<div
class=
"breadcrumbs"
>
<a
href=
"{% url 'admin:index' %}"
>
{% trans 'Home' %}
</a>
...
...
@@ -15,8 +16,14 @@
<p>
{% trans "Forgotten your password? Enter your email address below, and we'll email instructions for setting a new one." %}
</p>
<form
method=
"post"
>
{% csrf_token %}
{{ form.email.errors }}
<p><label
for=
"id_email"
>
{% trans 'Email address:' %}
</label>
{{ form.email }}
<input
type=
"submit"
value=
"{% trans 'Reset my password' %}"
/></p>
<fieldset
class=
"module aligned"
>
<div
class=
"form-row field-email"
>
{{ form.email.errors }}
<label
for=
"id_email"
>
{% trans 'Email address:' %}
</label>
{{ form.email }}
</div>
<input
type=
"submit"
value=
"{% trans 'Reset my password' %}"
/>
</fieldset>
</form>
{% 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