fix bootstrap 3 record session formatting #6618

This commit is contained in:
Simon Smith 2024-12-21 11:24:12 +00:00 committed by GitHub
parent 988983b880
commit 59fcc0dbc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15228,7 +15228,7 @@
var flags = (currentMesh.flags) ? currentMesh.flags : 0, x = '', expire = 0;
if ((typeof currentMesh.expireDevs == 'number') && (currentMesh.expireDevs > 0)) { expire = currentMesh.expireDevs; if (expire > 2000) { expire = 2000; } }
if ((serverinfo.devGroupSessionRecording == 1) && (currentMesh.mtype != 4)) {
x += '<div><label><input type=checkbox id=d20flag4 onchange=p20editmeshfeaturesValidate() ' + ((flags & 4) ? 'checked' : '') + '>' + "Record sessions" + '</label><br></div>';
x += '<div class="form-check"><label><input type=checkbox id=d20flag4 class="form-check-input me-2" onchange=p20editmeshfeaturesValidate() ' + ((flags & 4) ? 'checked' : '') + '>' + "Record sessions" + '</label><br></div>';
}
if ((currentMesh.mtype == 2) || (currentMesh.mtype == 4)) {
x += '<div class="form-check"><label><input type=checkbox id=d20flag2 class="form-check-input me-2" onchange=p20editmeshfeaturesValidate() ' + ((flags & 2) ? 'checked' : '') + '>' + ((currentMesh.mtype == 4) ? "Sync server device name to port name" : "Sync server device name to hostname") + '</label><br></div>';
@ -20737,4 +20737,4 @@
</script>
</body>
</html>
</html>