add color to pause/resume lable
parent
5bc3607e88
commit
168904232f
|
@ -323,6 +323,7 @@ def change_maxbot_status_by_keyword():
|
|||
if is_matched:
|
||||
#print("match to idle:", current_time)
|
||||
maxbot_idle()
|
||||
#print("resume_keyword", config_dict["advanced"]["resume_keyword"])
|
||||
if len(config_dict["advanced"]["resume_keyword"]) > 0:
|
||||
is_matched = util.is_text_match_keyword(config_dict["advanced"]["resume_keyword"], current_time)
|
||||
if is_matched:
|
||||
|
|
|
@ -555,28 +555,28 @@
|
|||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="idle_keyword" class="col-sm-2 col-form-label">系統時間 - 暫停關鍵字</label>
|
||||
<label for="idle_keyword" class="col-sm-2 col-form-label">系統時間 - <span class="text-danger">暫停</span>關鍵字</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="idle_keyword" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="resume_keyword" class="col-sm-2 col-form-label">系統時間 - 接繼關鍵字</label>
|
||||
<label for="resume_keyword" class="col-sm-2 col-form-label">系統時間 - <span class="text-success">接繼</span>關鍵字</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="resume_keyword" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="idle_keyword_second" class="col-sm-2 col-form-label">秒數 - 暫停關鍵字</label>
|
||||
<label for="idle_keyword_second" class="col-sm-2 col-form-label">秒數 - <span class="text-danger">暫停</span>關鍵字</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="idle_keyword_second" rows="3"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="resume_keyword_second" class="col-sm-2 col-form-label">秒數 - 接繼關鍵字</label>
|
||||
<label for="resume_keyword_second" class="col-sm-2 col-form-label">秒數 - <span class="text-success">接繼</span>關鍵字</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" id="resume_keyword_second" rows="3"></textarea>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue