diff options
Diffstat (limited to 'templates/vehicles_list.html')
-rw-r--r-- | templates/vehicles_list.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/vehicles_list.html b/templates/vehicles_list.html new file mode 100644 index 0000000..cf91a96 --- /dev/null +++ b/templates/vehicles_list.html @@ -0,0 +1,8 @@ +{% for car, val in my_cars%} +<li> + <a href="#" onclick="setActiveCar(c{{loop.index}})" id="c{{loop.index}}" class="car text-gray-700 hover:text-indigo-600 hover:bg-gray-50 group flex gap-x-3 rounded-md p-2 pl-3 text-sm leading-6 font-semibold"> + {{car}} + <span class="ml-auto w-9 min-w-max whitespace-nowrap rounded-full bg-white px-2.5 py-0.5 text-center text-xs font-medium leading-5 text-gray-600 ring-1 ring-inset ring-gray-200" aria-hidden="true">{{val}}</span> + </a> +</li> +{% endfor %}
\ No newline at end of file |