Compare commits

..

4 Commits

Author SHA1 Message Date
4220131bc4 1.0.49 2020-11-30 00:50:48 +00:00
edee4fa446 fix(core): update 2020-11-30 00:50:47 +00:00
c2a0fd26e2 1.0.48 2020-11-30 00:45:42 +00:00
693c8ca3f0 fix(core): update 2020-11-30 00:45:41 +00:00
4 changed files with 13 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@designestate/dees-wcctools", "name": "@designestate/dees-wcctools",
"version": "1.0.47", "version": "1.0.49",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@designestate/dees-wcctools", "name": "@designestate/dees-wcctools",
"version": "1.0.47", "version": "1.0.49",
"private": false, "private": false,
"description": "wcc tools for creating element catalogues", "description": "wcc tools for creating element catalogues",
"main": "dist_ts_web/index.js", "main": "dist_ts_web/index.js",

View File

@ -138,7 +138,7 @@ export class WccDashboard extends LitElement {
public async firstUpdated() { public async firstUpdated() {
this.domtools = await plugins.deesDomtools.DomTools.setupDomTools(); this.domtools = await plugins.deesDomtools.DomTools.setupDomTools();
this.domtools.router.on('/:itemType/:itemName/:viewport/:theme', async (routeInfo) => { this.domtools.router.on('/wcctools-route/:itemType/:itemName/:viewport/:theme', async (routeInfo) => {
this.selectedType = routeInfo.params.itemType as TElementType; this.selectedType = routeInfo.params.itemType as TElementType;
this.selectedItemName = routeInfo.params.itemName; this.selectedItemName = routeInfo.params.itemName;
this.selectedViewport = routeInfo.params.viewport as TViewport; this.selectedViewport = routeInfo.params.viewport as TViewport;
@ -176,7 +176,7 @@ export class WccDashboard extends LitElement {
public buildUrl() { public buildUrl() {
this.domtools.router.pushUrl( this.domtools.router.pushUrl(
`/${this.selectedType}/${this.selectedItemName}/${this.selectedViewport}/${ `/wcctools-route/${this.selectedType}/${this.selectedItemName}/${this.selectedViewport}/${
this.selectedTheme this.selectedTheme
}` }`
); );

View File

@ -41,9 +41,15 @@ export class WccSidebar extends LitElement {
.heading { .heading {
font-size: 24px; font-size: 24px;
text-align: center; text-align: center;
margin: 20px 5px 5px 5px; margin: 20px 5px 5px 5px;
} }
.heading a {
text-decoration: none;
color: #fff;
}
.subheading { .subheading {
text-align: center; text-align: center;
} }
@ -92,9 +98,10 @@ export class WccSidebar extends LitElement {
</style> </style>
<div class="heading"> <div class="heading">
wcc-tools <a href="https://gitlab.com/designestate/dees-wcctools" target="_blank">wcctools</a>
</div> </div>
<div class="subheading"> <div class="subheading">
by Lossless GmbH
</div> </div>
<div class="menu"> <div class="menu">
<h3>Live Websites</h3> <h3>Live Websites</h3>