-
Notifications
You must be signed in to change notification settings - Fork 10
/
control.html
239 lines (238 loc) · 16.6 KB
/
control.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
<!doctype html>
<html dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="control.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script type="text/javascript" src="control.js"></script>
<script src="libs/jquery.i18n/libs/CLDRPluralRuleParser-subtree/src/CLDRPluralRuleParser.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.messagestore.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.fallbacks.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.language.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.parser.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.emitter.js"></script>
<script src="libs/jquery.i18n/src/jquery.i18n.emitter.bidi.js"></script>
<script src="libs/i18n/i18n.js"></script>
<title data-i18n="title">OpenLP Lyrics Control</title>
</head>
<body>
<div class="controls-container">
<h1 data-i18n="display-control">Display control:</h1>
<div class="floating">
<div class="control-group custom-width">
<button id="increment-button-1" type="button" data-i18n="display-next">Display next</button>
<input id="increment-spinner-1" type="number" min="1" step="1" value="1" size="2">
<button id="increment-button-2" data-i18n="display-next">Display next</button>
<input id="increment-spinner-2" type="number" min="1" step="1" value="1" size="2">
</div>
</div>
<div class="floating">
<div class="control-group"><button id="remaining-button" type="button" data-i18n="display-remaining">Display remaining</button></div>
</div>
<div class="floating">
<div class="control-group">
<button id="undo-button" type="button" data-i18n="undo-display">Undo display</button>
<button id="redo-button" type="button" data-i18n="redo-display">Redo display</button>
</div>
</div>
<div class="floating">
<div class="control-group">
<button id="hide-button" type="button" data-i18n="hide-display">Hide display</button>
</div>
</div>
<hr>
<h1 data-i18n="slide-control">Slide control:</h1>
<div class="floating">
<div class="control-group">
<button id="previous-button" type="button" data-i18n="previous-slide">Previous slide</button>
<button id="next-button" type="button" data-i18n="next-slide">Next slide</button>
</div>
</div>
<div class="floating">
<h1 data-i18n="current-slide">Current slide:</h1>
<div id="slide-text">
</div>
</div>
<div class="floating">
<h1 data-i18n="settings">Settings</h1>
<div class="floating">
<fieldset class="control-group">
<legend data-i18n="title-layout" data-collapse="title-layout">Title layout</legend>
<div id="title-layout">
<div class="control-group">
<label for="title-layout-h-anchor" data-i18n="horizontal-anchor">Horizontal anchor:</label><br>
<select id="title-layout-h-anchor">
<option value="Left" data-i18n="left">Left</option>
<option value="Right" data-i18n="right">Right</option>
<option value="Center" data-i18n="center">Center</option>
</select>
</div>
<div class="control-group">
<label for="title-layout-h-offset" data-i18n="horizontal-offset">Horizontal offset:</label><br>
<input id="title-layout-h-offset" type="number" min="-1080" max="1080" step="8" value="0" size="6">
</div><br>
<div class="control-group">
<label for="title-layout-v-anchor" data-i18n="vertical-anchor">Vertical anchor:</label><br>
<select id="title-layout-v-anchor">
<option value="Top" data-i18n="top">Top</option>
<option value="Bottom" data-i18n="bottom">Bottom</option>
</select>
</div>
<div class="control-group">
<label for="title-font-size-spinner" data-i18n="font-size">Font size</label><br>
<input id="title-font-size-spinner" type="number" min="0" max="128" step="1" value="36" size="4">
</div>
<span data-i18n="title-visibility">Display title during:</span>
<div class="control-group">
<input id="title-visibility-song" type="checkbox">
<label for="title-visibility-song" data-i18n="title-visibility-song">Song</label>
</div>
<div class="control-group">
<input id="title-visibility-scripture" type="checkbox">
<label for="title-visibility-scripture" data-i18n="title-visibility-scripture">Scripture</label>
</div>
</div>
</fieldset>
<fieldset class="control-group">
<legend data-i18n="lyrics-layout" data-collapse="lyrics-layout">Lyrics layout</legend>
<div id="lyrics-layout">
<div class="control-group">
<label for="lyrics-layout-v-anchor" data-i18n="vertical-anchor">Vertical anchor:</label><br>
<select id="lyrics-layout-v-anchor">
<option value="Top" data-i18n="top">Top</option>
<option value="Bottom" data-i18n="bottom">Bottom</option>
<option value="Center" data-i18n="center">Center</option>
</select>
</div>
<div class="control-group">
<label for="lyrics-layout-v-offset" data-i18n="vertical-offset">Vertical offset:</label><br>
<input id="lyrics-layout-v-offset" type="number" min="-1920" max="1920" step="8" value="0" size="5">
</div>
<div class="control-group">
<label for="lyrics-layout-h-anchor" data-i18n="horizontal-anchor">Horizontal anchor:</label><br>
<select id="lyrics-layout-h-anchor">
<option value="Left" data-i18n="left">Left</option>
<option value="Right" data-i18n="right">Right</option>
<option value="Center" data-i18n="center">Center</option>
</select>
</div>
<div class="control-group">
<label for="lyrics-layout-h-offset" data-i18n="horizontal-offset">Horizontal offset:</label><br>
<input id="lyrics-layout-h-offset" type="number" min="-1080" max="1080" step="8" value="0" size="5">
</div>
<div class="control-group">
<label for="lyrics-font-size-spinner" data-i18n="font-size">Font size</label><br>
<input id="lyrics-font-size-spinner" type="number" min="0" max="128" step="1" value="36" size="4">
</div>
<div class="control-group">
<label for="lyrics-max-width-spinner" data-i18n="max-width">Max width</label><br>
<input id="lyrics-max-width-spinner" type="number" min="96" max="1920" step="8" value="1080" size="5">
</div>
<div class="control-group">
<label for="lyrics-height-spinner" data-i18n="height">Height</label><br>
<input id="lyrics-height-spinner" type="number" min="96" max="1080" step="8" value="800" size="5">
</div>
</div>
</fieldset>
<fieldset class="control-group">
<legend data-i18n="lyrics-settings" data-collapse="lyrics-settings">Lyrics settings</legend>
<div id="lyrics-settings">
<div class="control-group">
<input id="auto-update-checkbox" type="checkbox">
<label for="auto-update-checkbox" data-i18n="auto-update-text">Auto-update text on slide change</label>
</div>
<div class="control-group">
<input id="display-all-checkbox" type="checkbox">
<label for="display-all-checkbox" data-i18n="display-all-text">Display all text</label>
</div>
<div class="control-group">
<input id="auto-hide-checkbox" type="checkbox">
<label for="auto-hide-checkbox" data-i18n="auto-hide-on-blank">Auto-hide when blank screen displayed</label>
</div>
<div class="control-group">
<input id="resize-checkbox" type="checkbox">
<label for="resize-checkbox" data-i18n="auto-resize-text">Resize text that doesn't fit in window</label>
</div>
<div class="control-group">
<input id="auto-split-long-lines-checkbox" type="checkbox" checked>
<label for="auto-split-long-lines-checkbox" data-i18n="auto-split-long-lines">Automatically split long lines</label>
</div>
<div class="control-group" id="split-max-characters">
<label for="split-max-characters-spinner" data-i18n="max-characters-per-line">Maximum characters per line</label><br>
<input id="split-max-characters-spinner" type="number" min="10" max="200" step="5" value="60" size="3">
</div>
<div class="control-group" id="split-min-words">
<label for="split-min-words-spinner" data-i18n="min-words-per-line">Minimum words per line</label><br>
<input id="split-min-words-spinner" type="number" min="1" max="20" step="1" value="3" size="2">
</div>
<div class="control-group">
<label for="crossfade-duration-spinner" data-i18n="crossfade-duration">Crossfade duration</label><br>
<input id="crossfade-duration-spinner" type="number" min="0" max="3000" step="100" value="500" size="5">
</div>
<div class="control-group">
<label for="fade-duration-spinner" data-i18n="fade-duration">Fade in/out duration</label><br>
<input id="fade-duration-spinner" type="number" min="0" max="3000" step="100" value="900" size="5">
</div>
</div>
</fieldset>
<fieldset class="control-group">
<legend data-i18n="control-settings" data-collapse="control-settings">Control settings</legend>
<div id="control-settings">
<div class="control-group">
<label for="control-font-size-spinner" data-i18n="font-size">Font size</label><br>
<input id="control-font-size-spinner" type="number" min="9" max="36" step="1" value="9" size="3">
</div>
<div class="control-group">
<label for="button-height-select" data-i18n="button-size">Button size</label><br>
<select id="button-height-select">
<option value="Normal" data-i18n="normal">Normal</option>
<option value="Large" data-i18n="large">Large</option>
<option value="Larger" data-i18n="larger">Larger</option>
</select>
</div>
</div>
</fieldset>
<fieldset class="control-group">
<legend data-i18n="text-formatting" data-collapse="text-formatting-settings">Text formatting</legend>
<div id="text-formatting-settings">
<div class="control-group">
<input id="text-formatting-all-checkbox" type="checkbox">
<label for="text-formatting-all-checkbox" data-i18n="text-formatting-all">All</label>
</div>
<div class="control-group">
<input id="text-formatting-bold-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-bold-checkbox" data-i18n="text-formatting-bold">Bold</label>
</div>
<div class="control-group">
<input id="text-formatting-italics-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-italics-checkbox" data-i18n="text-formatting-italics">Italics</label>
</div>
<div class="control-group">
<input id="text-formatting-underline-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-underline-checkbox" data-i18n="text-formatting-underline">Underline</label>
</div>
<div class="control-group">
<input id="text-formatting-colors-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-colors-checkbox" data-i18n="text-formatting-colors">Colors</label>
</div>
<div class="control-group">
<input id="text-formatting-superscript-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-superscript-checkbox" data-i18n="text-formatting-superscript">Superscript (small verse numbers)</label>
</div>
<div class="control-group">
<input id="text-formatting-subscript-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-subscript-checkbox" data-i18n="text-formatting-subscript">Subscript</label>
</div>
<div class="control-group">
<input id="text-formatting-paragraph-checkbox" class="text-formatting-checkbox" type="checkbox">
<label for="text-formatting-paragraph-checkbox" data-i18n="text-formatting-paragraph">Paragraphs</label>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</body>
</html>