ui: Map display with location of devices
This commit is contained in:
parent
e726997708
commit
26a5f88dcb
@ -2,8 +2,9 @@
|
|||||||
import Table from '$lib/client/components/table.svelte';
|
import Table from '$lib/client/components/table.svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Pinned projects -->
|
<section class="space-y-6 lg:space-y-10">
|
||||||
<ul role="list" class="grid grid-cols-1 gap-x-6 gap-y-8 lg:grid-cols-3 xl:gap-x-8">
|
<!-- Pinned projects -->
|
||||||
|
<ul role="list" class="grid grid-cols-1 gap-x-6 gap-y-8 lg:grid-cols-3 xl:gap-x-8">
|
||||||
<li class="overflow-hidden rounded-xl border border-gray-200 bg-white">
|
<li class="overflow-hidden rounded-xl border border-gray-200 bg-white">
|
||||||
<div class="flex items-center gap-2 bg-gray-50 p-5">
|
<div class="flex items-center gap-2 bg-gray-50 p-5">
|
||||||
<span class="text-gray-800">
|
<span class="text-gray-800">
|
||||||
@ -89,8 +90,31 @@
|
|||||||
</div>
|
</div>
|
||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="mt-10">
|
<!--Map-->
|
||||||
<Table/>
|
<div class="relative overflow-hidden rounded-xl border border-gray-200 bg-white">
|
||||||
</div>
|
<img class="brightness-90" src="../img/map.png" width="2414" height="2008" alt="Map example">
|
||||||
|
<ul>
|
||||||
|
<li class="absolute top-60 left-[30rem]">
|
||||||
|
<span class="relative size-6 flex items-center justify-center text-white bg-green-600 rounded-full">
|
||||||
|
<svg class="size-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18" />
|
||||||
|
</svg>
|
||||||
|
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
<li class="absolute top-80 left-[35rem]">
|
||||||
|
<span class="relative size-6 flex items-center justify-center text-white bg-red-600 rounded-full">
|
||||||
|
<svg class="size-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18" />
|
||||||
|
</svg>
|
||||||
|
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-red-400 opacity-75"></span>
|
||||||
|
</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<Table/>
|
||||||
|
</section>
|
BIN
apps/front/static/img/map.png
Normal file
BIN
apps/front/static/img/map.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 MiB |
Loading…
Reference in New Issue
Block a user