-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjson2mysql-server.html
More file actions
executable file
·59 lines (52 loc) · 1.3 KB
/
json2mysql-server.html
File metadata and controls
executable file
·59 lines (52 loc) · 1.3 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
<script type="text/javascript">
RED.nodes.registerType('json2mysql-server',
{
category: "config",
defaults:
{
host: {
required: true,
value: "localhost"
},
database: {
required: true,
value: "",
},
user:
{
required: true,
value: "",
},
password:
{
required: true,
value: "",
}
},
label: function()
{
return this.host;
}
});
</script>
<script type="text/html" data-template-name="json2mysql-server">
<div class="form-row">
<label for="node-config-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-config-input-host" placeholder="localhost">
</div>
<div class="form-row">
<label for="node-config-input-database"><i class="fa fa-database"></i> Database</label>
<input type="text" id="node-config-input-database" placeholder="">
</div>
<div class="form-row">
<label for="node-config-input-user"><i class="fa fa-user"></i> User</label>
<input type="text" id="node-config-input-user" placeholder="">
</div>
<div class="form-row">
<label for="node-config-input-password"><i class="fa fa-unlock-alt"></i> Password</label>
<input type="password" id="node-config-input-password" placeholder="">
</div>
</script>
<script type="text/html" data-help-name="json2mysql-server">
<p>Node for connecting to mysql databases</p>
</script>