-
Notifications
You must be signed in to change notification settings - Fork 82
/
options.html
98 lines (91 loc) · 4.19 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>彩云小译扩展程序选项</title>
<link href="./css/options.css" rel="stylesheet"/>
<link href="./css/materialize.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
<div class="main">
<div class="logo-name"><img src="images/logo-name.png"></div>
<div id="version">0.3.0</div>
<div class="collection col">
<div class="switch collection-item">
<span id="optionsAutoSWT">启动划词翻译</span>
<label class="secondary-content">
<input type="checkbox" id="select_translate">
<span class="lever"></span>
</label>
</div>
<div class="switch collection-item">
<span id="showDirectly">直接显示划译结果</span>
<label class="secondary-content">
<input type="checkbox" id="directTranslation">
<span class="lever"></span>
</label>
</div>
<div class="switch collection-item">
<span id="optionsAutoWebTrs">英文、日文网页自动翻译成中文</span>
<label class="secondary-content">
<input type="checkbox" id="auto_trs">
<span class="lever"></span>
</label>
</div>
</div>
<div class="collection col">
<div class="switch collection-item">
启用视频翻译
<label class="secondary-content">
<input type="checkbox" id="video_translate">
<span class="lever"></span>
</label>
</div>
<div class="select-item collection-item">
<span id="defaultTrsDirect">视频翻译默认方向</span>
<div class="secondary-content">
<select class="browser-default" id="select_transDirect">
<option id="transZh2En" selected>中 >> 英</option>
<option id="transEn2Zh">英 >> 中</option>
<option id="transJp2Zh">日 >> 中</option>
</select>
</div>
</div>
<div class="collection-item select-item">
<span id="defaultSubtype">视频翻译默认显示</span>
<div class="secondary-content">
<select class="browser-default" id="select_subType">
<option selected id="optionBil">双语对照</option>
<option id="optionSource">只显示原文</option>
<option id="optionTarget">只显示译文</option>
</select>
</div>
</div>
</div>
<div class="collection col">
<a href="https://fanyi.caiyunapp.com/#/?utm_source=extension&utm_medium=options&utm_content=textlink"
class="collection-item" target="_blank" id="textDocTrs">在线文本翻译、文档翻译</a>
<a href="https://fanyi.caiyunapp.com/#/mine/doc?utm_source=extension&utm_medium=options&utm_content=textlink"
class="collection-item" target="_blank" id="UserCenter">个人中心</a>
<a href="https://fanyi.caiyunapp.com/#/app?utm_source=extension&utm_medium=options&utm_content=textlink"
class="collection-item" target="_blank" id="xiaoyiApp">彩云小译App</a>
<a href="https://wj.qq.com/s2/4011556/af91?utm_source=extension&utm_medium=options&utm_content=textlink"
class="collection-item" target="_blank" id="feedback">意见反馈</a>
</div>
</div>
</div>
<div id="update-modal" class="modal">
<div class="modal-content">
<h5>版本更新说明</h5>
<p>1. 划词翻译先显示小译图标点击后翻译,并添加「直接显示划译结果」选项</p>
<p>2. bug修复,体验优化</p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">OK</a>
</div>
</div>
<script src="options.js"></script>
<script src="js/materialize.min.js"></script>
</body>
</html>