-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
52 lines (49 loc) · 2.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Debug plugin for Remix</title>
</head>
<body>
<main class="bg-light">
<section class="card m-3">
<div class="card-header">
<h5 class="card-title">Call Function</h5>
</div>
<div class="card-body">
<input type="text" class="form-control" placeholder="Plugin name" id="call-plugin">
<input type="text" class="form-control" placeholder="Function name" id="call-function">
<input type="text" class="form-control" placeholder="Function args" id="call-args">
<samll class="form-text text-muted">json stringyfied args : '{"name":"bob","age":21,"canDrive":true}'</samll>
<button class="btn btn-primary btn-block" id="call-btn">Call</button>
</div>
</section>
<section class="card m-3">
<div class="card-header">
<h5 class="card-title">Emit Event</h5>
</div>
<div class="card-body">
<input type="text" class="form-control" placeholder="Event name" id="emit-name">
<input type="text" class="form-control" placeholder="Event value (string)" id="emit-value">
<button class="btn btn-primary btn-block" id="emit-btn">Emit</button>
</div>
</section>
<section class="card m-3">
<div class="card-header">
<h5 class="card-title">Register Event</h5>
</div>
<div class="card-body">
<input type="text" class="form-control" placeholder="Plugin name" id="register-plugin">
<input type="text" class="form-control" placeholder="Event name" id="register-event">
<button class="btn btn-primary btn-block" id="register-btn">Register</button>
</div>
</section>
<section class="text-center">
<small class="text-muted">made by <a href="https://github.com/pldespaigne" target="_blank" rel="noopener">@pldespaigne</a></small>
</section>
</main>
<script src="/dist/main.js"></script>
</body>
</html>