-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrewfather-config.html
31 lines (29 loc) · 1 KB
/
brewfather-config.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
<script type="text/javascript">
RED.nodes.registerType("brewfather-config", {
category: "config",
defaults: {
name: { value: "Credentials 1" },
},
credentials: {
userid: { type: "text" },
apikey: { type: "password" },
},
label: function () {
return this.name;
},
});
</script>
<script type="text/html" data-template-name="brewfather-config">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name" />
</div>
<div class="form-row">
<label for="node-config-input-userid"><i class="fa fa-user"></i> User ID</label>
<input type="text" id="node-config-input-userid" />
</div>
<div class="form-row">
<label for="node-config-input-apikey"><i class="fa fa-lock"></i> API-Key</label>
<input type="password" id="node-config-input-apikey" />
</div>
</script>