2024-01-18 17:35:42 +00:00
|
|
|
<!DOCTYPE html>
|
2024-01-19 09:31:09 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2024-01-18 17:35:42 +00:00
|
|
|
<head>
|
|
|
|
<title>Extension Options</title>
|
2024-01-19 09:31:09 +00:00
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<link href="dist/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
2024-01-18 17:35:42 +00:00
|
|
|
<script src="dist/bootstrap/bootstrap.min.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/options.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div id="message"></div>
|
|
|
|
<h2>MaxBot Settings</h2>
|
|
|
|
<div class="row g-3">
|
|
|
|
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
2024-02-06 09:09:46 +00:00
|
|
|
<li class="nav-item" role="presentation">
|
2024-04-30 14:13:45 +00:00
|
|
|
<button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home-tab-pane" type="button" role="tab" aria-controls="home-tab-pane" aria-selected="true">偏好設定</button>
|
2024-02-06 09:09:46 +00:00
|
|
|
</li>
|
|
|
|
<li class="nav-item" role="presentation">
|
2024-04-30 14:13:45 +00:00
|
|
|
<button class="nav-link" id="advanced-tab" data-bs-toggle="tab" data-bs-target="#advanced-tab-pane" type="button" role="tab" aria-controls="advanced-tab-pane" aria-selected="false">進階設定</button>
|
2024-02-06 09:09:46 +00:00
|
|
|
</li>
|
|
|
|
<li class="nav-item" role="presentation">
|
2024-04-30 14:13:45 +00:00
|
|
|
<button class="nav-link" id="verification-tab" data-bs-toggle="tab" data-bs-target="#verification-tab-pane" type="button" role="tab" aria-controls="verification-tab-pane" aria-selected="false">驗證問題</button>
|
2024-02-06 09:09:46 +00:00
|
|
|
</li>
|
2024-01-19 09:31:09 +00:00
|
|
|
</ul>
|
|
|
|
<div class="tab-content" id="myTabContent">
|
2024-02-06 09:09:46 +00:00
|
|
|
<!-- tab 1 -->
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0">
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="ticket_number" class="col-sm-2 col-form-label">張數</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<select id="ticket_number" class="form-select" aria-label="Default select">
|
|
|
|
<option selected="selected">
|
2024-04-30 14:13:45 +00:00
|
|
|
張數
|
2024-01-19 09:31:09 +00:00
|
|
|
</option>
|
|
|
|
<option value="1">
|
|
|
|
1
|
|
|
|
</option>
|
|
|
|
<option value="2">
|
|
|
|
2
|
|
|
|
</option>
|
|
|
|
<option value="3">
|
|
|
|
3
|
|
|
|
</option>
|
|
|
|
<option value="4">
|
|
|
|
4
|
|
|
|
</option>
|
|
|
|
<option value="5">
|
|
|
|
5
|
|
|
|
</option>
|
|
|
|
<option value="6">
|
|
|
|
6
|
|
|
|
</option>
|
|
|
|
<option value="7">
|
|
|
|
7
|
|
|
|
</option>
|
|
|
|
<option value="8">
|
|
|
|
8
|
|
|
|
</option>
|
|
|
|
<option value="9">
|
|
|
|
9
|
|
|
|
</option>
|
|
|
|
<option value="10">
|
|
|
|
10
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="date_select_mode" class="col-sm-2 col-form-label">日期排序方式</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<select id="date_select_mode" class="form-select" aria-label="Default select">
|
|
|
|
<option value="from top to bottom">
|
|
|
|
from top to bottom
|
|
|
|
</option>
|
|
|
|
<option value="from bottom to top">
|
|
|
|
from bottom to top
|
|
|
|
</option>
|
|
|
|
<option value="center">
|
|
|
|
center
|
|
|
|
</option>
|
|
|
|
<option value="random">
|
|
|
|
random
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="date_keyword" class="col-sm-2 col-form-label">日期關鍵字</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" id="date_keyword" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="area_select_mode" class="col-sm-2 col-form-label">區域排序方式</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<select id="area_select_mode" class="form-select" aria-label="Default select">
|
|
|
|
<option value="from top to bottom">
|
|
|
|
from top to bottom
|
|
|
|
</option>
|
|
|
|
<option value="from bottom to top">
|
|
|
|
from bottom to top
|
|
|
|
</option>
|
|
|
|
<option value="center">
|
|
|
|
center
|
|
|
|
</option>
|
|
|
|
<option value="random">
|
|
|
|
random
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="area_keyword" class="col-sm-2 col-form-label">區域關鍵字</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" id="area_keyword" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="keyword_exclude" class="col-sm-2 col-form-label">排除關鍵字</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" id="keyword_exclude" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-18 17:35:42 +00:00
|
|
|
</div>
|
2024-02-06 09:09:46 +00:00
|
|
|
<!-- tab 2 -->
|
|
|
|
<div class="tab-pane fade" id="advanced-tab-pane" role="tabpanel" aria-labelledby="advanced-tab" tabindex="1">
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="auto_reload_page_interval" class="col-sm-2 col-form-label">自動刷新頁面間隔(秒)</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-control" id="auto_reload_page_interval" value="" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-12 08:35:46 +00:00
|
|
|
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label class="col-sm-2 col-form-label form-check-label" for="auto_press_next_step_button">KKTIX點選下一步按鈕</label>
|
2024-04-12 08:35:46 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-check-input" type="checkbox" id="auto_press_next_step_button" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-07 04:09:44 +00:00
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label class="col-sm-2 col-form-label form-check-label" for="kktix_status_api">KKTIX購票狀態API</label>
|
2024-04-10 05:50:23 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-check-input" type="checkbox" id="kktix_status_api" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="max_dwell_time" class="col-sm-2 col-form-label">KKTIX購票最長停留(秒)</label>
|
2024-04-07 04:09:44 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-control" id="max_dwell_time" value="" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label class="col-sm-2 col-form-label form-check-label" for="disable_adjacent_seat">允許不連續座位</label>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-check-input" type="checkbox" id="disable_adjacent_seat" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
|
|
|
<label class="col-sm-2 col-form-label form-check-label" for="ocr_captcha_enable">OCR</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-check-input" type="checkbox" id="ocr_captcha_enable" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
|
|
|
<label for="remote_url" class="col-sm-2 col-form-label">OCR Server URL</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-control" id="remote_url" value="" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
|
|
|
<label class="col-sm-2 col-form-label form-check-label" for="ocr_captcha_use_public_server">MaxBot Public OCR Server</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input class="form-check-input" type="checkbox" id="ocr_captcha_use_public_server" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-18 17:35:42 +00:00
|
|
|
</div>
|
2024-02-06 09:09:46 +00:00
|
|
|
<!-- tab 3 -->
|
|
|
|
<div class="tab-pane fade" id="verification-tab-pane" role="tabpanel" aria-labelledby="verification-tab" tabindex="2">
|
|
|
|
<div class="row mb-3">
|
2024-04-30 14:13:45 +00:00
|
|
|
<label for="user_guess_string" class="col-sm-2 col-form-label">使用者自定字典</label>
|
2024-02-06 09:09:46 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<textarea class="form-control" id="user_guess_string" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-19 04:44:34 +00:00
|
|
|
</div>
|
2024-01-19 09:31:09 +00:00
|
|
|
<div class="col-12">
|
2024-04-30 14:13:45 +00:00
|
|
|
<button class="btn btn-primary" id="save_btn">存檔</button>
|
2024-01-19 04:44:34 +00:00
|
|
|
</div>
|
2024-01-18 17:35:42 +00:00
|
|
|
</div>
|
2024-01-19 09:31:09 +00:00
|
|
|
<script src="options.js"></script>
|
2024-01-18 17:35:42 +00:00
|
|
|
</body>
|
2024-01-19 09:31:09 +00:00
|
|
|
</html>
|