3b9428eaf1144530d627ad65fecb703d1f5ace89
7 return fs
.exec_direct('/bin/dmesg', [ '-r' ]).catch(function(err
) {
8 ui
.addNotification(null, E('p', {}, _('Unable to load log data: ' + err
.message
)));
13 render: function(logdata
) {
14 var loglines
= logdata
.trim().split(/\n/).map(function(line
) {
15 return line
.replace(/^<\d+>/, '');
19 E('h2', {}, [ _('Kernel Log') ]),
20 E('div', { 'id': 'content_syslog' }, [
23 'style': 'font-size:12px',
24 'readonly': 'readonly',
26 'rows': loglines
.length
+ 1
27 }, [ loglines
.join('\n') ])
32 handleSaveApply
: null,