Mercurial > code > home > repos > reposync
view view/index.ts @ 24:03803832a087 default tip
add view definition for streamed-graph viewer
author | drewp@bigasterisk.com |
---|---|
date | Tue, 29 Mar 2022 21:17:56 -0700 |
parents | b9fe6d26b3fa |
children |
line wrap: on
line source
import { LitElement, html, css } from "lit"; import { customElement, property } from "lit/decorators.js"; export { StreamedGraph } from "@bigasterisk/streamed-graph"; @customElement("reposync-page") export class ReposyncPage extends LitElement { static styles = [ css` :host { display: block; } th { text-align: left; white-space: nowrap; } td.github { white-space: nowrap; opacity: 0.5; } td.github.on { opacity: 1; } span.check { font-size: 200%; } `, ]; render() { return html` <h1>repo statuses</h1> <streamed-graph url="/collector/graph/reposync" view="repos.n3" expanded="true"></streamed-graph> `; } }