diff --git a/src/app.html b/src/app.html index 1fc16b4..a899f02 100644 --- a/src/app.html +++ b/src/app.html @@ -1,5 +1,5 @@ - + diff --git a/src/components/commandOptions.svelte b/src/components/commandOptions.svelte index a069201..7849086 100644 --- a/src/components/commandOptions.svelte +++ b/src/components/commandOptions.svelte @@ -1,27 +1,200 @@
-
- Options - -
- {#each options as option} -
- {option.type} -
- {/each} -
\ No newline at end of file +
+ Options + +
+ {#each options as option (option.itemId)} +
+
+ {option.name} {OptionTypeToName(option.type)} option +
+ + +
+
+ {#if option.open} +
+ + + + +