Saving work on IDAA pages

This commit is contained in:
Scott Idem
2025-07-08 16:53:45 -04:00
parent 32c1899cb6
commit fcefcc510b
4 changed files with 150 additions and 45 deletions

View File

@@ -1022,8 +1022,9 @@ $effect(() => {
disabled={(disable_submit_btn || !obj_changed)}
class="
novi_btn btn-warning
btn preset-tonal-success
hover:preset-filled-success-200-800 transition
btn
preset-tonal-success hover:preset-filled-success-200-800
transition
"
>
{#await prom_api__post_obj}
@@ -1042,8 +1043,9 @@ $effect(() => {
}}
class="
novi_btn btn-warning
btn preset-tonal-warning
hover:preset-filled-warning-200-800 transition
btn
preset-tonal-warning hover:preset-filled-warning-200-800
transition
"
>
{#await prom_api__post_obj}

View File

@@ -54,6 +54,7 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
<option value={50}>50</option>
<option value={75} class:hidden={!$ae_loc.trusted_access}>75</option>
<option value={100} class:hidden={!$ae_loc.trusted_access}>100</option>
<option value={150} class:hidden={!$ae_loc.trusted_access}>150</option>
<option value={200} class:hidden={!$ae_loc.trusted_access}>200</option>
<option value={500} class:hidden={!$ae_loc.trusted_access}>500</option>
</select>
@@ -68,7 +69,12 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
$idaa_loc.bb.qry__limit = 100;
$idaa_trig.post_li = true;
}}
class="novi_btn btn_show_bb_post ae_btn btn btn-info btn-sm preset-tonal-secondary border border-secondary-500"
class="
novi_btn btn_hide_bb_post ae_btn btn-info
btn btn-sm
preset-tonal-secondary preset-outlined-secondary-200-800 hover:preset-filled-secondary-200-800
transition
"
>
<span class="fas fa-eye m-1"></span> Show Hidden Posts
</button>
@@ -79,7 +85,12 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
$idaa_loc.bb.qry__hidden = 'not_hidden';
$idaa_trig.post_li = true;
}}
class="novi_btn btn_hide_bb_post ae_btn btn btn-info btn-sm preset-tonal-secondary border border-secondary-500"
class="
novi_btn btn_hide_bb_post ae_btn btn-info
btn btn-sm
preset-tonal-secondary preset-outlined-secondary-200-800 hover:preset-filled-secondary-200-800
transition
"
>
<span class="fas fa-eye-slash m-1"></span> Hide Hidden Posts
</button>
@@ -94,7 +105,12 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
$idaa_loc.bb.qry__limit = 500;
$idaa_trig.post_li = true;
}}
class="novi_btn btn_show_bb_post ae_btn btn btn-warning btn-sm preset-tonal-secondary border border-secondary-500"
class="
novi_btn btn_show_bb_post ae_btn btn-warning
btn btn-sm
preset-tonal-warning preset-outlined-warning-200-800 hover:preset-filled-warning-200-800
transition
"
>
<span class="fas fa-eye m-1"></span> Show Disabled Posts
</button>
@@ -105,7 +121,12 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
$idaa_loc.bb.qry__enabled = 'enabled';
$idaa_trig.post_li = true;
}}
class="novi_btn btn_hide_bb_post ae_btn btn btn-warning btn-sm preset-tonal-secondary border border-secondary-500"
class="
novi_btn btn_hide_bb_post ae_btn btn-warning
btn btn-sm
preset-tonal-warning preset-outlined-warning-200-800 hover:preset-filled-warning-200-800
transition
"
>
<span class="fas fa-eye-slash m-1"></span> Hide Disabled Posts
</button>
@@ -177,7 +198,13 @@ if (log_lvl) console.log('** Component Loaded: ** Post Options');
// $idaa_sess.bb.show__modal_view__post_id = true;
// $idaa_sess.bb.show__inline_edit__post_obj = true;
}}
class="novi_btn btn_new_post btn btn-sm preset-tonal-warning border border-warning-500 hover:preset-filled-warning-500 transition text-xs"
class="
novi_btn btn-tertiary
text-xs
btn btn-sm
preset-tonal-warning preset-outlined-warning-200-800 hover:preset-filled-warning-200-800
transition
"
title="Create new post"
>
<span class="fas fa-plus m-1"></span> Create New Post