updated visual

This commit is contained in:
2023-02-04 23:32:31 +01:00
parent f5d37ef232
commit 2e25143e0f
3 changed files with 52 additions and 3 deletions

View File

@ -12,10 +12,23 @@
<div class="titlebar">NCOS Companion</div>
<div class="content">
<h1 class="centered">Latest Version: V<span id="latest">0.0.0</span></h1>
<h4 class="centered">Installed: V<span id="installed">0.0.0</span></h4>
<button class="download" id="download">Update to V<span id="latest">0.0.0</span></button>
<div class="row">
<div class="col-6">
<h4 class="centered">Installed: V<span id="installed">0.0.0</span></h4>
<button class="download" id="download">Update to V<span id="latest">0.0.0</span></button>
</div>
<div class="col-6">
<h4 class="centered">Downloading...</h4>
<div id="myBar"><span id="progress-label">100%</span></div>
</div>
</div>
</div>
</div>
<!-- You can also require other files to run in this process -->
<script src="./renderer.js"></script>
<script>
var str = window.getComputedStyle(document.getElementById("progress"), ':after').getPropertyValue('width');
console.log(str)
</script>
</body>
</html>