mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 07:19:36 +02:00
textfield for description
This commit is contained in:
parent
2f51f88f00
commit
e4de8a39a4
2 changed files with 13 additions and 15 deletions
|
@ -215,17 +215,16 @@
|
||||||
<label for="date">Description <Notebook class="inline-block -mt-1 mb-1 w-6 h-6" /></label
|
<label for="date">Description <Notebook class="inline-block -mt-1 mb-1 w-6 h-6" /></label
|
||||||
><br />
|
><br />
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<input
|
<textarea
|
||||||
type="text"
|
|
||||||
id="description"
|
id="description"
|
||||||
name="description"
|
name="description"
|
||||||
bind:value={adventureToEdit.description}
|
bind:value={adventureToEdit.description}
|
||||||
class="input input-bordered w-full max-w-xs mt-1 mb-2"
|
class="textarea textarea-bordered h-32 w-full max-w-xl mt-1 mb-2"
|
||||||
/>
|
/>
|
||||||
<button class="btn btn-neutral ml-2" type="button" on:click={generateDesc}
|
|
||||||
><Wikipedia class="inline-block -mt-1 mb-1 w-6 h-6" />Generate Description</button
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
|
<button class="btn btn-neutral" type="button" on:click={generateDesc}
|
||||||
|
><Wikipedia class="inline-block -mt-1 mb-1 w-6 h-6" />Generate Description</button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
{#if adventureToEdit.type == 'visited' || adventureToEdit.type == 'planned'}
|
{#if adventureToEdit.type == 'visited' || adventureToEdit.type == 'planned'}
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
|
@ -337,6 +336,8 @@
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mb-2">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
id="latitude"
|
id="latitude"
|
||||||
|
|
|
@ -285,22 +285,19 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
<label for="description"
|
<label for="date">Description <Notebook class="inline-block -mt-1 mb-1 w-6 h-6" /></label
|
||||||
>Description<iconify-icon icon="mdi:notebook" class="text-lg ml-1 -mb-0.5"
|
|
||||||
></iconify-icon></label
|
|
||||||
><br />
|
><br />
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<input
|
<textarea
|
||||||
type="text"
|
|
||||||
id="description"
|
id="description"
|
||||||
name="description"
|
name="description"
|
||||||
bind:value={newAdventure.description}
|
bind:value={newAdventure.description}
|
||||||
class="input input-bordered w-full max-w-xs mt-1 mb-2"
|
class="textarea textarea-bordered h-32 w-full max-w-xl mt-1 mb-2"
|
||||||
/>
|
/>
|
||||||
<button class="btn btn-neutral ml-2" type="button" on:click={generateDesc}
|
|
||||||
><Wikipedia class="inline-block -mt-1 mb-1 w-6 h-6" />Generate Description</button
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
|
<button class="btn btn-neutral" type="button" on:click={generateDesc}
|
||||||
|
><Wikipedia class="inline-block -mt-1 mb-1 w-6 h-6" />Generate Description</button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
{#if newAdventure.type == 'visited' || newAdventure.type == 'planned'}
|
{#if newAdventure.type == 'visited' || newAdventure.type == 'planned'}
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue