messing around
This commit is contained in:
27
src/nodes/lower-case-creds/lower-case-creds.html
Normal file
27
src/nodes/lower-case-creds/lower-case-creds.html
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('lower-case-creds',{
|
||||
category: 'config',
|
||||
color: '#a6bbcf',
|
||||
defaults: {
|
||||
},
|
||||
credentials: {
|
||||
username: {type: "text"},
|
||||
password: {type: "password"}
|
||||
},
|
||||
label: function() {
|
||||
return this.name||"Config";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/html" data-template-name="lower-case-creds">
|
||||
<div class="form-row">
|
||||
<label for="node-input-mydb"><i class="fa fa-database"></i>Username</label>
|
||||
<input type="text" id="node-config-input-username">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-input-name"><i class="fa fa-tag"></i>Password</label>
|
||||
<input type="password" id="node-config-input-password" placeholder="Name">
|
||||
</div>
|
||||
</script>
|
||||
Reference in New Issue
Block a user