From 59deefcd5ad9bbe194be4c3d2ce9d4b7beecdecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 20 Nov 2021 12:20:56 +0100 Subject: [PATCH] Add rudimentary builds page --- src/runboat/webui/builds.html | 48 ++++++++++++++++++++++ src/runboat/webui/runboat-build-element.js | 11 ++--- 2 files changed, 54 insertions(+), 5 deletions(-) create mode 100644 src/runboat/webui/builds.html diff --git a/src/runboat/webui/builds.html b/src/runboat/webui/builds.html new file mode 100644 index 0000000..b78e2e1 --- /dev/null +++ b/src/runboat/webui/builds.html @@ -0,0 +1,48 @@ + + + Runboat builds + + +
+ + + diff --git a/src/runboat/webui/runboat-build-element.js b/src/runboat/webui/runboat-build-element.js index e43135a..9d23a4f 100644 --- a/src/runboat/webui/runboat-build-element.js +++ b/src/runboat/webui/runboat-build-element.js @@ -14,11 +14,8 @@ class RunboatBuildElement extends LitElement { render() { return html` -

Build: ${this.build.name} - ${this.build.status == "started"? - html`=> live`:"" - } -

+
+

Build: ${this.build.name}

Repo: ${this.build.repo} ${this.build.pr? @@ -39,7 +36,11 @@ class RunboatBuildElement extends LitElement {

+ ${this.build.status == "started"? + html`=> live`:"" + }

+
`; }