-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (60 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<!-- UIkit CSS -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/uikit.min.css"
/>
<!-- UIkit JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/uikit-icons.min.js"></script>
</head>
<body>
<div class="uk-container">
<h1>Yujin</h1>
<h2>Request</h2>
<form id="request">
<p>
<label for="url">Server URL</label><br />
<input
class="uk-input"
name="url"
id="url"
value="https://demo.liftedinit.tech/api"
required
/>
</p>
<p>
<label for="method">Method</label><br />
<input
class="uk-input"
name="method"
id="method"
value="endpoints"
required
readonly
/>
</p>
<p>
<label for="args">Arguments</label><br />
<textarea
class="uk-textarea"
name="args"
id="args"
placeholder="Leave blank for none."
readonly
></textarea>
</p>
<p>
<button class="uk-button" id="send" type="submit">Send</button>
</p>
</form>
<hr />
<h2>Response</h2>
<pre id="response"></pre>
</div>
<script type="module" src="main.js"></script>
</body>
</html>