Compare commits

...

2 Commits

Author SHA1 Message Date
mckunda 15865adf1a refactor: remove initial data and preamble from data div 4 years ago
mckunda 2ef03cd573 chore: update .gitignore 4 years ago
  1. 4
      .gitignore
  2. 4
      templates/app.html

4
.gitignore vendored

@ -1,2 +1,4 @@
__pycache__/
venv/
venv/
.vscode/
.idea/

4
templates/app.html

@ -31,7 +31,7 @@
<body>
<div class="timer_frame">
<p id="timer_data" class="timer_data">До лета осталось 14д 3ч 24м 30с</p>
<p id="timer_data" class="timer_data"></p>
</div>
</body>
<script>
@ -45,7 +45,7 @@
let url = "/time";
let info = await fetchAsync(url);
let elem = document.getElementById("timer_data");
elem.textContent = "До лета осталось " + info;
elem.textContent = info;
setTimeout(updateInfoAsync, 1000)
}

Loading…
Cancel
Save