working on file module
This commit is contained in:
5
files/build.gradle.kts
Normal file
5
files/build.gradle.kts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
description = "Umbrella : Files"
|
||||||
|
|
||||||
|
dependencies{
|
||||||
|
implementation(project(":core"))
|
||||||
|
}
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
import DocList from "./routes/document/List.svelte";
|
import DocList from "./routes/document/List.svelte";
|
||||||
import EditService from "./routes/user/EditService.svelte";
|
import EditService from "./routes/user/EditService.svelte";
|
||||||
import EditUser from "./routes/user/EditUser.svelte";
|
import EditUser from "./routes/user/EditUser.svelte";
|
||||||
|
import FileIndex from "./routes/files/Index.svelte";
|
||||||
import Footer from "./Components/Footer.svelte";
|
import Footer from "./Components/Footer.svelte";
|
||||||
import Kanban from "./routes/project/Kanban.svelte";
|
import Kanban from "./routes/project/Kanban.svelte";
|
||||||
import Login from "./Components/Login.svelte";
|
import Login from "./Components/Login.svelte";
|
||||||
@@ -77,6 +78,7 @@
|
|||||||
<Route path="/document/add" component={AddDoc} />
|
<Route path="/document/add" component={AddDoc} />
|
||||||
<Route path="/document/:id/send" component={SendDoc} />
|
<Route path="/document/:id/send" component={SendDoc} />
|
||||||
<Route path="/document/:id/view" component={ViewDoc} />
|
<Route path="/document/:id/view" component={ViewDoc} />
|
||||||
|
<Route path="/files" component={FileIndex} />
|
||||||
<Route path="/message/settings" component={Messages} />
|
<Route path="/message/settings" component={Messages} />
|
||||||
<Route path="/notes" component={Notes} />
|
<Route path="/notes" component={Notes} />
|
||||||
<Route path="/project" component={ProjectList} />
|
<Route path="/project" component={ProjectList} />
|
||||||
|
|||||||
@@ -52,15 +52,16 @@ onMount(fetchModules);
|
|||||||
<input type="text" bind:value={key} />
|
<input type="text" bind:value={key} />
|
||||||
<button type="submit">{t('search')}</button>
|
<button type="submit">{t('search')}</button>
|
||||||
</form>
|
</form>
|
||||||
<a href="/user" {onclick}>{t('users')}</a>
|
<a href="/user" {onclick}>{t('users')}</a>
|
||||||
<a href="/company" {onclick}>{t('companies')}</a>
|
<a href="/company" {onclick}>{t('companies')}</a>
|
||||||
<a href="/project" {onclick}>{t('projects')}</a>
|
<a href="/project" {onclick}>{t('projects')}</a>
|
||||||
<a href="/task" {onclick}>{t('tasks')}</a>
|
<a href="/task" {onclick}>{t('tasks')}</a>
|
||||||
<a href="/document" {onclick}>{t('documents')}</a>
|
<a href="/document" {onclick}>{t('documents')}</a>
|
||||||
<a href="/bookmark" {onclick}>{t('bookmarks')}</a>
|
<a href="/bookmark" {onclick}>{t('bookmarks')}</a>
|
||||||
<a href="/notes" {onclick}>{t('notes')}</a>
|
<a href="/notes" {onclick}>{t('notes')}</a>
|
||||||
<a href="/time" {onclick}>{t('timetracking')}</a>
|
<a href="/files" {onclick}>{t('files')}</a>
|
||||||
<a href="/wiki" {onclick}>{t('wiki')}</a>
|
<a href="/time" {onclick}>{t('timetracking')}</a>
|
||||||
|
<a href="/wiki" {onclick}>{t('wiki')}</a>
|
||||||
<a href="https://svelte.dev/tutorial/svelte/state" target="_blank">{t('tutorial')}</a>
|
<a href="https://svelte.dev/tutorial/svelte/state" target="_blank">{t('tutorial')}</a>
|
||||||
{#each modules as module,i}
|
{#each modules as module,i}
|
||||||
{#if module.name.trim()}<a href={module.url}>{module.name}</a>{/if}
|
{#if module.name.trim()}<a href={module.url}>{module.name}</a>{/if}
|
||||||
|
|||||||
5
frontend/src/routes/files/Index.svelte
Normal file
5
frontend/src/routes/files/Index.svelte
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
import { t } from '../../translations.svelte';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<h1>{t('files')}</h1>
|
||||||
Reference in New Issue
Block a user