adding assets for switch rotary state dialog

This commit is contained in:
sanjayk03-dev
2024-12-09 23:24:46 +05:30
parent 9f348a119c
commit edfbadb9bd
3 changed files with 14 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@@ -21,6 +21,20 @@
<Title id="switch-rotary-dialog-title">Switch Rotary Mode</Title>
<Content id="switch-rotary-dialog-content">
{#if isActive}
<img
src={"../assets/rotary_on.png"}
alt="Rotary On"
style="width: 300px;height: auto;display: flex;margin: 10px 0 20px 0;"
/>
{:else}
<img
src={"../assets/rotary_off.png"}
alt="Rotary Off"
style="width: 300px;height: auto;display: flex;margin: 10px 0 20px 0;"
/>
{/if}
{isActive ? "Turn on Rotary box?" : "Turn off Rotary box?"}
</Content>