6 return uci.load('ttyd');
9 var port = uci.get_first('ttyd', 'ttyd', 'port') || '7681';
11 return E('div', { class: 'alert-message warning' },
12 _('Random ttyd port (port=0) is not supported.<br>Change to a fixed port and try again.'));
14 src: window.location.protocol + '//' + window.location.hostname + ':' + port,
15 style: 'width: 100%; min-height: 500px; border: none; border-radius: 3px; resize: vertical;'
18 handleSaveApply: null,