-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (72 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HTML</title>
<!-- HTML -->
<!-- Custom Styles -->
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="./src/json-viewer/index.js"></script>
<link rel="stylesheet" href="./src/json-viewer/index.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<script src="./src/corsApi/index.js"></script>
<script src="./src/jsbn/jsbn.js"></script>
<script src="./src/jsbn/prng4.js"></script>
<script src="./src/jsbn/rng.js"></script>
<script src="./src/jsbn/rsa.js"></script>
<script src="./src/RSAForHtml/index.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="./src/AlsongReq/index.js"></script>
<style>
form.form-example {
display: table;
}
div.form-example {
display: table-row;
}
label,
input {
display: table-cell;
margin-bottom: 10px;
}
label {
padding-right: 10px;
}
</style>
</head>
<body>
<p>Nothing to see here...</p>
<!-- Project -->
<form action="javascript:formSend();" method="get" class="form-example">
<P>Fill out Values for Lyric Request</P>
<div class="form-example">
<label for="title">song title: </label>
<input type="text" name="title" id="title" required value="Tell your world">
</div>
<div class="form-example">
<label for="artist">song artist: </label>
<input type="text" name="artist" id="artist"value="初音ミク">
</div>
<div class="form-example">
<label for="albumText">includeAlbumText: </label>
<input type="text" name="albumText" id="albumText">
</div>
<div class="form-example">
<input type="submit" value="Enter">
</div>
</form>
<script>
function formSend() {
let t = document.getElementById("title").value;
let a = document.getElementById("artist").value;
let at = document.getElementById("albumText").value;
getResembleLyricList(a, t, at ? { includeAlbumText: at } : undefined);
document.querySelector('.form-example').remove();
}
//getResembleLyricList(artist, title);
</script>
</body>
</html>