main.js fix font size, auth_dmd, Thx Trip
This commit is contained in:
parent
5e87fdc889
commit
f31302bff7
|
@ -318,8 +318,8 @@ function change_freq(d) { // d json_type = change_freq
|
||||||
// color/style for main display
|
// color/style for main display
|
||||||
|
|
||||||
var fontStyle = $('#valFontStyle').val();
|
var fontStyle = $('#valFontStyle').val();
|
||||||
var tgSize = $('#valTagFont').val();
|
var tgSize = parseInt($('#valTagFont').val());
|
||||||
var sysSize = $('#valSystemFont').val();
|
var sysSize = parseInt($('#valSystemFont').val());
|
||||||
var defColor = $('#sysColor').val();
|
var defColor = $('#sysColor').val();
|
||||||
var sysColor = "";
|
var sysColor = "";
|
||||||
var tagColor = "";
|
var tagColor = "";
|
||||||
|
@ -329,9 +329,8 @@ function change_freq(d) { // d json_type = change_freq
|
||||||
|
|
||||||
sysColor = (cbState('color_main_sys') && d['tag_color']) ? clr : defColor;
|
sysColor = (cbState('color_main_sys') && d['tag_color']) ? clr : defColor;
|
||||||
tagColor = (cbState('color_main_tag') && d['tag_color']) ? clr : defColor;
|
tagColor = (cbState('color_main_tag') && d['tag_color']) ? clr : defColor;
|
||||||
|
$('#dSys').css({"color": sysColor, "font-size": sysSize, "font-weight": fontStyle});
|
||||||
$('#dSys').css({"color": sysColor, "font-size": tgSize, "font-weight": fontStyle});
|
$('#dTag').css({"color": tagColor, "font-size": tgSize, "font-weight": fontStyle, "animation": ani, "background-color": bg});
|
||||||
$('#dTag').css({"color": tagColor, "font-size": tgSize, "font-weight": fontStyle, "animation": ani, "background-color": bg});
|
|
||||||
|
|
||||||
} // end change_freq
|
} // end change_freq
|
||||||
|
|
||||||
|
@ -1202,7 +1201,7 @@ function dispatch_commands(txt) {
|
||||||
// 0xD8 = Tait
|
// 0xD8 = Tait
|
||||||
// 0xF8 = Vertex Standard
|
// 0xF8 = Vertex Standard
|
||||||
// trunking.py sends the following opcodes:
|
// trunking.py sends the following opcodes:
|
||||||
// -1, 0x00, 01, 02, 03, 09, 20, 27, 28, 2a, 2b, 2c, 2d, 2f, 33, 34, 3d
|
// -1, 0x00, 01, 02, 03, 09, 20, 27, 28, 2a, 2b, 2c, 2d, 2f, 31, 33, 34, 3d
|
||||||
|
|
||||||
switch (opcode) {
|
switch (opcode) {
|
||||||
|
|
||||||
|
@ -1398,11 +1397,10 @@ function dispatch_commands(txt) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "31": // 0x31 - AUTH_DMD - Authentication Demand
|
case "31": // 0x31 - AUTH_DMD - Authentication Demand
|
||||||
source = d.source.unit_id;
|
source = d.target_id.unit_id;
|
||||||
srctag = d.source.tag;
|
srctag = d.target_id.tag;
|
||||||
target = d.target.unit_id;
|
target = d.target_address.unit_id;
|
||||||
tag = d.target.tag;
|
tag = d.target_address.tag;
|
||||||
noLog = cbState('je_log') ? 0 : 1;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "33": // 0x33 - iden up tdma
|
case "33": // 0x33 - iden up tdma
|
||||||
|
|
Loading…
Reference in New Issue