mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-31 11:56:02 +03:00
luci: Improved display of logs
PR: https://github.com/remittor/zapret-openwrt/pull/526
This commit is contained in:
@@ -173,16 +173,16 @@ return view.extend({
|
|||||||
|
|
||||||
let tab = E('div', { 'data-tab': tabname, 'data-tab-title': tabNameText }, [
|
let tab = E('div', { 'data-tab': tabname, 'data-tab-title': tabNameText }, [
|
||||||
E('div', { 'id': 'content_dmnlog_' + log_num }, [
|
E('div', { 'id': 'content_dmnlog_' + log_num }, [
|
||||||
E('div', {'style': 'padding-bottom: 20px'}, [ scrollDownButton ]),
|
E('div', {'style': 'margin-bottom: 20px; '}, [ scrollDownButton ]),
|
||||||
E('textarea', {
|
E('textarea', {
|
||||||
'id': log_id,
|
'id': log_id,
|
||||||
'name': log_name,
|
'name': log_name,
|
||||||
'style': 'font-size:12px',
|
'style': 'font-size:12px; width: 100%; max-height: 50vh;',
|
||||||
'readonly': 'readonly',
|
'readonly': 'readonly',
|
||||||
'wrap': 'off',
|
'wrap': 'off',
|
||||||
'rows': logdata[log_num].rows,
|
'rows': logdata[log_num].rows,
|
||||||
}, [ log_text ]),
|
}, [ log_text ]),
|
||||||
E('div', {'style': 'padding-bottom: 20px'}, [ scrollUpButton ]),
|
E('div', {'style': 'margin-top: 20px'}, [ scrollUpButton ]),
|
||||||
]),
|
]),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user