@@ -186,7 +186,7 @@ function handle_search(e: Event) {
'date_short'
)}
+ class="flex items-center gap-1 text-[10px] opacity-50">
{ae_util.iso_datetime_formatter(
log.created_on,
@@ -201,26 +201,26 @@ function handle_search(e: Event) {
+ class="avatar preset-tonal-surface flex h-8 w-8 items-center justify-center rounded-full shadow-inner">
+ class="flex max-w-[180px] flex-col">
{#if log.person_full_name || log.person_id_random}
- {log.person_full_name ||
'Person'}
ID: {log.person_id_random ||
'--'}
{:else if log.name}
{log.name}
{:else}
- Unknown
{/if}
@@ -231,12 +231,12 @@ function handle_search(e: Event) {
+ class="badge preset-filled-surface px-2 text-[9px] font-black tracking-tighter uppercase">
{log.action}
{#if log.action_with}
+ class="ml-1 flex items-center gap-1 text-[9px] font-bold uppercase opacity-40">
via {log.action_with}
{/if}
@@ -247,46 +247,46 @@ function handle_search(e: Event) {
{#if log.object_type}
+ class="border-surface-500/10 flex items-center gap-2 rounded-lg border bg-black/5 p-2">
+ class="flex flex-col truncate text-[10px]">
{log.object_type}
{#if log.external_client_id}
{log.external_client_id}
{/if}
{:else}
- --
{/if}
|
-
+
{#if log.summary}
{log.summary}
{/if}
{#if log.description}
{log.description}
{/if}
{#if !log.summary && !log.description}
No detail record
{/if}
diff --git a/src/routes/core/addresses/+page.svelte b/src/routes/core/addresses/+page.svelte
index 7c12a8f5..efa31286 100644
--- a/src/routes/core/addresses/+page.svelte
+++ b/src/routes/core/addresses/+page.svelte
@@ -61,11 +61,11 @@ onMount(() => {
});
-
+
+ class="bg-surface-50-900-token border-surface-500/10 flex items-center justify-between rounded-xl border p-4 shadow-lg">
-
+
Address Management
@@ -96,30 +96,30 @@ onMount(() => {
{/if}
+ class="card preset-tonal-surface border-surface-500/10 border p-6 shadow-xl">
Search Directory
+ class="bg-surface-200-700-token border-surface-500/20 group focus-within:ring-primary-500/50 flex overflow-hidden rounded-lg border shadow-inner transition-all focus-within:ring-2">
+ class="bg-surface-300-600-token border-surface-500/20 flex items-center justify-center border-r px-4">
@@ -128,54 +128,54 @@ onMount(() => {
{#if loading}
-
-
+
{:else if filtered_li.length === 0}
+ class="card preset-tonal-surface border-surface-500/20 rounded-2xl border-2 border-dashed p-12 text-center">
No Addresses Found
-
+
Addresses associated with this account will appear here.
{:else}
+ class="card preset-tonal-surface border-surface-500/10 border p-6 shadow-xl">
+ class="h4 border-surface-500/30 mb-6 flex items-center gap-2 border-b pb-2 font-bold">
Linked Addresses
{filtered_li.length} entries
-
+
{#each filtered_li as addr (addr.address_id_random)}
+ class="card preset-tonal-surface border-surface-500/10 hover:border-primary-500/30 group relative space-y-4 border p-5 shadow-md transition-all">
+ : 'preset-filled-error'} text-[8px] font-bold uppercase shadow-sm">
{addr.enable ? 'Active' : 'Disabled'}
+ class="avatar preset-filled-primary flex h-10 w-10 items-center justify-center rounded-lg shadow-inner transition-transform group-hover:scale-110">
-
+
{addr.city || '--'}
+ class="truncate text-[10px] font-bold uppercase opacity-50">
{addr.state_province || '--'}
@@ -184,7 +184,7 @@ onMount(() => {
{#if addr.organization_name}
+ class="flex items-center gap-2 rounded-lg bg-black/5 p-2">
@@ -193,7 +193,7 @@ onMount(() => {
{/if}
+ class="flex items-center gap-2 rounded-lg bg-black/5 p-2">
@@ -205,7 +205,7 @@ onMount(() => {
View Details
diff --git a/src/routes/core/addresses/[address_id]/+page.svelte b/src/routes/core/addresses/[address_id]/+page.svelte
index 891fad47..87e8ada0 100644
--- a/src/routes/core/addresses/[address_id]/+page.svelte
+++ b/src/routes/core/addresses/[address_id]/+page.svelte
@@ -62,9 +62,9 @@ async function handle_delete() {
}
-
+
+ class="bg-surface-50-900-token border-surface-500/10 flex flex-wrap items-center justify-between gap-4 rounded-xl border p-4 shadow-lg">
-
+
@@ -82,7 +82,7 @@ async function handle_delete() {
: 'Loading...'}
+ class="text-xs font-bold tracking-widest uppercase opacity-50">
Address Detail
@@ -109,8 +109,8 @@ async function handle_delete() {
{#if loading}
-
-
+
{:else if address}
@@ -125,19 +125,19 @@ async function handle_delete() {
onCancel={() => (is_editing = false)} />
{:else}
-
-
+
+
+ class="card preset-tonal-surface border-surface-500/10 space-y-6 border p-6 shadow-xl">
+ class="h4 border-surface-500/30 flex items-center gap-2 border-b pb-2 font-bold">
Location Information
-
+
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
Attention To
@@ -146,7 +146,7 @@ async function handle_delete() {
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
Organization
@@ -154,29 +154,29 @@ async function handle_delete() {
+ class="border-surface-500/10 space-y-1 rounded-xl border bg-black/5 p-4 md:col-span-2">
+ class="text-[10px] font-black tracking-widest uppercase opacity-60">
Street Address
-
+
+ class="text-lg leading-tight font-black tracking-tight">
{address.line_1}
{#if address.line_2}
+ class="text-lg leading-tight font-black tracking-tight opacity-75">
{address.line_2}
{/if}
{#if address.line_3}
+ class="text-lg leading-tight font-black tracking-tight opacity-50">
{address.line_3}
{/if}
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
City, State/Province
@@ -186,7 +186,7 @@ async function handle_delete() {
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
Postal Code / Country
@@ -201,16 +201,16 @@ async function handle_delete() {
+ class="card preset-tonal-surface border-surface-500/10 space-y-6 border p-6 shadow-xl">
+ class="h4 border-surface-500/30 flex items-center gap-2 border-b pb-2 font-bold">
Technical Details
-
+
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
Timezone
@@ -219,7 +219,7 @@ async function handle_delete() {
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
Coordinates
@@ -227,13 +227,13 @@ async function handle_delete() {
'--'}
-
+
+ class="flex items-center gap-1 text-[10px] font-black tracking-widest uppercase opacity-60">
Internal Notes
+ class="border-surface-500/20 min-h-[80px] rounded-xl border border-dashed bg-black/5 p-4 italic opacity-80">
{address.notes ||
'No internal notes provided for this address.'}
@@ -244,15 +244,15 @@ async function handle_delete() {
+ class="card preset-tonal-surface border-surface-500/10 space-y-6 border p-6 shadow-xl">
+ class="h4 border-surface-500/30 flex items-center gap-2 border-b pb-2 font-bold">
Visibility & Status
+ class="flex items-center justify-between rounded-lg bg-black/5 p-3">
Enabled
+ class="flex items-center justify-between rounded-lg bg-black/5 p-3">
Hidden
+ class="flex items-center justify-between rounded-lg bg-black/5 p-3">
Priority
+ class="card preset-tonal-surface border-surface-500/10 space-y-3 border p-5 shadow-inner">
+ class="border-surface-500/20 border-b pb-1 text-[10px] font-black tracking-widest uppercase opacity-40">
System Audit
-
+
ID:
+ class="card preset-tonal-surface space-y-6 p-6 shadow-xl">
+ class="border-surface-500/30 flex items-center justify-between border-b pb-4">
{address ? 'Edit Address' : 'Create New Address'}
@@ -136,7 +136,7 @@ async function handleSubmit(event: Event) {
class="btn btn-sm preset-filled-primary font-bold shadow-lg"
disabled={is_loading}>
{#if is_loading}
- ⏳
+ ⏳
{:else}
{/if}
@@ -153,11 +153,11 @@ async function handleSubmit(event: Event) {
{/if}
- | | | |