adding assets for switch rotary state dialog
This commit is contained in:
BIN
src/resources/images/rotary_off.png
Normal file
BIN
src/resources/images/rotary_off.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
BIN
src/resources/images/rotary_on.png
Normal file
BIN
src/resources/images/rotary_on.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -21,6 +21,20 @@
|
|||||||
<Title id="switch-rotary-dialog-title">Switch Rotary Mode</Title>
|
<Title id="switch-rotary-dialog-title">Switch Rotary Mode</Title>
|
||||||
|
|
||||||
<Content id="switch-rotary-dialog-content">
|
<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?"}
|
{isActive ? "Turn on Rotary box?" : "Turn off Rotary box?"}
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user