-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
214 lines (213 loc) · 7.65 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>CMM</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/script.js"></script>
<script src="js/app.js"></script>
</head>
<body>
<div id="divPesquisa" class="bg-1">
<div class="container">
<h1 class="text-center">CMM</h1>
<p class="text-center">Você pode procurar as letras das suas músicas prediletas aqui!</p>
<div class="row text-center">
<div class="col-sm-2"></div>
<div class="col-sm-8" class="text-center">
<form role="form">
<label class="radio-inline">
<input type="radio" name="optradio" id="radioLetra" checked="checked">Pesquisar letra
</label>
<label class="radio-inline">
<input type="radio" name="optradio" id="radioYoutube">Pesquisar no YouTube
</label>
</form>
</div>
</div>
<div class="col-sm-2" class="text-center"></div>
</div>
<div id="blocoPesquisaLetra">
<div class="row text-center">
<div class="col-sm-2"></div>
<div class="col-sm-4" class="text-center">
<div class="thumbnail" class="text-center">
<p><strong>Artista/banda:</strong></p>
<input type="text" class="form-control" placeholder="Digite o nome do artista que procura" id="digitaArtista">
</div>
</div>
<div class="col-sm-4" class="text-center">
<div class="thumbnail" class="text-center">
<p><strong>Música:</strong></p>
<input type="text" class="form-control" placeholder="Digite o nome da música que procura" id="digitaMusica">
</div>
</div>
<div class="col-sm-2" class="text-center"></div>
</div>
<div class="row text-center">
<div class="col-sm-10 text-center">
<button type="submit" id="btnPesquisar" class="btn btn-danger btn-default pull-right">Pesquisar</button>
</div>
<div class="col-sm-2 text-center"></div>
</div>
</div>
<div id="blocoPesquisaYoutube">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<form action="#">
<p><input type="text" id="search" placeholder="Type something..." autocomplete="off" class="form-control" /></p>
<p><input type="submit" value="Search" class="form-control btn btn-primary w100"></p>
</form>
<div id="results"></div>
</div>
</div>
<!--<form action="#">
<div class="row text-center">
<div class="col-sm-2"></div>
<div class="col-sm-8" class="text-center">
<div class="thumbnail" class="text-center">
<p><strong>Pesquisa no youtube:</strong></p>
<input type="text" class="form-control" placeholder="Digite o que procura no youtube" id="digitaYoutube">
</div>
</div>
<div class="col-sm-2" class="text-center"></div>
</div>
<div class="row text-center">
<div class="col-sm-10 text-center">
<button type="submit" id="btnPesquisarYoutube" class="btn btn-danger btn-default pull-right">Pesquisar</button>
</div>
<div class="col-sm-2 text-center"></div>
</div>
</form>-->
</div>
</div>
</div>
<div id="containerResultado" class="bg-2">
<div id="exibirArtista">
<div class="row text-center">
<h1 class="text-center"><div class="escreveNomeDaBanda"></div></h1>
<div id="imagemArtista"></div>
<div class="col-sm-2"></div>
<div class="col-sm-8 text-center">
<p><strong><h2>Nome da música: </strong><div class="escreveNomeDaMusica"></div></h2></p>
</div>
<div class="col-sm-2"></div>
</div>
<div class="row text-center">
<div class="col-sm-4"></div>
<div class="col-sm-4 text-center">
<button type="button" id="btnLetraMusica" class="btn btn-primary btn-danger btn-block">Letra da música</button>
</div>
<div class="col-sm-4"></div>
</div>
<br>
<div class="row text-center">
<div class="col-sm-4"></div>
<div class="col-sm-2">
<button type="button" id="btnListaDeMusicas" class="btn btn-primary btn-danger btn-block">Todas as músicas</button>
</div>
<div class="col-sm-2">
<button type="button" id="btnAlbuns" class="btn btn-primary btn-danger btn-block">Albuns</button>
</div>
<div class="col-sm-4"></div>
</div>
<br>
<div class="row text-center">
<div class="col-sm-5"></div>
<div class="col-sm-2">
<button type="button" id="btnVoltar" class="btn btn-primary btn-danger btn-block">Voltar</button>
</div>
<div class="col-sm-5"></div>
</div>
<!-- Modal letra -->
<div class="modal fade" id="myModalLetra" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<div class="escreveNomeDaBanda"></div>
<div class="escreveNomeDaMusica"></div>
</div>
<div class="modal-body">
<div class="text-center">
<div id="telaLetraDaMusica"></div>
</div>
<div>
<button type="submit" id="btnTraduzir" class="btn btn-danger btn-block">Tradução (se disponível)</button>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-danger btn-default pull-right" data-dismiss="modal">
<span class="glyphicon glyphicon-remove"></span> Fechar
</button>
</div>
</div>
</div>
</div>
<!-- Modal Album -->
<div class="modal fade" id="ModalAlbum" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<div class="escreveNomeDaBanda"></div>
</div>
<div class="modal-body text-center">
<div class="text-center">
<div id="capaAlbum"></div>
</div>
<h3 id="nomeAlbum"></h3>
<div>
<table class="table table-striped">
<thead><strong>Músicas</strong></thead>
<tbody id="musicasAlbum">
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-danger btn-default pull-right" data-dismiss="modal">
<span class="glyphicon glyphicon-remove"></span> Fechar
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Modal Videos -->
<!-- <div class="modal fade" id="ModalVideos" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body text-center">
<div class="text-center">
<div id="videos"></div>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-danger btn-default pull-right" data-dismiss="modal">
<span class="glyphicon glyphicon-remove"></span> Fechar
</button>
</div>
</div>
</div>
</div> -->
<div class="container" id="exibirTabela">
<table class="table table-striped">
<thead id="headTabela">
</thead>
<tbody id="corpoTabela">
</tbody>
</table>
</div>
<div class="container" id="results"></div>
</div>
<script src="https://apis.google.com/js/client.js?onload=init"></script>
</body>
</html>