Frontend created and rewritten a few times, with some backend fixes #1

Merged
leo merged 110 commits from plaintable into main 2023-11-08 20:38:40 +00:00
5 changed files with 56 additions and 53 deletions
Showing only changes of commit 3672156b5e - Show all commits

View File

@ -28,9 +28,6 @@
})
watchEffect(() => {
console.log('Actual Path')
console.log(Router.currentRoute.value.path)
console.log(Router.currentRoute)
const documentHandler = new DocumentHandler()
const documentUploadHandler = new DocumentUploadHandler()
const wsWatch = createWebSocket(url_document_watch_ws, documentHandler.handleWebSocketMessage)

View File

@ -16,13 +16,13 @@
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'name'">
<div class="editable-cell">
<div v-if="editableData[record.key]" class="editable-cell-input-wrapper">
<a-input v-model:value="editableData[record.key].name" @pressEnter="save(record.key)" />
<CheckOutlined class="editable-cell-icon-check" @click="save(record.key)" />
<div v-if="editableData[record.key]" class="action-container editable-cell-input-wrapper">
<a-input class="name" v-model:value="editableData[record.key].name" @pressEnter="save(record.key)" />
<CheckOutlined class="edit-action editable-cell-icon-check" @click="save(record.key)" />
</div>
<div v-else class="editable-cell-text-wrapper">
<a :href="`#${linkBasePath}/${record.name}`">{{record.name}}</a>
<edit-outlined class="editable-cell-icon" @click="edit(record.key)" />
<div v-else class="action-container editable-cell-text-wrapper">
<a class="name" :href="`#${linkBasePath}/${record.name}`">{{record.name}}</a>
<edit-outlined class="edit-action editable-cell-icon" @click="edit(record.key)" />
</div>
</div>
</template>
@ -162,6 +162,12 @@
.action-container{
display: flex;
}
.name{
max-width: 70%;
}
.edit-action{
min-width: 10%;
}
.carousel-container{
height: inherit;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Vite Vasanko</title>
<script type="module" crossorigin src="/assets/index-a7ca2feb.js"></script>
<link rel="stylesheet" href="/assets/index-50756cbb.css">
<script type="module" crossorigin src="/assets/index-5dc0b94d.js"></script>
<link rel="stylesheet" href="/assets/index-ca079bc6.css">
</head>
<body>
<div id="app"></div>