]> git.lizzy.rs Git - cheatdb.git/blobdiff - app/templates/packages/list.html
Add tags list to homepage
[cheatdb.git] / app / templates / packages / list.html
index ec17f801e66056137b981f4aeedac4f941de56f9..49fcdd1520e66c2a3d1e762408c8152da13a2db7 100644 (file)
                        {% set tag = pair[1] %}
 
                        {% if tag in selected_tags %}
-                               <a class="badge badge-primary" rel="nofollow"
+                               <a class="btn btn-sm btn-primary m-1" rel="nofollow"
                                                href="{{ url_set_query(page=1, _remove={ 'tag': tag.name }) }}">
-
                                        {{ tag.title }}
-                                       ({{ count }})
+                                       <span class="badge badge-pill badge-light ml-1">{{ count }}</span>
                                </a>
                        {% else %}
-                               <a class="badge badge-secondary" rel="nofollow"
+                               <a class="btn btn-sm btn-secondary m-1" rel="nofollow"
                                                href="{{ url_set_query(page=1, _add={ 'tag': tag.name }) }}">
-
                                        {{ tag.title }}
-                                       ({{ count }})
+                                       <span class="badge badge-pill badge-light ml-1">{{ count }}</span>
                                </a>
                        {% endif %}
                {% endfor %}