@@ -33,33 +33,54 @@ <h2 class="text-center">Landolfio</h2>
3333 < p class ="text-muted text-center mb-3 "> {% translate "Or immediately go to..." %}</ p >
3434
3535 <!-- Categories -->
36- < div class ="d-flex flex-wrap gap-2 justify-content-center mb-3 ">
37- {% for category in categories %}
38- < a href ="{% url 'inventory_frontend:list' %}?category={{ category.id }} " class ="btn btn-outline-primary rounded-pill ">
39- {{ category.name }}
40- < span class ="badge bg-primary ms-1 "> {{ category.asset_count }}</ span >
41- </ a >
42- {% endfor %}
36+ < div class ="mb-3 ">
37+ < div class ="text-center mb-2 ">
38+ < small class ="text-muted ">
39+ {% translate "Categories" %}
40+ </ small >
41+ </ div >
42+ < div class ="d-flex flex-wrap gap-2 justify-content-center ">
43+ {% for category in categories %}
44+ < a href ="{% url 'inventory_frontend:list' %}?category={{ category.id }} " class ="btn btn-outline-primary rounded-pill ">
45+ {{ category.name }}
46+ < span class ="badge bg-primary ms-1 "> {{ category.asset_count }}</ span >
47+ </ a >
48+ {% endfor %}
49+ </ div >
4350 </ div >
4451
4552 <!-- Locations -->
46- < div class ="d-flex flex-wrap gap-2 justify-content-center mb-3 ">
47- {% for location in locations|slice:":5" %}
48- < a href ="{% url 'inventory_frontend:list' %}?location={{ location.id }} " class ="btn btn-outline-primary rounded-pill ">
49- {{ location.name }}
50- < span class ="badge bg-primary ms-1 "> {{ location.asset_count }}</ span >
51- </ a >
52- {% endfor %}
53+ < div class ="mb-3 ">
54+ < div class ="text-center mb-2 ">
55+ < small class ="text-muted ">
56+ {% translate "Locations" %}
57+ </ small >
58+ </ div >
59+ < div class ="d-flex flex-wrap gap-2 justify-content-center ">
60+ {% for location in locations|slice:":5" %}
61+ < a href ="{% url 'inventory_frontend:list' %}?location={{ location.id }} " class ="btn btn-outline-primary rounded-pill ">
62+ {{ location.name }}
63+ < span class ="badge bg-primary ms-1 "> {{ location.asset_count }}</ span >
64+ </ a >
65+ {% endfor %}
66+ </ div >
5367 </ div >
5468
5569 <!-- Collections -->
56- < div class ="d-flex flex-wrap gap-2 justify-content-center mb-3 ">
57- {% for collection in collections|slice:":5" %}
58- < a href ="{% url 'inventory_frontend:list' %}?collection={{ collection.id }} " class ="btn btn-outline-primary rounded-pill ">
59- {{ collection.name }}
60- < span class ="badge bg-primary ms-1 "> {{ collection.asset_count }}</ span >
61- </ a >
62- {% endfor %}
70+ < div class ="mb-3 ">
71+ < div class ="text-center mb-2 ">
72+ < small class ="text-muted ">
73+ {% translate "Collections" %}
74+ </ small >
75+ </ div >
76+ < div class ="d-flex flex-wrap gap-2 justify-content-center ">
77+ {% for collection in collections|slice:":5" %}
78+ < a href ="{% url 'inventory_frontend:list' %}?collection={{ collection.id }} " class ="btn btn-outline-primary rounded-pill ">
79+ {{ collection.name }}
80+ < span class ="badge bg-primary ms-1 "> {{ collection.asset_count }}</ span >
81+ </ a >
82+ {% endfor %}
83+ </ div >
6384 </ div >
6485 </ form >
6586{% endblock %}
0 commit comments