view view/index.ts @ 19:5751ef191454

read from github into local graph
author drewp@bigasterisk.com
date Sun, 09 Jan 2022 16:02:08 -0800
parents 6f38aa08408d
children b9fe6d26b3fa
line wrap: on
line source

import { LitElement, html, css } from "lit";
import { customElement, property } from "lit/decorators.js";
export { StreamedGraph } from "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 yay</h1>
      <streamed-graph url="/collector/graph/reposync" expanded="true"></streamed-graph>
    `;
  }
}