32 lines
860 B
TypeScript
32 lines
860 B
TypeScript
import { DeesElement, TemplateResult, property, customElement, html } from '@designestate/dees-element';
|
|
|
|
@customElement('deap-base')
|
|
export class DeapBase extends DeesElement {
|
|
public static demo = () => html`<deap-base></deap-base>`;
|
|
|
|
// INSTANCE
|
|
public render(): TemplateResult {
|
|
return html`
|
|
<style>
|
|
:host {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
.maingrid {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 80px 240px auto 210px;
|
|
}
|
|
</style>
|
|
<div class="maingrid">
|
|
<deap-mainmenu></deap-mainmenu>
|
|
<deap-mainselector></deap-mainselector>
|
|
<deap-maincontent></deap-maincontent>
|
|
<deap-activitylog></deap-activitylog>
|
|
</div>
|
|
`;
|
|
}
|
|
} |