mirror of
https://github.com/KevinMidboe/hivemonitor.git
synced 2025-10-29 09:30:25 +00:00
* adds a bunch of ui components with mock data * build docker image with yarn.lock & yarn instead of npm * easier to add topics, build options smarter from ENV vars * fallback to index.html on all requests for SPA * updates w/ black/white support, better mobile styling * adds test components to home & dashboard pages * adds chart.js dependency * mqtt payload examples * lint * drone ci config * eslint fixes
21 lines
6.3 KiB
Svelte
21 lines
6.3 KiB
Svelte
<!-- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 768 768">
|
|
<path d="M384 256c-70.6 0-128 57.4-128 128s57.4 128 128 128c70.6 0 128-57.4 128-128s-57.4-128-128-128zM384 480c-52.9 0-96-43.1-96-96s43.1-96 96-96 96 43.1 96 96-43.1 96-96 96z"></path>
|
|
<path d="M384 320c-35.3 0-64 28.7-64 64s28.7 64 64 64c35.3 0 64-28.7 64-64s-28.7-64-64-64zM384 416c-17.6 0-32-14.4-32-32s14.4-32 32-32c17.6 0 32 14.4 32 32s-14.4 32-32 32z"></path>
|
|
<path d="M704 288h-48.4c-3.4-9.6-7.3-19-11.7-28.2l34.2-34.2c12.1-12.1 18.7-28.2 18.7-45.3s-6.7-33.2-18.7-45.3l-45.4-45.4c-24.8-24.8-65.2-24.9-90.2-0.3l-34.9 34.5c-9-4.3-18.3-8.1-27.6-11.4v-48.4c0-35.3-28.7-64-64-64h-64c-35.3 0-64 28.7-64 64v48.4c-9.6 3.4-19 7.3-28.2 11.7l-34.2-34.2c-12.1-12.1-28.2-18.7-45.3-18.7 0 0 0 0 0 0-17.1 0-33.2 6.7-45.3 18.7l-45.3 45.3c-12.1 12.1-18.7 28.2-18.7 45.3s6.7 33.2 18.7 45.3l34.2 34.2c-4.4 9.2-8.3 18.6-11.7 28.2h-48.2c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64h48.4c3.4 9.6 7.3 19 11.7 28.2l-34.2 34.2c-12.1 12.1-18.7 28.2-18.7 45.3s6.7 33.2 18.7 45.3l45.3 45.3c25 25 65.6 25 90.5 0l34.2-34.2c9.2 4.4 18.6 8.3 28.2 11.7v48c0 35.3 28.7 64 64 64h64c35.3 0 64-28.7 64-64v-48.4c9.6-3.4 19-7.3 28.2-11.7l34.2 34.2c12.1 12.1 28.2 18.7 45.3 18.7s33.2-6.7 45.3-18.7l45.4-45.4c24.8-24.8 24.9-65.3 0.3-90.2l-34.5-34.9c4.3-9 8.1-18.3 11.4-27.6h48.3c35.3 0 64-28.7 64-64v-64c0-35.3-28.7-64-64-64zM704 416h-72.1c-14.6 0-27.4 9.9-31 24-5 19.6-13.2 39.4-23.7 57.3-7.3 12.5-5.3 28.3 4.9 38.6l50.9 51.6-45.4 45.4-51-51c-10.3-10.3-26.3-12.4-38.9-4.9-18 10.7-37.5 18.7-57.8 23.9-14.1 3.6-24 16.4-24 31v72.1h-64v-72.1c0-14.6-9.9-27.4-24-31-20.3-5.2-39.7-13.3-57.8-23.9-5.1-3-10.7-4.5-16.3-4.5-8.3 0-16.5 3.2-22.6 9.4l-51 51-45.3-45.3 51-51c10.3-10.3 12.4-26.3 4.9-38.9-10.7-18-18.7-37.5-23.9-57.8-3.6-14.1-16.4-24-31-24l-71.9 0.1v-64h72.1c14.6 0 27.4-9.9 31-24 5.2-20.3 13.3-39.7 23.9-57.8 7.4-12.6 5.4-28.6-4.9-38.9l-51-51 45.3-45.3 51 51c10.3 10.3 26.3 12.4 38.9 4.9 18-10.7 37.5-18.7 57.8-23.9 14.1-3.6 24-16.4 24-31v-72h64v72.1c0 14.6 9.9 27.4 24 31 19.6 5 39.4 13.2 57.3 23.7 12.5 7.3 28.3 5.3 38.6-4.9l51.6-50.9 45.4 45.4-51 51c-10.3 10.3-12.4 26.3-4.9 38.9 10.7 18 18.7 37.5 23.9 57.8 3.6 14.1 16.4 24 31 24h72.1v63.9z"></path>
|
|
</svg>
|
|
-->
|
|
|
|
<svg
|
|
version="1.1"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width="100%"
|
|
height="100%"
|
|
viewBox="0 0 21.6016 21.2817"
|
|
>
|
|
<g>
|
|
<path
|
|
d="M10.791 19.9719C11.0254 19.9719 11.2598 19.9621 11.4941 19.9426L12.041 20.968C12.1582 21.2024 12.3926 21.3196 12.666 21.2707C12.9297 21.2219 13.1152 21.0266 13.1445 20.7532L13.3203 19.6203C13.7695 19.5032 14.209 19.3371 14.6387 19.1516L15.4785 19.8938C15.6738 20.0696 15.9473 20.1282 16.2012 19.9817C16.4258 19.8547 16.5332 19.6008 16.4648 19.3274L16.2402 18.2239C16.6113 17.9504 16.9824 17.6477 17.3145 17.3254L18.3496 17.7551C18.623 17.8625 18.877 17.7942 19.0723 17.5696C19.2285 17.3742 19.2578 17.1008 19.1113 16.8664L18.5156 15.8996C18.7695 15.5188 19.0039 15.1086 19.2188 14.6789L20.3516 14.718C20.6055 14.7375 20.8594 14.6008 20.9375 14.3274C21.0254 14.0735 20.9375 13.8196 20.7324 13.6535L19.8535 12.9504C19.9707 12.5012 20.0488 12.0324 20.0879 11.5442L21.1523 11.2024C21.4258 11.1145 21.6016 10.9094 21.6016 10.636C21.6016 10.3528 21.4258 10.1574 21.1523 10.0696L20.0879 9.72776C20.0488 9.23948 19.9707 8.7805 19.8535 8.32151L20.7324 7.60862C20.9277 7.45237 21.0254 7.20823 20.9375 6.95432C20.8594 6.68089 20.6055 6.54417 20.3516 6.5637L19.2188 6.593C19.0039 6.16331 18.7695 5.76292 18.5156 5.36253L19.1113 4.39573C19.248 4.18089 19.2285 3.90745 19.0723 3.71214C18.877 3.47776 18.623 3.41917 18.3594 3.52659L17.3145 3.93675C16.9824 3.63401 16.6113 3.32151 16.2402 3.04807L16.4648 1.95432C16.5234 1.66136 16.4258 1.41721 16.2012 1.30003C15.9473 1.15354 15.6738 1.19261 15.4785 1.37815L14.6387 2.11057C14.209 1.93479 13.7695 1.77854 13.3203 1.65159L13.1445 0.528543C13.1152 0.255106 12.9297 0.059793 12.666 0.0109649C12.3926-0.0378632 12.1484 0.0793243 12.041 0.303934L11.4941 1.32932C11.2598 1.30979 11.0254 1.30003 10.791 1.30003C10.5469 1.30003 10.3223 1.30979 10.0781 1.32932L9.54102 0.303934C9.42383 0.0793243 9.18945-0.0378632 8.91602 0.0109649C8.65234 0.059793 8.48633 0.255106 8.4375 0.528543L8.26172 1.64182C7.8125 1.77854 7.37305 1.93479 6.93359 2.11057L6.10352 1.38792C5.89844 1.19261 5.63477 1.15354 5.37109 1.30003C5.15625 1.41721 5.05859 1.66136 5.11719 1.95432L5.33203 3.04807C4.9707 3.32151 4.58984 3.63401 4.25781 3.93675L3.22266 3.52659C2.95898 3.41917 2.70508 3.47776 2.50977 3.71214C2.35352 3.90745 2.32422 4.18089 2.46094 4.39573L3.06641 5.36253C2.8125 5.76292 2.58789 6.16331 2.36328 6.593L1.23047 6.5637C0.966797 6.54417 0.722656 6.68089 0.644531 6.95432C0.556641 7.20823 0.634766 7.45237 0.849609 7.60862L1.72852 8.32151C1.61133 8.7805 1.5332 9.23948 1.50391 9.72776L0.419922 10.0696C0.146484 10.1477 0 10.3528 0 10.636C0 10.9192 0.146484 11.1145 0.419922 11.2024L1.50391 11.5442C1.5332 12.0324 1.61133 12.5012 1.72852 12.9504L0.849609 13.6535C0.634766 13.8196 0.556641 14.0735 0.644531 14.3274C0.722656 14.6008 0.966797 14.7375 1.23047 14.718L2.36328 14.6789C2.58789 15.1086 2.8125 15.5188 3.06641 15.8996L2.4707 16.8664C2.33398 17.1008 2.34375 17.3742 2.50977 17.5696C2.70508 17.7942 2.95898 17.8625 3.23242 17.7551L4.25781 17.3254C4.58984 17.6477 4.9707 17.9504 5.33203 18.2239L5.11719 19.3274C5.06836 19.6008 5.15625 19.8547 5.37109 19.9817C5.63477 20.1282 5.89844 20.0696 6.10352 19.8938L6.93359 19.1516C7.37305 19.3371 7.8125 19.5032 8.26172 19.6301L8.4375 20.7532C8.48633 21.0266 8.65234 21.2219 8.91602 21.2707C9.18945 21.3196 9.42383 21.2024 9.54102 20.968L10.0781 19.9426C10.3125 19.9621 10.5469 19.9719 10.791 19.9719ZM10.791 18.3996C6.45508 18.3996 3.13477 14.9621 3.13477 10.6457C3.13477 6.31956 6.45508 2.87229 10.791 2.87229C15.127 2.87229 18.4668 6.31956 18.4668 10.6457C18.4668 14.9621 15.127 18.3996 10.791 18.3996ZM9.0918 9.14182L10.2441 8.4094L6.98242 2.8137L5.78125 3.48753ZM12.9688 11.3L19.4629 11.3L19.4629 9.95237L12.9688 9.95237ZM10.2637 12.8918L9.12109 12.1496L5.68359 17.7551L6.875 18.4582ZM10.7715 13.2043C12.1875 13.2043 13.3301 12.0715 13.3301 10.6555C13.3301 9.23948 12.1875 8.0969 10.7715 8.0969C9.35547 8.0969 8.22266 9.23948 8.22266 10.6555C8.22266 12.0715 9.35547 13.2043 10.7715 13.2043ZM10.7715 11.7395C10.1562 11.7395 9.67773 11.2805 9.67773 10.6555C9.67773 10.0305 10.1562 9.55198 10.7715 9.55198C11.3965 9.55198 11.875 10.0305 11.875 10.6555C11.875 11.2805 11.3965 11.7395 10.7715 11.7395Z"
|
|
/>
|
|
</g>
|
|
</svg>
|