File: app.html

package info (click to toggle)
gmerlin 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,108 kB
  • sloc: ansic: 133,761; javascript: 6,967; makefile: 1,400; sh: 702; sed: 16
file content (237 lines) | stat: -rw-r--r-- 7,787 bytes parent folder | download
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
<!DOCTYPE html>
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  -->
<html>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="/static/icons/server_16.png" type="image/png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">

<script src="/static/js/vars.js" type="text/javascript"></script>
<script src="/static/js/utils.js" type="text/javascript"></script>
<script src="/static/js/widgets.js" type="text/javascript"></script>
<script src="/static/js/app.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/static/css/icons.css">
<link rel="stylesheet" type="text/css" href="/static/css/app.css">
<!-- <link rel="stylesheet" type="text/css" href="/static/css/skin-darkblue.css"> -->
<link rel="stylesheet" id="skin-css" type="text/css" href="/static/css/skin-darkblue.css">

<link rel="manifest" href="/manifest.json">
<head>
</head>

<!-- position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; -->
<body onload="global_init();">
  <header><table>
    <tr>
      <td id="header_icon"></td>
      <td id="header_text">Header</td>
      <td id="header_buttons" style="text-align: right; padding: 0px;">
	<button type="button" class="icon-play" id="header-play" ></button>
	<button type="button" class="icon-add" id="header-add" ></button>
	<button type="button" class="icon-menu" id="nav-button" ></button>
      </td>
    </tr>
    </table>
    <div id="progress-popup">
    <progress id="load-progress" max="100.0"></progress>
    </div>

  </header>

<div id="bg" style="position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; background-size: cover; background-repeat: no-repeat; z-index: -1;"></div>
    
  <div id="main" style="width: 100%">
    <div id="browser"        style="width: 100%; display: none;"></div>
    <div id="settings"       style="width: 100%; display: none;">
       <table class="settings" id="settings-table">
       </table>
    </div>
    <div id="iteminfo" style="width: 100%; display: none;">
       <div id="iteminfo-image" class="track-image"></div>
       <table id="iteminfo-table" class="track-info"></table>
    </div>
    <div id="imageviewer" style="display: none;">

      <img id="imageviewer-img" style="z-index: 1;">

      <button type="button" class="icon-chevron-left iv-control" id="imageviewer-prev"></button>
      <button type="button" class="icon-chevron-right iv-control" id="imageviewer-next"></button>

      <div id="imageviewer-label" class="iv-control"></div>
    
    </div>

    <div id="logviewer" style="width: 100%; display: none;"></div>
    
    <div id="help-screen" style="width: 100%; display: none;">
      <table>
	<tr>
	  <td>F1, ?</td><td>Show this help</td>
	</tr>
	<tr>
	  <td>Esc</td><td>Close this help, goto parent folder</td>
	</tr>
	<tr>
          <td>Enter</td><td>Queue and play track</td>
	</tr>
	<tr>
          <td>Shift + Enter</td><td>Queue and album (replacing queue)</td>
	</tr>
	<tr>
          <td>A</td><td>Queue track</td>
	</tr>
	<tr>
          <td>Shift + A</td><td>Queue album</td>
	</tr>
	<tr>
	  <td>Backspace</td><td>Stop playback</td>
	</tr>
	<tr>
	  <td>Space</td><td>Toggle pause</td>
	</tr>
	<tr>
	  <td>Ctrl + Left</td><td>Go to previous sibling</td>
	</tr>
	<tr>
	  <td>Ctrl + Right</td><td>Go to next sibling</td>
	</tr>
	<tr>
	  <td>+/-</td><td>Increase/Decrease volume</td>
	</tr>
	<tr>
 	  <td>B</td><td>Switch to browser</td>
	</tr>
	<tr>
 	  <td>C</td><td>Goto currently played track</td>
	</tr>
	<tr>
 	  <td>F</td><td>Copy selected track to favorites</td>
	</tr>
 	<tr>
	  <td>H</td><td>Go to root folder</td>
	</tr>
 	<tr>
	  <td>I</td><td>Show media info</td>
	</tr>
 	<tr>
	  <td>L</td><td>Show log messages</td>
	</tr>
	<tr>
	  <td>N</td><td>Navigation menu</td>
	</tr>
	<tr>
	  <td>P</td><td>Switch to player</td>
	</tr>
	<tr>
	  <td>S</td><td>Search</td>
	</tr>
	<tr>
	  <td>V</td><td>Switch visualization</td>
	</tr>
      </table>
    </div>
    
  </div>

  <div id="nav-popup">
    <button id="nav-home"            class="icon-home"></button>
    <button id="nav-up"              class="icon-chevron-up"></button>
    <button id="nav-levelup"         class="icon-levelup"></button><br>

    <button id="nav-left"            class="icon-chevron-left"></button>
    <button id="nav-enter"           class="icon-enter"></button>
    <button id="nav-right"           class="icon-chevron-right"></button><br>

    <button id="nav-prev"            class="icon-arrow-left"></button>
    <button id="nav-down"            class="icon-chevron-down"></button>
    <button id="nav-next"            class="icon-arrow-right"></button><br>

    <button id="nav-player"          class="icon-player"></button>
    <button id="nav-info"            class="icon-info"></button>
    <button id="nav-fav"             class="icon-heart"></button><br>

    <button id="nav-settings"        class="icon-config"></button>
    <button id="nav-search"          class="icon-search"></button>
    <button id="nav-browser"         class="icon-view-list"></button><br>

    <button id="nav-visualization"   class="icon-eye"></button>
    <button id="nav-log"             class="icon-log"></button>
    <button id="nav-help"            class="icon-help"></button>
  </div>

  <audio id="audio-element"></audio>
  
  <div id="search-popup">
    <span class="icon-search">&nbsp;<input type="search" id="search-input">
  </div>
  
  <footer>
    <div id="player-controls">
    <table style="width: 100%;">
      <tr>
       <td id="player-image" class="listicon"></td>
       <td id="player-info"></td>
      </tr>
    </table>

    <table style="width: 100%;">
      <tr>

       <td><input id="player-slider" type="range" style="margin: 0px; width: 100%;" min="0.0" max="1.0" step="0.00001"></input></td>

	
      </tr>
    </table>
    <table style="width: 100%;">
      <tr>
	<td style="width: 1.2em; text-align: center"><button class="icon-arrow-right" id="mode-button"></button></td>
        <td style="text-align: right; width: 100%;" id="player-display">0:00</td>
        <td>
          <button class="icon-prev" id="prev-button"></button>
        </td>
        <td>
          <button class="icon-stop" id="stop-button"></button>
        </td>
        <td>
          <button class="icon-play" id="play-button" ></button>
        </td>
        <td>
          <button class="icon-pause" id="pause-button"></button>
        </td>
        <td>
          <button class="icon-next" id="next-button"></button>
        </td>
      </tr>
    </table>
    <table style="width: 100%;">
      <tr>
        <td style="width: 1.2em;">
	  <button class="icon-volume-mute" id="volume-mute-button"></button>
        </td>
        <td style="width: 1.2em;">
           <button class="icon-volume-min" id="volume-down-button"></button>
        </td>
        <td>
          <input id="volume-slider" type="range" style="margin: 0px; width: 100%;" min="0.0" max="1.0" step="0.00001"></input>
        </td>
        <td style="width: 1.2em;">
          <button class="icon-volume-max" id="volume-up-button"></button>
        </td>
      </tr>
    </table>
    </div>

    <table style="width: 100%;" id="footer-table">
      <tr style="width: 100%;">
	<td id="footer_left"   style="width: 45%;">Footer</td>
	<td id="player-status" style="width: 10%; text-align: center; padding: 0px;" class="icon-x"></td>
	<td id="footer_right"  style="width: 45%; text-align: right; padding: 0px;">
	  <button id="browse-mode-button" class="icon-view-icons"></button>
	  <button id="controls-button" class="icon-player"></button>
	</td>
      </tr>
  </table>
</footer>
</body>

</html>