Lines 584-596
Link Here
|
584 |
n.append(`<input type="hidden" name="interface_counter" value="${i}" />`); |
584 |
n.append(`<input type="hidden" name="interface_counter" value="${i}" />`); |
585 |
let ol = $('<ol class="interface-form"></ol>'); |
585 |
let ol = $('<ol class="interface-form"></ol>'); |
586 |
let attributes = [ |
586 |
let attributes = [ |
587 |
{ label: _("Name"), name: 'name', node: 'input' }, |
587 |
{ label: _("Name:"), name: 'name', node: 'input' }, |
588 |
{ label: _("Type"), name: 'type', node: 'av_select', av_cat: 'VENDOR_INTERFACE_TYPE' }, |
588 |
{ label: _("Type:"), name: 'type', node: 'av_select', av_cat: 'VENDOR_INTERFACE_TYPE' }, |
589 |
{ label: _("URI"), name: 'uri', node: 'input' }, |
589 |
{ label: _("URI:"), name: 'uri', node: 'input' }, |
590 |
{ label: _("Login"), name: 'login', node: 'input' }, |
590 |
{ label: _("Login:"), name: 'login', node: 'input' }, |
591 |
{ label: _("Password"), name: 'password', node: 'input' }, |
591 |
{ label: _("Password:"), name: 'password', node: 'input' }, |
592 |
{ label: _("Account email"), name: 'account_email', node: 'input' }, |
592 |
{ label: _("Account email:"), name: 'account_email', node: 'input' }, |
593 |
{ label: _("Notes"), name: 'notes', node: 'textarea' } |
593 |
{ label: _("Notes:"), name: 'notes', node: 'textarea' } |
594 |
]; |
594 |
]; |
595 |
attributes.forEach((attribute, ii) => { |
595 |
attributes.forEach((attribute, ii) => { |
596 |
let li = $('<li></li>'); |
596 |
let li = $('<li></li>'); |
597 |
- |
|
|