Mercurial > code > home > repos > light9
changeset 2361:7f30a35f3bf5
asco cleanup
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Jun 2023 17:54:58 -0700 |
parents | 6c6b29d21959 |
children | 8fc5da221688 |
files | light9/ascoltami/Light9AscoltamiUi.ts light9/ascoltami/index.html |
diffstat | 2 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/ascoltami/Light9AscoltamiUi.ts Sat Jun 03 17:54:27 2023 -0700 +++ b/light9/ascoltami/Light9AscoltamiUi.ts Sat Jun 03 17:54:58 2023 -0700 @@ -252,12 +252,12 @@ const h1 = document.querySelector("h1")!; h1.innerText = h1.innerText.replace("{{host}}", config.host); } catch (e) {} - byId("nav").innerText = navigator.userAgent; + // byId("nav").innerText = navigator.userAgent; var updateFreq = navigator.userAgent.indexOf("Linux") != -1 ? 10 : 2; - if (navigator.userAgent.match(/Windows NT/)) { - // helper laptop - updateFreq = 10; - } + // if (navigator.userAgent.match(/Windows NT/)) { + // // helper laptop + // updateFreq = 10; + // } byId("updateReq").innerText = "" + updateFreq; (window as any).finishOldStyleSetup(this.times, this.onOldStyleUpdate.bind(this));
--- a/light9/ascoltami/index.html Sat Jun 03 17:54:27 2023 -0700 +++ b/light9/ascoltami/index.html Sat Jun 03 17:54:58 2023 -0700 @@ -11,7 +11,7 @@ padding-left: 0.4em; } .dimStalled #currentTime { - font-size: 40px; + font-size: 20px; background: green; color: black; padding: 3px; @@ -27,7 +27,7 @@ } #page { width: 100%; - height: 90vh; /* my phone was losing the bottom :( */ + height: 100vh; /* my phone was losing the bottom :( */ display: flex; flex-direction: column; } @@ -47,8 +47,8 @@ <script type="module" src="../ascoltami/Light9AscoltamiUi"></script> </head> <body> - <h1>ascoltami on {{host}}</h1> <div id="page"> + <h1>ascoltami on {{host}}</h1> <div class="songs" style="display: none"></div> <div class="dimStalled"> @@ -79,7 +79,6 @@ <hr /> <light9-ascoltami-ui></light9-ascoltami-ui> - <p>Running on <span id="nav"></span></p> <p><a href="">reload</a></p> </div> <script type="module" src="../ascoltami/main.ts"></script>