-
Notifications
You must be signed in to change notification settings - Fork 6
/
options.html
90 lines (81 loc) · 3.46 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Options</title>
<script src="lib/jquery-3.2.1.min.js"></script>
<script src="lib/jquery-ui.min.js"></script>
<link rel="stylesheet" href="css/options.css">
</head>
<body>
<div class="section-title">Charts :</div>
<label class="row">
<span class="label">Ratings to hide from charts</span>
<input type="text" placeholder="ex: 1,2" data-option="ratingsfilter">
</label>
<div class="section-title">Layout :</div>
<label class="row">
<span class="label">Custom external links:</span>
<input type="text" placeholder="ex: allocine,criticker" data-option="layoutExternalLinks">
</label>
<label class="row">
<span class="label">Multiline titles</span>
<input type="checkbox" data-option="layoutMultilineTitles">
</label>
<label class="row">
<span class="label">Synopsis max lines</span>
<input type="number" min="1" size="2" placeholder="10" data-option="layoutSynopsisMaxLines">
</label>
<div class="section-title">Translation :</div>
<div class="i18n">
<label class="row">
<span class="label">Language (ISO 639-1)</span>
<input type="text" size="2" placeholder="ex: fr" data-option="i18nLang">
</label>
<div class="toggle">
<label class="row">
<span class="label">Translate items</span>
<select data-option="i18nMode">
<option value="Hover">On mouse hover</option>
<option value="Load">On page load</option>
</select>
</label>
<div class="row full">
<span class="label">Titles</span>
<div class="titlesZone">
<div class="title" data-type="world"><input type="checkbox">World-wide title</div>
<div class="title" data-type="original"><input type="checkbox">Original title</div>
<div class="title" data-type="localized"><input type="checkbox">Localized title</div>
</div>
</div>
<label class="row">
<span class="label">Localized synopsis</span>
<select data-option="i18nSynopsis">
<option value="Both">Show both</option>
<option value="Replace">Replace original</option>
<option value="Disable">Disable</option>
</select>
</label>
<label class="row">
<span class="label">Localized posters</span>
<select data-option="i18nPosters">
<option value="Replace">Replace original</option>
<option value="HoverOrig">Original on hover</option>
<option value="HoverLoca">Localized on hover</option>
<option value="Disable">Disable</option>
</select>
</label>
<label class="row">
<span class="label"><a href="https://www.themoviedb.org/faq/api">Custom TMDb API Key</a></span>
<input type="text" placeholder="Leave blank for default" data-option="tmdbApiKey">
</label>
</div>
</div>
<div class="section-title">Other :</div>
<label class="row">
<span class="label">Debug</span>
<input type="checkbox" data-option="debug">
</label>
<script src="js/options.js"></script>
</body>
</html>