Skip to content

Commit

Permalink
luci-mod-status: Move "Scroll to tail" button to header line on syslo…
Browse files Browse the repository at this point in the history
…g and kernellog status pages

Signed-off-by: CharlesMengCA <CharlesMeng@outlook.com>
  • Loading branch information
CharlesMengCA committed May 1, 2024
1 parent fa2aeb7 commit b553b40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ return view.extend({
});

return E([], [
E('h2', {}, [ _('Kernel Log') ]),
E('div', { 'style': 'display:flex; align-items:center; gap:5rem; padding-bottom:1rem' }, [
E('h2', {}, [ _('Kernel Log') ]),
scrollDownButton
]),
E('div', { 'id': 'content_syslog' }, [
E('div', {'style': 'padding-bottom: 20px'}, [scrollDownButton]),
E('textarea', {
'id': 'syslog',
'style': 'font-size:12px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ return view.extend({
});

return E([], [
E('h2', {}, [ _('System Log') ]),
E('div', { 'style': 'display:flex; align-items:center; gap:5rem; padding-bottom:1rem' }, [
E('h2', {}, [ _('System Log') ]),
scrollDownButton
]),
E('div', { 'id': 'content_syslog' }, [
E('div', {'style': 'padding-bottom: 20px'}, [scrollDownButton]),
E('textarea', {
'id': 'syslog',
'style': 'font-size:12px',
Expand Down

0 comments on commit b553b40

Please sign in to comment.