-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (98 loc) · 4.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>UI Axure Socket</title>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<template id="eventTemplate">
<div class="mb-2 form-row align-items-left">
<div class="col col-sm-2">
<button type="button" class="delete-btn btn btn-secondary" role="button"> × </button>
</div>
<div class="col col-sm-8">
<input type="text" class="triggerName form-control" placeholder="Trigger Name">
</div>
<div class="col col-sm-2">
<button type="button" class="fire-btn btn btn-primary" role="button">Fire</button>
</div>
</div>
</template>
<!-- All of the Node.js APIs are available in this renderer process. -->
<nav class="navbar navbar-dark bg-dark mb-4">
<a class="navbar-brand" href="#">AxSocket</a>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-md-7">
<h6 class="d-flex justify-content-between align-items-center mb-4">
<span class="">Trigger</span>
</h6>
<form class="mb-4">
<div class="form-row">
<div class="col col-md-5">
<input type="text" class="form-control" id="triggerName" placeholder="Trigger Name">
</div>
<button type="button" class="btn btn-primary col-md-3" id="addTrigger">Add Trigger</button>
</div>
</form>
<div id="dkgTriggerList">
<div class="mb-2 form-row align-items-left">
<div class="col col-sm-2">
<button type="button" class="delete-btn btn btn-secondary" role="button"> × </button>
</div>
<div class="col col-sm-8">
<input type="text" class="triggerName form-control" placeholder="Trigger Name">
</div>
<div class="col col-sm-2">
<button type="button" class="fire-btn btn btn-primary" role="button">Fire</button>
</div>
</div>
<div class="mb-2 form-row align-items-left">
<div class="col col-sm-2">
<button type="button" class="delete-btn btn btn-secondary" role="button"> × </button>
</div>
<div class="col col-sm-8">
<input type="text" class="triggerName form-control" placeholder="Trigger Name">
</div>
<div class="col col-sm-2">
<button type="button" class="fire-btn btn btn-primary" role="button">Fire</button>
</div>
</div>
<div class="mb-2 form-row align-items-left">
<div class="col col-sm-2">
<button type="button" class="delete-btn btn btn-secondary" role="button"> × </button>
</div>
<div class="col col-sm-8">
<input type="text" class="triggerName form-control" placeholder="Trigger Name">
</div>
<div class="col col-sm-2">
<button type="button" class="fire-btn btn btn-primary" role="button">Fire</button>
</div>
</div>
</div>
</div>
<div class="col-md-5 d-inline-block">
<h6 class="d-flex justify-content-between align-items-center mb-4">
<span class="text-muted">Events</span>
<span class="badge badge-secondary badge-pill" id="message-counter">0</span>
</h6>
<button type="button" id="clearListBtn" class="btn btn-secondary">Clear</button>
<ul class="list-group" id="dkgEventList">
</ul>
</div>
</div> <!-- row end-->
</div>
<footer class="footer">
<div class="container">
<span class="text-muted" id="footer"></span>
</div>
</footer>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</body>
</html>