diff --git a/call.cgi b/call.cgi index bf8442a..94ec64f 100755 --- a/call.cgi +++ b/call.cgi @@ -93,7 +93,7 @@ # 5 6 dd[0], dd[1], # 7 8 - dd[2], dd[3], dd[4], "OK"]) + dd[2], dd[3], dd[4], ""]) else: candidate.append( # 0 1 2 3 4 @@ -101,7 +101,7 @@ # 5 6 "????", id_, # 7 8 - "--", "--", "--", "OK"]) + "--", "--", "--", ""]) elif action.startswith("reject") and candidate: # exclude double-login action, id_, host = action.split(":") @@ -142,7 +142,7 @@ # 5 6 dd[0], dd[1], # 7 8 - dd[2], dd[3], dd[4], "OK"]) + dd[2], dd[3], dd[4], ""]) else: candidate.append( # 0 1 2 3 4 @@ -150,7 +150,7 @@ # 5 6 "????", id_, # 7 8 - "--", "--", "--", "OK"]) + "--", "--", "--", ""]) lines.extend(candidate) @@ -272,6 +272,7 @@ showLastColumn=False, showRowStripes=True, showColumnStripes=False) tab.tableStyleInfo = style ws.add_table(tab) + ws.column_dimension['H'].hidden = True else: wb.remove(wb[room+"座席表"]) diff --git a/index.html b/index.html index f95038a..8f8bee8 100644 --- a/index.html +++ b/index.html @@ -131,11 +131,11 @@ onclick='clicked()' id='dep' name='sort' value='所属'> -