-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMLTest1.html
426 lines (423 loc) · 28.1 KB
/
MLTest1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
<html lang="zh">
<head>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/materialdesignicons.min.css"/>
<link rel="stylesheet" href="assets/css/ECalendar_date_style.css"/>
<link rel="stylesheet" href="assets/css/jquery.minicolors.min.css">
<link rel="stylesheet" href="assets/css/component-chosen.min.css">
<link rel="stylesheet" href="assets/css/notifyMessage.css" />
<link rel="stylesheet" href="assets/css/console.css"/>
</head>
<body>
<div class="header">
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<!-- Brand -->
<a href="https://sampling.alphamj.cn/" target="new" class="navbar-brand">
SAMPLING</a><span id="online-symbol"></span>
<!-- Links -->
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" id="help-doc" href="#"><i class="mdi mdi-library-books" style="font-size: 16px;"></i><span class="lang-helpdoc"></span></a><!--To translate帮助文档-->
</li>
<li class="nav-item">
<select id="country_select" onchange="loadsLanguage(this.value);"></select>
</li>
<!-- Dropdown -->
<!-- <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
Dropdown link
</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Link 1</a>
<a class="dropdown-item" href="#">Link 2</a>
<a class="dropdown-item" href="#">Link 3</a>
</div>
</li> -->
</ul>
</nav>
<!-- Nav pills -->
<nav class="navbar navbar-expand-sm navbar-dark row" id="menu">
<div class="col-md-4" id="left-panel-tab">
<ul class="nav nav-pills" role="tablist">
<li class="nav-item">
<a class="underline nav-link active"><span class="lang-realTimeMonitor"></span></a> <!--To translate抽奖页面实时监控-->
</li>
</ul>
</div>
<div class="col-md-6" style="padding-left: 0px;">
<ul class="nav nav-pills" role="tablist">
<li class="nav-item">
<a class="underline nav-link active" data-toggle="pill" href="#basic-info"><span class="lang-basicInfo"></span></a><!--To translate基本信息-->
</li>
<li class="nav-item">
<a class="underline nav-link" data-toggle="pill" href="#prize-pool"><span class="lang-poolSetting"></span></a><!--To translate奖池设置-->
</li>
<li class="nav-item">
<a class="underline nav-link" data-toggle="pill" href="#style-theme"><span class="lang-modeTheme"></span></a><!--To translate方式主题-->
</li>
<li class="nav-item">
<a class="underline nav-link" data-toggle="pill" href="#danmu-sets"><span class="lang-commentSettings"></span></a><!--To translate弹幕设置-->
</li>
</ul>
</div>
<div class="col-md-2" style="padding-right: 0px;">
<div class="row">
<div class="col-md-6">
<button class="btn btn-info" id="update-setting" onclick="update_setting(this, event)"><span class="lang-updateSettings"></span></button><!--To translate更新设置-->
</div>
<div class="col-md-6">
<button class="btn btn-info" id="finish-activity" onclick="finish_activity(this, event)"><span class="lang-endActivity"></span></button><!--To translate结束活动-->
</div>
</div>
</div>
</nav>
<!-- Nav pills end -->
</div><!--header-->
<div class="row main">
<div class="col-md-4">
<div class="card flexsec" id="left-panel">
<video class="flexfix" controls="controls" preload="auto" id="spy">
<source src="" type="video/mp4">
</video>
<div class="flexfill global-control">
<div class="btn-group flexfix" style="width: 100%; min-height: 3rem;">
<button type="button" class="btn dropdown-toggle" data-toggle="dropdown" id="switch-page">
<span class="caret"></span><span id="page-name"><span class="lang-setBackground"></span></span><!--To translate切换背景-->
</button>
<div class="dropdown-menu">
<a class="dropdown-item page"><span class="lang-signingWall"></span></a><!--To translate签到墙-->
<a class="dropdown-item page"><span class="lang-blank"></span></a><!--To translate空白-->
</div>
<button type="button" class="btn btn-activity-action" disabled="true">
<i id="activity-action" class="mdi mdi-arrow-right-drop-circle-outline"></i>
<span id="activity-label"><span class="lang-displayActivity"></span></span><!--To translate展示活动-->
</button>
<button type="button" class="btn btn-draw-action" disabled="true">
<i id="draw-action" class="mdi mdi-arrow-right-drop-circle-outline"></i>
<span id="draw-label"><span class="lang-startDraw"></span></span><!--To translate开始抽奖-->
</button>
</div>
<div class="cur-item flexfix">
<div class="input-field">
<label ><span class="lang-currentPrize"></span></label><!--To translate当前奖项名称-->
<input type="text"
id="cur-item-input" list="items" autocomplete="true" onkeydown="return false;">
</input>
<datalist id="items"></datalist>
</div>
</div>
<table class="table table-bordered inline-table" cellspacing="0" id="lucky-list-head">
<thead>
<tr>
<th width="45%"><span class="lang-userName"></span></th><!--To translate用户名称-->
<th width="40%"><span class="lang-prizeName"></span></th><!--To translate奖品名称-->
<th width="15%"></th>
</tr>
</thead>
</table>
<div class="lucky-list flexfill">
<table class="table table-bordered inline-table" cellspacing="0">
<tbody id="lucky-list-body">
</tbody>
</table>
</div>
</div><!--/.global-control-->
</div><!--/.card-->
</div>
<div class="col-md-8">
<!-- Tab panes -->
<div class="card tab-content flexsec" id="setting-panel">
<div class="container tab-pane active" id="basic-info">
<div class="row flexfix">
<div class="input-field col-md-6">
<input id="activity-name" type="text" autocomplete="off">
<label for="activity-name" class=""><span class="lang-activityName"></span></label><!--To translate活动名称-->
</div>
<div class="input-field col-md-6" style="margin: 0px;">
<div class="row">
<div class="input-field col-md-8">
<input id="parts" type="text" autocomplete="off" onclick="$('#participants').click();">
<label for="parts" class="parts-label"><span class="lang-userInfo"></span></label><!--To translate用户信息-->
</div>
<div class="col-md-4">
<button class="btn btn-info import-participants" onclick="$('#participants').click();"
style="position: absolute; bottom: 20px; width: calc(100% - 30px);"><span class="lang-uploadDoc"></span></button><!--To translate导入文件-->
</div>
</div>
<input type="file" id='participants' accept=".csv" style="display: none">
</div>
<div class="input-field col-md-6">
<label for="start-time" class="active"><span class="lang-activityStartTime"></span></label><!--To translate活动开始时间-->
<div class="calendarWarp">
<input type="text" class='ECalendar' id="start-time"/>
</div>
</div>
<div class="input-field col-md-6">
<label for="end-time" class="active"><span class="lang-activityFinishTime"></span></label><!--To translate活动结束时间-->
<div class="calendarWarp">
<input type="text" class='ECalendar' id="end-time"/>
</div>
</div>
</div>
<div class="flexfill parts-list scrollbar">
<table class="table table-bordered inline-table" cellspacing="0">
<thead id="parts-list-head"></thead>
<tbody id="parts-list-body"></tbody>
</table>
</div>
</div>
<div class="container tab-pane fade" id="prize-pool">
<div class="row flexfix" style="margin-top: 20px;">
<div class="input-field col-md-12">
<select class="form-control form-control-chosen">
<option class="lang-setUsers" value="1"></option><!--To translate固定奖项抽用户-->
<option class="lang-setPrizes" value="2" disabled="disabled"></option><!--To translate固定用户抽奖项-->
</select>
<label class="active"><span class="lang-drawMode"></span></label> <!--To translate抽奖模式-->
</div>
</div>
<div class="row flexfill">
<div class="col-md-4" style="position: relative">
<div class="row" style="margin-left: 0px; margin-right: 0px;">
<div class="col-md-12 table-header">
<span class="lang-prizeListSetting"></span><!--To translate奖品列表设置-->
</div>
<div class="col-md-12 table-adder">
<button class="btn btn-round btn-add-prize right">
<i class="mdi mdi-plus activator"></i></button>
</div>
</div>
<div class="prize-list scrollbar">
<table class="table table-bordered inline-table" cellspacing="0">
<thead id="prize-list-head">
<tr><th width="80%"><span class="lang-prizeName"></span></th><th width="20%"></th></tr><!--To translate奖品名称-->
</thead>
<tbody id="prize-list-body"></tbody>
</table>
</div>
<div class="hover row" id="cheat-info" style="width: 100%;">
<div class="col-md-12">
<table class="table table-bordered inline-table" cellspacing="0">
<thead class="cheat-info-header">
<tr><th><span class="lang-luckyParticipants"></span></th></tr><!--To translate中奖人选列表-->
</thead>
<tbody id="cheat-winner-info"></tbody>
</table>
</div>
<div class="col-md-12">
<table class="table table-bordered inline-table" cellspacing="0">
<thead class="cheat-info-header">
<tr><th><span class="lang-unluckyParticipants"></span></th></tr><!--To translate排除人员列表-->
</thead>
<tbody id="cheat-loser-info"></tbody>
</table>
</div>
</div>
</div>
<div class="col-md-8">
<div class="row" style="margin-left: 0px; margin-right: 0px;">
<div class="col-md-12 table-header"><!--To translate奖项列表设置-->
<span class="lang-awardsListSettings"></span>
</div>
<div class="col-md-12 table-adder">
<button class="btn btn-round btn-add-item right">
<i class="mdi mdi-plus activator"></i></button>
</div>
</div>
<div class="item-list scrollbar">
<table class="table table-bordered inline-table" cellspacing="0">
<thead id="item-list-head">
<tr>
<th width="35%"><span class="lang-awardName"></span></th><!--To translate奖项名称-->
<th width="35%"><span class="lang-correspondingPrize"></span></th><!--To translate对应奖品-->
<th width="15%"><span class="lang-quantity"></span></th><!--To translate数量-->
<th width="15%"></th>
</tr>
</thead>
<tbody id="item-list-body"></tbody>
</table>
</div>
</div>
</div>
</div>
<div class="container tab-pane fade" id="style-theme">
<div class="row flexfix" style="margin-top: 20px;">
<div class="input-field col-md-6">
<select id="draw-style" class="form-control form-control-chosen">
<option class="lang-cube" value="cube"></option><!--To translate魔方-->
<option class="lang-sparkle" value="flash"></option><!--To translate闪烁-->
<option class="lang-shaker" value="swing"></option><!--To translate晃动-->
<option class="lang-confirm" value="load"></option><!--To translate默认-->
</select>
<label class="active"><span class="lang-drawStyle"></span></label><!--To translate抽奖风格-->
</div>
<div class="input-field col-md-6" style="margin-top: 5px;">
<input class="minicolors" id="show-style" type="text">
<label for="show-style" class="active"><span class="lang-themeColor"></span></label><!--To translate主题颜色-->
</div>
<div class="input-field col-md-6">
<select id="draw-music" class="form-control form-control-chosen">
<option class="lang-goodDay" value="haorizi"></option><!--To translate好日子-->
<option class="lang-goodLuck" value="haoyunlai"></option><!--To translate好运来-->
</select>
<label class="active"><span class="lang-drawMusic"></span></label><!--To translate抽奖音效-->
</div>
<div class="input-field col-md-6">
<div class="row" style="margin-top: -25px;">
<div class="input-field col-md-9">
<input id="bg-img" type="text" autocomplete="off">
<label for="bg-img" class="bg-img-label"><span class="lang-drawBackground"></span></label><!--To translate背景图片-->
</div>
<div class="col-md-3" style="padding-right: 0;">
<button class="btn btn-info " onclick="$('#background-img').click();"
style="position: absolute; bottom: 20px; width: calc(100% - 15px);"><span class="lang-uploadFromPC"></span></button><!--To translate本地上传-->
</div>
</div>
<input type="file" id='background-img' accept="image/png, image/jpeg" style="display: none">
</div>
<div class="input-field col-md-6">
<select id="lucky-music" class="form-control form-control-chosen">
<option value="bingo">Bingo</option>
</select>
<label class="active"><span class="lang-winnerSound"></span></label><!--To translate中奖音效-->
</div>
<div class="input-field col-md-6">
<select id="reward-music" class="form-control form-control-chosen">
<option class="lang-LaZiguiMarch" value="laciji"></option><!--To translate拉次基进行曲-->
</select>
<label class="active"><span class="lang-awardSound"></span></label><!--To translate领奖音效-->
</div>
</div>
</div>
<div class="container tab-pane fade" id="danmu-sets">
<div class="row">
<div class="input-field col-md-6">
<input type="range" id="font-size" min="6" max="72" value="20"
style="background: linear-gradient(to right, #343A40, #ebeff4 30.3%, #ebeff4)"></input>
<p class="range-value"></p>
<label class="active"><span class="lang-fontSize"></span></label><!--To translate字体大小-->
</div>
<div class="input-field col-md-6">
<input type="range" id="opacity" min="0" max="10" value="5"
style="background: linear-gradient(to right, #343A40, #ebeff4 50%, #ebeff4)"></input>
<p class="range-value"></p>
<label class="active"><span class="lang-fontTransparency"></span></label><!--To translate透明程度-->
</div>
</div>
<div class="row" style="margin-top: 15px;">
<div class="input-field col-md-6">
<select id="font-family" class="form-control form-control-chosen">
<option class="lang-heiti" value="SimHei"></option><!--To translate黑体-->
<option class="lang-sunti" value="SimSun"></option><!--To translate宋体-->
<option class="lang-xinsunti" value="NSimSun"></option><!--To translate新宋体-->
<option class="lang-fangsun" value="FangSong"></option><!--To translate仿宋-->
<option class="lang-kaiti" value="KaiTi"></option><!--To translate楷体-->
<option class="lang-fangtiGB2312" value="FangSong_GB2312"></option><!--To translate仿宋_GB2312-->
<option class="lang-kaitiGB2312" value="KaiTi_GB2312"></option> <!--To translate楷体_GB2312-->
<option class="lang-msyaheiti" value="Microsoft YaHei"></option><!--To translate微软雅黑体-->
<option class="lang-arial" value="Arial"></option><!--To translatearial-->
<option class="lang-comicSans" value="Comic Sans"></option><!--To translatecomicSans-->
<option class="lang-courierNew" value="Courier New"></option><!--To translatecourierNew-->
<option class="lang-timesNewRoman" value="Times New Roman"></option><!--To translatetimesNewRoman-->
</select>
<label class="active"><span class="lang-commentFont"></span></label><!--To translate弹幕字体-->
</div>
<div class="input-field col-md-6" style="margin-top: 5px;">
<input class="minicolors" id="font-color" type="text">
<label for="font-color" class="active"><span class="lang-commentColor"></span></label><!--To translate弹幕颜色-->
</div>
</div>
<div class="row" style="margin-top: 15px;">
<div class="input-field col-md-6">
<select id="danmu-speed" class="form-control form-control-chosen">
<option class="lang-slow" value="slow"></option><!--To translate缓慢-->
<option class="lang-normal" value="normal"></option><!--To translate正常-->
<option class="lang-fast" value="fast"></option><!--To translate快速-->
</select>
<label class="active"><span class="lang-commentSpeed"></span></label><!--To translate弹幕速度-->
</div>
<div class="input-field col-md-6">
<select id="danmu-position" class="form-control form-control-chosen">
<option class="lang-screenTop" value="top"></option><!--To translate顶部-->
<option class="lang-screenMiddle" value="middle"></option><!--To translate中间-->
<option class="lang-screenBottom" value="bottom"></option><!--To translate底部-->
</select>
<label class="active"><span class="lang-commentSettings"></span></label><!--To translate弹幕位置-->
</div>
</div>
</div>
</div>
</div>
</div><!--/.main-->
<!-- 模态框 -->
<div class="modal fade" id="cheat-modal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<!-- 模态框头部 -->
<div class="modal-header">
<h4 class="modal-title"><span id="cheat-kind"></span><span class="lang-cheatingInfo"></span></h4><!--To translate作弊信息表-->
<button type="button" class="close" onclick="quit_cheat_cfg()">×</button>
</div>
<!-- 模态框主体 -->
<div class="modal-body row">
<div class="col-md-6">
<div class="row" style="margin-left: 0px; margin-right: 0px;">
<div class="col-md-12 table-header"><!--To translate-->
<span class="lang-luckyParticipants"></span>
</div>
<div class="col-md-12 table-adder">
<button class="btn btn-round right" id="btn-add-winner">
<i class="mdi mdi-plus activator"></i></button>
</div>
</div>
<div class="cheat-scroll scrollbar" ondrop="drop_cheat_item(this, event)" ondragover="allowDrop(event)">
<table class="table table-bordered inline-table" cellspacing="0">
<thead>
<tr><th width="80%"><span class="lang-userID"></span></th><th width="20%"></th></tr><!--To translate用户ID-->
</thead>
<tbody id="cheat-winner"></tbody>
</table>
</div>
</div>
<div class="col-md-6">
<div class="row" style="margin-left: 0px; margin-right: 0px;">
<div class="col-md-12 table-header"><!--To translate-->
<span class="lang-unluckyParticipants"></span>
</div>
<div class="col-md-12 table-adder">
<button class="btn btn-round right" id="btn-add-loser">
<i class="mdi mdi-plus activator"></i></button>
</div>
</div>
<div class="cheat-scroll scrollbar" ondrop="drop_cheat_item(this, event)" ondragover="allowDrop(event)">
<table class="table table-bordered inline-table" cellspacing="0">
<thead>
<tr><th width="80%"><span class="lang-userID"></span></th><th width="20%"></th></tr><!--To translate用户ID-->
</thead>
<tbody id="cheat-loser"></tbody>
</table>
</div>
</div>
</div>
<!-- 模态框底部 -->
<div class="modal-footer">
<div class="alert alert-danger alert-dismissible fade show" id="cheat-statebar">
</div>
<button type="button" class="btn btn-info" onclick="save_cheat_info()"><span class="lang-saveButton"></span></button><!--To translate保存-->
<button type="button" class="btn btn-secondary" onclick="quit_cheat_cfg()"><span class="lang-cancelButton"></span></button><!--To translate取消-->
</div>
</div>
</div>
</div>
</body>
</html>
<script type="text/javascript" src="assets/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="assets/js/popper.min.js"></script>
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="assets/js/Ecalendar.jquery.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.minicolors.min.js"></script>
<script type="text/javascript" src="assets/js/chosen.jquery.js"></script>
<script type="text/javascript" src="assets/js/notifyMessage.js"></script>
<script type="text/javascript" src="assets/js/console.js"></script>
<script type="text/javascript" src="assets/js/lang-translate.js"></script>