Compare commits
5 Commits
ad4cfc7773
...
d1fc279963
Author | SHA1 | Date |
---|---|---|
Frédéric Péters | d1fc279963 | |
Frédéric Péters | df611929bf | |
Lauréline Guérin | c59715e912 | |
Valentin Deniaud | 45bac77a26 | |
Valentin Deniaud | bbcd17465f |
|
@ -827,6 +827,23 @@ 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;
|
||||
|
|
|
@ -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 %}"
|
||||
id="{{field.id_for_label}}_p">
|
||||
{% if field.id_for_label %}id="{{field.id_for_label}}_p"{% endif %}>
|
||||
{% block widget-title %}
|
||||
<div class="title" id="{{ field.name }}">
|
||||
<div class="title" {% if field.id_for_label %}id="{{ field.id_for_label }}_title"{% endif %}>
|
||||
{{ field.label_tag }}
|
||||
{% if field.field.required %}
|
||||
<span title="{% trans "This field is required." %}" class="required">*</span>
|
||||
|
@ -16,7 +16,9 @@
|
|||
</div>
|
||||
{% endblock %}
|
||||
{% block widget-content %}
|
||||
<div class="content" aria-labelledby="{{ field.name }}" {% block widget-attrs %}{% endblock %}>
|
||||
<div class="content"
|
||||
{% if field.id_for_label %}aria-labelledby="{{ field.id_for_label }}_title"{% endif %}
|
||||
{% block widget-attrs %}{% endblock %}>
|
||||
{% block widget-error %}
|
||||
{% if field.errors %}
|
||||
<div class="error"><p>
|
||||
|
|
Loading…
Reference in New Issue