fix: [items submit UI] fix tags dropdown

pull/422/head
Terrtia 2019-07-04 11:34:54 +02:00
parent bd0da210e7
commit 65584196e8
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 24 additions and 20 deletions

View File

@ -130,32 +130,36 @@
<input id="ltags" type="text" class="form-control" autocomplete="off"> <input id="ltags" type="text" class="form-control" autocomplete="off">
</div> </div>
<button type="button" class="btn btn-info dropdown-toggle mt-1 mb-3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <div class="dropdown">
Taxonomie Selected <button type="button" class="btn btn-info dropdown-toggle mt-1 mb-3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="dropdown-taxonomie">
</button> Taxonomie Selected
<div class="dropdown-menu dropdown-menu-right"> <!-- TODO: make dropdown-scrollable --> </button>
<h6 class="dropdown-header">Taxonomie Tags</h6> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown-taxonomie"> <!-- TODO: make dropdown-scrollable -->
<button class="dropdown-item" type="button" id="all-tags-taxonomies">All Tags <i class="fas fa-tags"></i></button> <h6 class="dropdown-header">Taxonomie Tags</h6>
<div class="dropdown-divider"></div> <button class="dropdown-item" type="button" id="all-tags-taxonomies">All Tags <i class="fas fa-tags"></i></button>
{% for taxo in active_taxonomies %} <div class="dropdown-divider"></div>
<button class="dropdown-item" type="button" id="{{ taxo }}-id{{ loop.index0 }}">{{ taxo }}</button> {% for taxo in active_taxonomies %}
{% endfor %} <button class="dropdown-item" type="button" id="{{ taxo }}-id{{ loop.index0 }}">{{ taxo }}</button>
{% endfor %}
</div>
</div> </div>
<div class="input-group"> <div class="input-group">
<input id="ltagsgalaxies" type="text" class="form-control" autocomplete="off"> <input id="ltagsgalaxies" type="text" class="form-control" autocomplete="off">
</div> </div>
<button type="button" class="btn btn-info dropdown-toggle mt-1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <div class="dropdown">
Galaxy Selected <button type="button" class="btn btn-info dropdown-toggle mt-1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="dropdown-galaxy">
</button> Galaxy Selected
<div class="dropdown-menu dropdown-menu-right"> <!-- TODO: make dropdown-scrollable --> </button>
<h6 class="dropdown-header">Galaxy Tags</h6> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown-galaxy"> <!-- TODO: make dropdown-scrollable -->
<button class="dropdown-item" type="button" id="all-tags-galaxies">All Tags <i class="fas fa-tags"></i></button> <h6 class="dropdown-header">Galaxy Tags</h6>
<div class="dropdown-divider"></div> <button class="dropdown-item" type="button" id="all-tags-galaxies">All Tags <i class="fas fa-tags"></i></button>
{% for galaxy in active_galaxies %} <div class="dropdown-divider"></div>
<button class="dropdown-item" type="button" id="{{ galaxy }}-idgalax{{ loop.index0 }}">{{ galaxy }}</button> {% for galaxy in active_galaxies %}
{% endfor %} <button class="dropdown-item" type="button" id="{{ galaxy }}-idgalax{{ loop.index0 }}">{{ galaxy }}</button>
{% endfor %}
</div>
</div> </div>
</div> </div>