-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbitpool_pool_settings.html
More file actions
54 lines (49 loc) · 1.56 KB
/
bitpool_pool_settings.html
File metadata and controls
54 lines (49 loc) · 1.56 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
<!--
MIT License Copyright 2021-2024 - Bitpool Pty Ltd
-->
<script type="text/javascript">
RED.nodes.registerType("Bitpool-Pool-Settings", {
category: "config",
defaults: {
name: { value: "" },
pool_name: { value: "" },
public: { value: false },
virtual: { value: false },
},
label: function () {
return this.name || "Bitpool-Pool-Settings";
},
});
</script>
<script type="text/html" data-template-name="Bitpool-Pool-Settings">
<div class="form-row">
<label for="node-config-input-name"
><i class="icon-tag"></i
><span data-i18n="bitpool-uploader.label.name"></span> Name</label
>
<input type="text" id="node-config-input-name" placeholder="Config Name" />
</div>
<div class="form-row">
<label for="node-config-input-pool_name"
><i class="icon-tag"></i>
<span data-i18n="bitpool-uploader.label.pool_name"></span>Pool Name</label
>
<input
type="text"
id="node-config-input-pool_name"
placeholder="Pool Name"
/>
</div>
<div class="form-row">
<label class="switch" for="node-config-input-public"
><span data-i18n="bitpool-uploader.label.public"></span> Public Pool
<input type="checkbox" id="node-config-input-public" />
<span class="slider round"></span>
</label>
<label class="switch" for="node-config-input-virtual"
><span data-i18n="bitpool-uploader.label.virtual"></span> Virtual Pool
<input type="checkbox" id="node-config-input-virtual" />
<span class="slider round"></span>
</label>
</div>
</script>