From 0ebdbf6bfe2d9b144603e8a982c85896658acb27 Mon Sep 17 00:00:00 2001 From: Waldek Date: Wed, 14 Aug 2019 12:02:31 +0200 Subject: [PATCH] Update web_tables.py Add bgcolor --- web_tables.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web_tables.py b/web_tables.py index 0370f54..e35a8f8 100644 --- a/web_tables.py +++ b/web_tables.py @@ -84,6 +84,7 @@ GREEN2 = '008000' BLUE = '0000ff' ORANGE = 'ff8000' WHITE = 'ffffff' +WHITE2 = 'fffff0' YELLOW = 'fffebd' # For importing HTML templates @@ -428,7 +429,7 @@ def rts_update(p): if action == 'END': CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['TS'] = False CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['COLOR'] = BLACK - CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['BGCOLOR'] = WHITE + CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['BGCOLOR'] = WHITE2 CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['TYPE'] = '' CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['SUB'] = '' CTABLE['MASTERS'][system]['PEERS'][peer][timeSlot]['SRC'] = '' @@ -465,7 +466,7 @@ def rts_update(p): if action == 'END': CTABLE['PEERS'][system][timeSlot]['TS'] = False CTABLE['PEERS'][system][timeSlot]['COLOR'] = BLACK - CTABLE['PEERS'][system][timeSlot]['BGCOLOR'] = WHITE + CTABLE['PEERS'][system][timeSlot]['BGCOLOR'] = WHITE2 CTABLE['PEERS'][system][timeSlot]['TYPE'] = '' CTABLE['PEERS'][system][timeSlot]['SUB'] = '' CTABLE['PEERS'][system][timeSlot]['SRC'] = ''