mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Fix issue where connType has stray colon. Add checkForUpdate references.
This commit is contained in:
parent
234f9d9eb5
commit
ad6e604f17
9 changed files with 15 additions and 12 deletions
|
|
@ -1 +1 @@
|
|||
2.3.2
|
||||
2.3.3
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="main.css?v=2.3.2c" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=2.3.2c" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=2.3.2c" type="text/css" />
|
||||
<link rel="stylesheet" href="main.css?v=2.3.3" type="text/css" />
|
||||
<link rel="stylesheet" href="widgets.css?v=2.3.3" type="text/css" />
|
||||
<link rel="stylesheet" href="icons.css?v=2.3.3" type="text/css" />
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
<script type="text/javascript" src="index.js?v=2.3.2c"></script>
|
||||
<script type="text/javascript" src="index.js?v=2.3.3"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="divContainer" class="container main" data-auth="false">
|
||||
|
|
|
|||
|
|
@ -1264,7 +1264,7 @@ var security = new Security();
|
|||
|
||||
class General {
|
||||
initialized = false;
|
||||
appVersion = 'v2.3.2';
|
||||
appVersion = 'v2.3.3';
|
||||
reloadApp = false;
|
||||
init() {
|
||||
if (this.initialized) return;
|
||||
|
|
@ -4224,9 +4224,9 @@ class Firmware {
|
|||
procFwStatus(rel) {
|
||||
console.log(rel);
|
||||
let div = document.getElementById('divFirmwareUpdate');
|
||||
if (rel.updateAvailable && rel.status === 0) {
|
||||
div.style.color = 'red';
|
||||
div.innerHTML = `Firmware ${rel.latest.name} Available`;
|
||||
if (rel.available && rel.status === 0 && rel.checkForUpdate !== false) {
|
||||
div.style.color = 'black';
|
||||
div.innerHTML = `<span>Firmware ${rel.fwVersion.name} Installed<span><span style="color:red"> ${rel.latest.name} Available</span>`;
|
||||
}
|
||||
else {
|
||||
switch (rel.status) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue