-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (76 loc) · 3.23 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Get Your Lyrics</title>
<meta name="theme-color" content="#0f1126" />
<link rel="stylesheet" href="style.css">
<script src="kaiads.v5.min.js"></script>
<script src="kui.js" defer></script>
<script src="scripts/lyrics.js" defer></script>
<script src="scripts/search.js" defer></script>
<script src="/scripts/script.js" defer></script>
<script src="/scripts/events.js" defer></script>
</head>
<body tabindex="1">
<div id="app">
<div class="kui-toast">
<p class="kui-pri"></p>
</div>
<div class="content hidden" id="byArtistAndTitle">
<div class="input-container">
<label class="input-container__label" data-translate="artist">Artist</label>
<input type="text" tabindex="1" class="input-container__input focusable" id="artist" />
</div>
<div class="input-container">
<label class="input-container__label" data-translate="title">Title</label>
<input type="text" tabindex="0" class="input-container__input focusable" id="title" />
</div>
<div class="button-container">
<button id="fetchLyrics" tabindex="0" class="button-container__button focusable"
onclick="lyrics(app.byArtistAndTitle.artist.value, app.byArtistAndTitle.title.value);"
data-translate="get_lyrics">
Get Lyrics
</button>
</div>
<div id="lyricsPageAd"></div>
<div class="list-item focusable" tabindex="0">
<p style="white-space: normal;" class="list-item__text" id="lyricsText" data-index></p>
</div>
</div>
<div class="content " id="search">
<div class="input-container">
<input type="text" tabindex="1" class="input-container__input focusable" id="searchInput"
placeholder="Search" />
</div>
<div id="searchResult">
<h2 style='text-align: center; color: white;'>Search artist or title</h2>
</div>
</div>
<div class="content hidden" id="offline">
<div class="list-item" tabindex="0">
<p class="list-item__text" style="text-overflow: unset; white-space: wrap;">You aren't connected to
internet</p>
</div>
<div class="button-container">
<button tabindex="1" class="button-container__button focusable" onclick="let request = new MozActivity({
name: 'configure',
data: {
target: 'device',
section: 'wifi'
},
});">
Open Settings
</button>
</div>
</div>
<div class="content hidden" id="debug"></div>
<div class="softkeys">
<div class="softkey softkey-left"></div>
<div class="softkey softkey-center"></div>
<div class="softkey softkey-right"></div>
</div>
</div>
</body>
</html>