Compare commits

..

2 Commits

Author SHA1 Message Date
Frédéric Péters ad4cfc7773 translation update
gitea/gadjo/pipeline/head This commit looks good Details
2023-02-25 18:14:07 +01:00
Frédéric Péters d78ac5112b general: add reveal checkbox to password fields (#74652) 2023-02-25 18:14:07 +01:00
2 changed files with 3 additions and 22 deletions

View File

@ -827,23 +827,6 @@ ul.objects-list li span.tag {
left: -1ex;
}
span.meta {
position: relative;
padding: 0 0.5ex;
&.meta-success {
color: #268c26;
}
&.meta-warning {
color: #eb7500;
}
&.meta-error {
color: #cf1726;
}
&.meta-disabled {
color: #555;
}
}
#sidepage {
position: absolute;
top: 0px;

View File

@ -4,9 +4,9 @@
django-{{ field|field_class_name }}
{% if field.errors %}widget-with-error{% endif %}
{% if field.field.required %}widget-required{% else %}widget-optional{% endif %}{% endblock %}"
{% if field.id_for_label %}id="{{field.id_for_label}}_p"{% endif %}>
id="{{field.id_for_label}}_p">
{% block widget-title %}
<div class="title" {% if field.id_for_label %}id="{{ field.id_for_label }}_title"{% endif %}>
<div class="title" id="{{ field.name }}">
{{ field.label_tag }}
{% if field.field.required %}
<span title="{% trans "This field is required." %}" class="required">*</span>
@ -16,9 +16,7 @@
</div>
{% endblock %}
{% block widget-content %}
<div class="content"
{% if field.id_for_label %}aria-labelledby="{{ field.id_for_label }}_title"{% endif %}
{% block widget-attrs %}{% endblock %}>
<div class="content" aria-labelledby="{{ field.name }}" {% block widget-attrs %}{% endblock %}>
{% block widget-error %}
{% if field.errors %}
<div class="error"><p>