mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-24 16:38:17 +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 }, [
|
||||
E('div', { 'id': 'content_dmnlog_' + log_num }, [
|
||||
E('div', {'style': 'padding-bottom: 20px'}, [ scrollDownButton ]),
|
||||
E('div', {'style': 'margin-bottom: 20px; '}, [ scrollDownButton ]),
|
||||
E('textarea', {
|
||||
'id': log_id,
|
||||
'name': log_name,
|
||||
'style': 'font-size:12px',
|
||||
'style': 'font-size:12px; width: 100%; max-height: 50vh;',
|
||||
'readonly': 'readonly',
|
||||
'wrap': 'off',
|
||||
'rows': logdata[log_num].rows,
|
||||
}, [ log_text ]),
|
||||
E('div', {'style': 'padding-bottom: 20px'}, [ scrollUpButton ]),
|
||||
E('div', {'style': 'margin-top: 20px'}, [ scrollUpButton ]),
|
||||
]),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user