Saving work on making things look good for IDAA Recovery Meetings and BB.

This commit is contained in:
Scott Idem
2025-07-08 18:16:31 -04:00
parent fcefcc510b
commit 3c404acdfd
5 changed files with 217 additions and 78 deletions

View File

@@ -438,7 +438,14 @@ $effect(() => {
Title of BB post:
</span>
<input
type="text" id="title" name="title" required max="200" bind:value={$idaa_slct.post_obj.title} placeholder="Title of Post" autocomplete="off"
type="text"
id="title"
name="title"
required
max="200"
bind:value={$idaa_slct.post_obj.title}
placeholder="Title of Post"
autocomplete="off"
class="
input w-full
preset-tonal-surface hover:preset-filled-surface-100-900
@@ -656,7 +663,12 @@ $effect(() => {
});
}}
class="novi_btn btn btn-sm preset-tonal-warning hover:preset-tonal-warning border border-warning-500"
class="
novi_btn
btn btn-sm
preset-tonal-warning preset-outlined-warning-100-900 hover:preset-filled-warning-400-600
transition
"
title="Delete this file"
>
<span class="fas fa-trash-alt mx-1"></span>
@@ -943,11 +955,11 @@ $effect(() => {
grow
flex flex-row flex-wrap gap-1 items-center justify-evenly
col-sm-1
"
"
>
<label class="legend text-sm font-semibold input-group">Sort <input type="number" name="sort" bind:value={$idaa_slct.post_obj.sort} class="input w-24 form-control" /></label>
<label class="legend text-sm font-semibold input-group">Sort <input type="number" name="sort" bind:value={$idaa_slct.post_obj.sort} class="input w-24 preset-tonal-surface form-control" /></label>
<label class="legend text-sm font-semibold input-group">Group <input type="text" name="group" bind:value={$idaa_slct.post_obj.group} max="100" class="input w-40 form-control" /></label>
<label class="legend text-sm font-semibold input-group">Group <input type="text" name="group" bind:value={$idaa_slct.post_obj.group} max="100" class="input w-40 preset-tonal-surface form-control" /></label>
</span>
{#if $ae_loc.administrator_access}
@@ -997,7 +1009,7 @@ $effect(() => {
}}
bind:new_html={notes_new_html}
bind:changed={notes_changed}
classes="bg-gray-100 dark:bg-gray-800"
classes="preset-tonal-surface hover:preset-filled-surface-100-900"
placeholder="Internal notes for staff only. Not shown to the public."
/>
</label>
@@ -1025,7 +1037,7 @@ $effect(() => {
btn
preset-tonal-success hover:preset-filled-success-200-800
transition
"
"
>
{#await prom_api__post_obj}
<span class="fas fa-spinner fa-spin m-1"></span> Saving
@@ -1046,7 +1058,7 @@ $effect(() => {
btn
preset-tonal-warning hover:preset-filled-warning-200-800
transition
"
"
>
{#await prom_api__post_obj}
<span class="fas fa-spinner fa-spin m-1"></span> Saving
@@ -1068,7 +1080,7 @@ $effect(() => {
novi_btn
btn btn-sm
preset-filled-warning-400-600 hover:preset-filled-error-200-800
"
"
title="Delete record permanently"
>
<span class="fas fa-minus m-1"></span> Delete