diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 02:07:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 02:07:14 -0600 |
commit | 4d2a0981a58f4c150972b7aca1c62d00f337405e (patch) | |
tree | b7d4683cf048699a6a52056cd0afe0eef1a8ce25 /templates/progress.html | |
parent | 990e5f6b211463ea27ce1ce159c7ffb7e4546c16 (diff) | |
parent | a8ffa7a710e09c471d1b1b101bf833d5369ccaf5 (diff) |
Merge pull request #3 from navanchauhan/oct-8
select car and generate tasklist
Diffstat (limited to 'templates/progress.html')
-rw-r--r-- | templates/progress.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/progress.html b/templates/progress.html new file mode 100644 index 0000000..f99c1a8 --- /dev/null +++ b/templates/progress.html @@ -0,0 +1,34 @@ +<ul role="list" class="-mb-8"> + {% for task in tasks %} + <li> + <div class="relative pb-8"> + <span class="absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200" aria-hidden="true"></span> + <div class="relative flex space-x-3"> + <div> + {% if task["icon"] == "check" %} + <span class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"> + <svg class="h-5 w-5 text-white" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> + <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> + </svg> + </span> + {% elif task["icon"] == "prog" %} + <span class="h-8 w-8 rounded-full bg-gray-400 flex items-center justify-center ring-8 ring-white"> + <svg class="h-5 w-5 text-white" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> + <path d="M10 8a3 3 0 100-6 3 3 0 000 6zM3.465 14.493a1.23 1.23 0 00.41 1.412A9.957 9.957 0 0010 18c2.31 0 4.438-.784 6.131-2.1.43-.333.604-.903.408-1.41a7.002 7.002 0 00-13.074.003z" /> + </svg> + </span> + {% endif %} + </div> + <div class="flex min-w-0 flex-1 justify-between space-x-4 pt-1.5"> + <div> + <p class="text-sm text-gray-500">{{task["desc_plain"]}} <a href="#" class="font-medium text-gray-900">{{task["desc_bold"]}}</a></p> + </div> + <div class="whitespace-nowrap text-right text-sm text-gray-500"> + <time datetime="2020-09-20">{{task["date"]}}</time> + </div> + </div> + </div> + </div> + </li> + {% endfor %} + </ul>
\ No newline at end of file |