Mercurial > code > home > repos > reposync
diff index.html @ 6:a0d9679c4f4a
loginbar element moves out
author | drewp@bigasterisk.com |
---|---|
date | Fri, 24 Jul 2020 15:22:06 -0700 |
parents | f714a6a7842c |
children | 6f38aa08408d |
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">