Adding "active" display for persons
This commit is contained in:
parent
cfafc0f226
commit
e5395b6b19
3
member/static/icons/uxwing/check.svg
Normal file
3
member/static/icons/uxwing/check.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 122.88 122.88" style="enable-background:new 0 0 122.88 122.88" xml:space="preserve"><style type="text/css"><![CDATA[
|
||||
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#3AAF3C !important;}
|
||||
]]></style><g><path class="st0" fill="#3AAF3C" d="M61.44,0c33.93,0,61.44,27.51,61.44,61.44c0,33.93-27.51,61.44-61.44,61.44C27.51,122.88,0,95.37,0,61.44 C0,27.51,27.51,0,61.44,0L61.44,0L61.44,0z M39.48,56.79c4.6,2.65,7.59,4.85,11.16,8.78c9.24-14.88,19.28-23.12,32.32-34.83 l1.28-0.49h14.28C79.38,51.51,64.53,69.04,51.24,94.68c-6.92-14.79-13.09-25-26.88-34.47L39.48,56.79L39.48,56.79z"/></g></svg>
|
||||
|
After Width: | Height: | Size: 757 B |
@ -134,7 +134,14 @@ body {
|
||||
height: 20px;
|
||||
vertical-align: middle;
|
||||
margin-right: 6px;
|
||||
filter: invert(90%); /* für helle SVGs in dunklem Hintergrund */
|
||||
}
|
||||
|
||||
img.icon {
|
||||
filter: invert(90%);
|
||||
}
|
||||
|
||||
svg.icon {
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
{% for x in mymembers %}
|
||||
<tr>
|
||||
<td><a href="{% url 'details' x.id %}"><img src="{% static 'icons/arrow-right.svg' %}" class="icon">{{ x.nachname }} {{ x.vorname}}</a> </td>
|
||||
<td></td>
|
||||
<td>{% if x.aktiv %}{% inline_svg 'icons/uxwing/check.svg' 'icon' %}{% endif %}</td>
|
||||
<td><a href="{% url 'edit' x.id %}" title="Bearbeiten"><img src="{% static 'icons/heroicons/pencil.svg'%}" class="icon"></a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user