minor improvements:

- page titles
- favicon
- background logo
This commit is contained in:
2025-09-01 00:00:25 +02:00
parent c5a1463235
commit 94c70eae16
22 changed files with 78 additions and 11 deletions

View File

@@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" href="/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte</title>
<title>Umbrella</title>
<style id="usercss"></style>
</head>
<body>

BIN
frontend/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -95,6 +95,10 @@
onMount(loadBookmarks);
</script>
<svelte:head>
<title>Umbrella {t('bookmarks')}</title>
</svelte:head>
<svelte:window {onscroll} />
<fieldset>
<legend>{t('Bookmarks')}</legend>

View File

@@ -58,9 +58,12 @@
if (success) caption = t('saved');
btnEnabled = true;
}
</script>
<svelte:head>
<title>Umbrella {t('company')}: {company?.name}</title>
</svelte:head>
<fieldset>
{#if company}
<legend>{t('edit_object',{object:company.name})}</legend>

View File

@@ -63,6 +63,10 @@
onMount(loadCompanies)
</script>
<svelte:head>
<title>Umbrella {t('companies')}</title>
</svelte:head>
<fieldset>
<legend>
{t('companies')}

View File

@@ -76,6 +76,10 @@
onMount(loadCompanies);
</script>
<svelte:head>
<title>Umbrella {t('documents')}</title>
</svelte:head>
<fieldset>
<legend>{selected_company ? t( 'docs_of_company',{company:selected_company.name}) : t('document_list')}</legend>
{#if error}

View File

@@ -129,6 +129,10 @@
onMount(loadDoc);
</script>
<svelte:head>
<title>Umbrella {t('document')} {doc?.number}</title>
</svelte:head>
{#if error}
<span class="error">{error}</span>
{/if}

View File

@@ -76,6 +76,10 @@
loadNotes(loadNotes)
</script>
<svelte:head>
<title>Umbrella {t('notes')}</title>
</svelte:head>
<svelte:window {onscroll} />
{#if error}
<span class="error">{error}</span>

View File

@@ -194,6 +194,10 @@
onMount(load);
</script>
<svelte:head>
<title>Umbrella {project?.name}</title>
</svelte:head>
{#if project}
<h1 onclick={ev => router.navigate(`/project/${project.id}/view`)}>{project.name}</h1>
{/if}

View File

@@ -62,6 +62,10 @@
onMount(loadProjects);
</script>
<svelte:head>
<title>Umbrella {t('Projects')}</title>
</svelte:head>
{#if error}
<span class="error">{error}</span>
{/if}

View File

@@ -142,6 +142,10 @@
onMount(loadProject);
</script>
<svelte:head>
<title>Umbrella {project?.name}</title>
</svelte:head>
{#if error}
<span class="error">{error}</span>
{/if}

View File

@@ -76,9 +76,12 @@
}
$effect(() => doSearch(key))
</script>
<svelte:head>
<title>Umbrella {t('search')}: {key}</title>
</svelte:head>
<fieldset class="search">
<legend>{t('search')}</legend>
{#if error}

View File

@@ -122,6 +122,9 @@
onMount(load);
</script>
<svelte:head>
<title>Umbrella {t('add_object',{object:t('task')})}</title>
</svelte:head>
<fieldset>
<legend>{t('add_object',{object:t('task')})}</legend>

View File

@@ -96,6 +96,10 @@
onMount(load);
</script>
<svelte:head>
<title>Umbrella {t('tasks')}</title>
</svelte:head>
<fieldset>
<legend>{loading ? t('loading_object',{object:t('task_list')}) : t('task_list')}</legend>
{#if error}

View File

@@ -170,6 +170,10 @@
}
</script>
<svelte:head>
<title>Umbrella {t('task')}: {task?.name}</title>
</svelte:head>
{#if error}
<span class="error">{error}</span>
{/if}

View File

@@ -142,6 +142,10 @@
onMount(loadTimes);
</script>
<svelte:head>
<title>Umbrella {t('timetracking')}</title>
</svelte:head>
<h1>{t('timetracking')}</h1>
{#if error}
<span class="error">{error}</span>

View File

@@ -12,6 +12,10 @@
if (redirect && user.name) location.href = redirect;
</script>
<svelte:head>
<title>Umbrella {t('user')}: {user?.name}</title>
</svelte:head>
<h1>{t('user_module')}</h1>
<Profile />