-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (55 loc) · 1.93 KB
/
index.html
File metadata and controls
59 lines (55 loc) · 1.93 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
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<title>DRRR BOTEXT SETTING</title>
<meta charset="utf-8">
<script src="./index.js" charset="utf-8"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top bg-bright navbar-bright">
<div class="container-fluid">
<div class="navbar-header">
<a target="_blank" rel="noopener noreferrer" class="navbar-brand" href="https://github.com/nobodyzxc/drrr-botext">DRRR ChatBot Extension</a>
</div>
</div>
</nav>
<div class="container" style="margin-top:50px">
<h3>DrrrLambdaScript
<small>
<span class="btn-group" role="group">
<button id='execute' type="button" class="btn btn-info btn-sm">
Execute
</button>
<!--
<button type="button" id="reset-${keys[idx]}"
class="btn btn-success btn-sm reset-button"
data="${keys[idx]}"
style="display:none;">
RESET
</button>
<button type="button" id="save-${keys[idx]}"
class="btn btn-danger btn-sm save-button"
data="${keys[idx]}"
style="display:none;">
SAVE!
</button>
-->
</span>
</small>
</h3>
<div id="nav_pills"></div>
<div id="tab_conts"></div>
<form>
<div class="form-group">
<textarea class="setting-input rounded-0" rows="12" style="width:100%;"
id="script" data=""></textarea>
</div>
</form>
<script>
document.getElementById("execute").addEventListener("click", function(){
PS.Main.execute(document.getElementById('script').value)();
});
</script>
</div>
</body>
</html>