-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from Vontigo/bug/not-able-to-view-tag-detail
Bug/not able to view tag detail
- Loading branch information
Showing
6 changed files
with
103 additions
and
33 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
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
55 changes: 55 additions & 0 deletions
55
apps/web/src/routes/(admin)/[[language=lang]]/vontigo/[[app]]/base/+page.svelte
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,55 @@ | ||
<script> | ||
import { RevoGrid } from '@revolist/svelte-datagrid'; | ||
import { defineCustomElements } from '@revolist/revogrid/loader'; | ||
import { onMount } from 'svelte'; | ||
import { AppBar } from '@skeletonlabs/skeleton'; | ||
import { page } from '$app/stores'; | ||
import IconPlusSmall from '$lib/icons/IconPlusSmall.svelte'; | ||
const columns = [ | ||
{ | ||
prop: 'name', | ||
name: 'First' | ||
}, | ||
{ | ||
prop: 'details', | ||
name: 'Second' | ||
// cellTemplate: (createElement, props) => { | ||
// return createElement( | ||
// 'div', | ||
// { | ||
// style: { | ||
// backgroundColor: 'gray' | ||
// }, | ||
// class: { | ||
// 'inner-cell': true | ||
// } | ||
// }, | ||
// props.model[props.prop] || '' | ||
// ); | ||
// } | ||
}, | ||
{ | ||
prop: 'id', | ||
name: 'Id' | ||
} | ||
]; | ||
const rows = [ | ||
{ | ||
name: 'New item 1', | ||
details: 'Item description' | ||
}, | ||
{ | ||
name: 'New item 2', | ||
details: 'Item description', | ||
id: 0 | ||
} | ||
]; | ||
onMount(async () => { | ||
// define webcomponent element in DOM | ||
await defineCustomElements(); | ||
}); | ||
</script> | ||
|
||
<RevoGrid source={rows} resize="true" {columns} theme="compact" /> |
1 change: 1 addition & 0 deletions
1
apps/web/src/routes/(admin)/[[language=lang]]/vontigo/[[app]]/services/+page.svelte
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 @@ | ||
Services |
1 change: 1 addition & 0 deletions
1
apps/web/src/routes/(core)/[[language=lang]]/api/admin/tags/[visibility]/[slug]/+server.ts
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
522de9a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs-vontigo – ./apps/docs
docs.vontigo.org
docs-vontigo-git-main-dxcore.vercel.app
docs-vontigo-dxcore.vercel.app
docs-vontigo.vercel.app