Add the ability to set the shade and group display order #139 and suspend MQTT responses while updating the firmware.

This commit is contained in:
Robert Strouse 2023-09-04 10:33:53 -07:00
parent 92b9b679f9
commit 90b247e7d8
16 changed files with 498 additions and 482 deletions

View file

@ -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.1.4" type="text/css" />
<link rel="stylesheet" href="widgets.css?v=2.1.4" type="text/css" />
<link rel="stylesheet" href="icons.css?v=2.1.4" type="text/css" />
<link rel="stylesheet" href="main.css?v=2.1.5p" type="text/css" />
<link rel="stylesheet" href="widgets.css?v=2.1.5p" type="text/css" />
<link rel="stylesheet" href="icons.css?v=2.1.5p" type="text/css" />
<link rel="icon" type="image/png" href="favicon.png" />
<script type="text/javascript" src="index.js?v=2.1.4"></script>
<script type="text/javascript" src="index.js?v=2.1.5p"></script>
</head>
<body>
<div id="divContainer" class="container main" data-auth="false">
@ -276,6 +276,7 @@
<div id="divSomfySettings" style="display:none;">
<div class="subtab-container"><span class="selected" data-grpid="divSomfyMotors">Shades</span><span data-grpid="divSomfyGroups">Groups</span></div>
<div id="divSomfyMotors" class="subtab-content" style="padding-top:10px;">
<div style="font-size:.8em;">Drag each item to set the order in which they appear in the list.</div>
<div id="divShadeListContainer">
<div id="divShadeList" class="edit-motorlist"></div>
<div class="button-container">
@ -456,10 +457,11 @@
</div>
</div>
<div id="divSomfyGroups" class="subtab-content" style="display:none;padding-top:10px;">
<div style="font-size:.8em;">Drag each item to set the order in which they appear in the list.</div>
<div id="divGroupListContainer">
<div id="divGroupList" class="edit-grouplist"></div>
<div class="button-container">
<button id="btnAddShade" type="button" onclick="somfy.openEditGroup();">
<button id="btnAddGroup" type="button" onclick="somfy.openEditGroup();">
Add Group
</button>
</div>