mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
fix(tags): three tags and "…" on the host's VM list too
The host's VM list showed every tag of a VM, widening its Name column as the VM list did before; it now shows three and the others behind "…". There its tags are not buttons: the tags "…" shows take the focus, so a keyboard user is not sent back to the top of the page.
This commit is contained in:
parent
65b8110464
commit
6680e14ce4
5 changed files with 22 additions and 5 deletions
|
|
@ -4,5 +4,5 @@
|
|||
{% for tag in tags %}{% include 'common/tag_badge.html' %} {% endfor %}
|
||||
{% if more %}
|
||||
<button type="button" class="badge tag-badge text-bg-light border" data-show-tags title="{{ more|join:", " }}">…<span class="visually-hidden"> {% trans "more tags" %}</span></button>
|
||||
<span hidden>{% for tag in more %}{% include 'common/tag_badge.html' %} {% endfor %}</span>
|
||||
<span hidden tabindex="-1">{% for tag in more %}{% include 'common/tag_badge.html' %} {% endfor %}</span>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue