aboutsummaryrefslogtreecommitdiff
path: root/templates/vehicles_list.html
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2023-10-08 12:33:26 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2023-10-08 12:33:26 -0600
commitc93ef2dd9948658b5c477bcd4d82080c19c006e3 (patch)
tree4ae327c04282f0d8181d57336ea7d9bf8aba25ee /templates/vehicles_list.html
parent68e16bfdbe93a37b22d2ee11777e91624fbbed5c (diff)
add vehicle modal
Diffstat (limited to 'templates/vehicles_list.html')
-rw-r--r--templates/vehicles_list.html8
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