-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbaserow-credentials.html
38 lines (34 loc) · 1.2 KB
/
baserow-credentials.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
<script type="text/html" data-template-name="baserowCredentials">
<div class="form-row">
<label for="node-config-input-name"> <i class="fa fa-tag fa-fw"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-config-input-username"> User</label>
<input type="text" id="node-config-input-username" placeholder="[email protected]">
</div>
<div class="form-row">
<label for="node-config-input-password"> Password</label>
<input type="password" id="node-config-input-password" placeholder="***">
</div>
<div class="form-row">
<label for="node-config-input-url"> API URL</label>
<input type="text" id="node-config-input-url" placeholder="https://api.baserow.io">
</div>
</script>
<script type="text/javascript">
RED.nodes.registerType('baserowCredentials', {
category: 'config',
defaults: {
name: {value: ""},
},
credentials: {
username: {},
password: {},
url: {}
},
label: function () {
return this.name || 'Baserow Credentials';
}
});
</script>