Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2025-10-05 23:26:22 +02:00
3 changed files with 37 additions and 28 deletions

View File

@@ -154,6 +154,14 @@
loadTasks();
}
function showFiles(e){
window.open(`/files/project/${id}`, '_blank').focus();
}
function showTimes(e){
window.open(`/time?project=${id}`, '_blank').focus();
}
onMount(loadProject);
</script>
@@ -183,9 +191,9 @@
{/if}
<div>{t('context')}</div>
<div>
<button>{t('files')}</button>
<button onclick={showFiles}>{t('files')}</button>
<button>{t('models')}</button>
<button>{t('times')}</button>
<button onclick={showTimes}>{t('times')}</button>
</div>
{#if showSettings}
<div>{t('extended_settings')}</div>