Mercurial > code > home > repos > reposync
changeset 6:a0d9679c4f4a
loginbar element moves out
author | drewp@bigasterisk.com |
---|---|
date | Fri, 24 Jul 2020 15:22:06 -0700 |
parents | 7cbabd0e9226 |
children | 7f479502a8ab |
files | index.html |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Fri Jul 24 14:59:48 2020 -0700 +++ b/index.html Fri Jul 24 15:22:06 2020 -0700 @@ -29,17 +29,7 @@ <body> <h1>repo statuses</h1> - <script type="module"> - import Litedom from "https://bigasterisk.com/lib/litedom/0.12.1/litedom.es.js"; - Litedom({ - tagName: "bigast-loginbar", - template: `<span>{this.responseHtml}</span>`, - data: { responseHtml: "..." }, - async created() { - const resp = await fetch("/_loginBar"); - this.data.responseHtml = await resp.text(); - }, - }); + <script type="module" src="/loginBar.js"> </script> <script type="module">