admin: use pb-dropdown component for dropdowns

This commit is contained in:
Jens Langhammer
2020-11-20 22:15:46 +01:00
parent 1e1a002ab2
commit 592f2cc558
6 changed files with 24 additions and 24 deletions

View File

@ -22,7 +22,7 @@
<div class="pf-c-toolbar__content">
{% include 'partials/toolbar_search.html' %}
<div class="pf-c-toolbar__bulk-select">
<div class="pf-c-dropdown">
<pb-dropdown class="pf-c-dropdown">
<button class="pf-m-primary pf-c-dropdown__toggle" type="button">
<span class="pf-c-dropdown__toggle-text">{% trans 'Create' %}</span>
<i class="fas fa-caret-down pf-c-dropdown__toggle-icon" aria-hidden="true"></i>
@ -39,7 +39,7 @@
</li>
{% endfor %}
</ul>
</div>
</pb-dropdown>
</div>
{% include 'partials/pagination.html' %}
</div>
@ -108,7 +108,7 @@
{% trans 'Currently no sources exist. Click the button below to create one.' %}
{% endif %}
</div>
<div class="pf-c-dropdown">
<pb-dropdown class="pf-c-dropdown">
<button class="pf-m-primary pf-c-dropdown__toggle" type="button">
<span class="pf-c-dropdown__toggle-text">{% trans 'Create' %}</span>
<i class="fas fa-caret-down pf-c-dropdown__toggle-icon" aria-hidden="true"></i>
@ -125,7 +125,7 @@
</li>
{% endfor %}
</ul>
</div>
</pb-dropdown>
</div>
</div>
{% endif %}