Initial Commit
This commit is contained in:
commit
e8529bdbee
25 changed files with 13519 additions and 0 deletions
12
templates/components/dropdown.html
Normal file
12
templates/components/dropdown.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{% macro dropdown_button(label, items = []) %}
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
{{ label }}
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
{% for item in items %}
|
||||
<li><a class="dropdown-item" href="{{ item.1 }}">{{ item.0 }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
Loading…
Reference in a new issue