56 lines
1.2 KiB
TypeScript
56 lines
1.2 KiB
TypeScript
import {
|
|
DeesElement,
|
|
property,
|
|
html,
|
|
customElement,
|
|
TemplateResult,
|
|
} from '@designestate/dees-element';
|
|
import * as domtools from '@designestate/dees-domtools';
|
|
|
|
import './internal/uplinternal-miniheading';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'upl-statuspage-assetsselector': UplStatuspageAssetsselector;
|
|
}
|
|
}
|
|
|
|
@customElement('upl-statuspage-assetsselector')
|
|
export class UplStatuspageAssetsselector extends DeesElement {
|
|
public static demo = () => html`
|
|
<upl-statuspage-assetsselector></upl-statuspage-assetsselector>
|
|
`;
|
|
|
|
constructor() {
|
|
super();
|
|
}
|
|
|
|
public render(): TemplateResult {
|
|
return html`
|
|
${domtools.elementBasic.styles}
|
|
<style>
|
|
:host {
|
|
padding: 0px 0px 15px 0px;
|
|
display: block;
|
|
background: #222222;
|
|
font-family: Roboto Mono;
|
|
color: #fff;
|
|
}
|
|
|
|
.mainbox {
|
|
margin: auto;
|
|
max-width: 900px;
|
|
text-align: center;
|
|
height: 50px;
|
|
border-radius: 3px;
|
|
background: #404040;
|
|
}
|
|
</style>
|
|
<uplinternal-miniheading>Monitored Assets</uplinternal-miniheading>
|
|
<div class="mainbox">
|
|
Hello!
|
|
</div>
|
|
`;
|
|
}
|
|
}
|