-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Design changes and the backend config changes which are added are ver…
…ified (#7) * add .vscode settings * make the embending db generated in the same location * refactor pages * Aktualisieren von ci.yml --------- Co-authored-by: tmeftah <sudtechnics@gmail.com> Co-authored-by: tmeftah <46863341+tmeftah@users.noreply.github.com>
- Loading branch information
1 parent
aad8b24
commit efd7640
Showing
14 changed files
with
236 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"editor.bracketPairColorization.enabled": true, | ||
"editor.guides.bracketPairs": true, | ||
"eslint.validate": ["javascript", "vue", "typescript", "vue"], | ||
|
||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.autopep8", | ||
"editor.formatOnSave": true | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": ["source.fixAll.eslint"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<template> | ||
<q-page> | ||
<div class="q-pa-md"> | ||
<div class="row q-mb-xl"> | ||
<div class="col"> | ||
<span class="text-h4">Documents</span> | ||
<p class="q-mt-sm text-caption text-weight-light"> | ||
All documents related to | ||
</p> | ||
</div> | ||
<div class="col-grow q-gutter-sm"> | ||
<q-btn color="secondary" label="Upload" icon="upload" /> | ||
</div> | ||
</div> | ||
<q-table :rows="rows" :columns="columns" row-key="name" flat bordered> | ||
<template v-slot:top-right> | ||
<q-input | ||
dense | ||
debounce="300" | ||
placeholder="Filter by filename" | ||
outlined | ||
> | ||
<template v-slot:prepend> | ||
<q-icon name="filter_list" class="q-mr-sm" /> | ||
</template> | ||
</q-input> | ||
</template> | ||
<template v-slot:body-cell-status="props"> | ||
<q-td :props="props"> | ||
<div> | ||
<q-badge :color="props.row.status_text" :label="props.value" /> | ||
</div> | ||
<div class="my-table-details"> | ||
{{ props.row.details }} | ||
</div> | ||
</q-td> | ||
</template> | ||
</q-table> | ||
</div> | ||
</q-page> | ||
</template> | ||
|
||
<script setup> | ||
defineOptions({ | ||
name: "IndexPage", | ||
}); | ||
const columns = [ | ||
{ | ||
name: "name", | ||
required: true, | ||
label: "Name", | ||
align: "left", | ||
field: (row) => row.name, | ||
format: (val) => `${val}`, | ||
sortable: true, | ||
}, | ||
{ | ||
name: "date", | ||
align: "center", | ||
label: "Date", | ||
field: "date", | ||
sortable: true, | ||
}, | ||
{ | ||
name: "status", | ||
align: "center", | ||
label: "Status", | ||
field: "status", | ||
sortable: true, | ||
}, | ||
]; | ||
const rows = [ | ||
{ | ||
name: "Document 01", | ||
date: "12/05/2024", | ||
status: "done", | ||
status_text: "green", | ||
}, | ||
{ | ||
name: "Document 02", | ||
date: "01/08/2024", | ||
status: "on progress", | ||
status_text: "purple", | ||
}, | ||
]; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
<template> | ||
<q-page class="flex flex-center"> index page </q-page> | ||
<q-page padding> | ||
<q-card flat bordered> | ||
<q-card-section> | ||
<div class="text-h6">Dashboard</div> | ||
</q-card-section> | ||
|
||
<q-separator /> | ||
<div class="q-pa-md row items-start q-gutter-md"> | ||
<q-card class="q-mb-sm"> | ||
<q-card-section> | ||
<div class="text-h6">Active Users</div> | ||
<div class="text-h2 text-center text-bold">100</div></q-card-section | ||
> | ||
</q-card> | ||
|
||
<q-card> | ||
<q-card-section> | ||
<div class="text-h6">Number of Documents</div> | ||
<div class="text-center text-h2 text-bold">3524</div> | ||
</q-card-section> | ||
</q-card> | ||
</div> | ||
</q-card> | ||
</q-page> | ||
</template> | ||
|
||
<script setup> | ||
defineOptions({ | ||
name: "IndexPage", | ||
name: "1Page", | ||
}); | ||
</script> | ||
|
||
<style scoped> | ||
/* Add any custom styles for the dashboard here */ | ||
</style> |
Oops, something went wrong.