Changeset - 7f30a35f3bf5
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 20 months ago 2023-06-04 00:54:58
drewp@bigasterisk.com
asco cleanup
2 files changed with 8 insertions and 9 deletions:
0 comments (0 inline, 0 general)
light9/ascoltami/Light9AscoltamiUi.ts
Show inline comments
 
@@ -252,12 +252,12 @@ export class Light9AscoltamiUi extends L
 
      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));
light9/ascoltami/index.html
Show inline comments
 
@@ -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>
0 comments (0 inline, 0 general)