-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (46 loc) · 1.8 KB
/
index.html
File metadata and controls
56 lines (46 loc) · 1.8 KB
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
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="color-scheme" content="dark">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/style.css">
<link rel="icon" href="./img/favicon.png" type="image/x-icon" />
<script src="./libs/web-components.min.js"></script>
<script src="./libs/js-yaml.min.js"></script>
<script src="./js/script.js" defer></script>
<title>StreamElements API</title>
</head>
<body>
<div class="header">
<div class="header-content">
<!-- <img src="logo.png" alt="Logo" class="logo" /> -->
<a href="index.html">
<p class="title">StreamElements API</p>
</a>
<a href="socket.html">
<p class="subtitle">StreamElements socket.io</p>
</a>
<a href="eventreceived.html">
<p class="subtitle">onEventReceived examples</p>
</a>
</div>
</div>
<div id="elements-content" class="elements-content" style="height: 100%;">
<label for="fileInput" class="fileInput" id="customFileInput" aria-label="Upload a .json or .yaml file">
Load JSON / YAML
</label>
<input type="file" id="fileInput" class="fileInput" accept=".json, .yaml" />
<elements-api router="hash" hideSchemas=true></elements-api>
</div>
<!-- Search button and popup -->
<button id="searchTerm" class="searchTerm" placeholder="Search" onclick="showSearchPopup()">🔎Search</button>
<div id="searchPopup" class="searchPopup">
<div class="searchPopupContent">
<button id="searchCloseButton" class="searchCloseButton">x</button>
<input type="text" id="popupSearchTerm" class="popupSearchTerm" placeholder="Search" oninput="performSearch()" />
<div id="popupResults" class="popupResults"></div>
</div>
</div>
</body>
</html>