mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-01 22:28:59 +03:00
💄 style(podkop): update modal button titles and clipboard content
This commit is contained in:
@@ -676,7 +676,7 @@ const showConfigModal = async (command, title) => {
|
|||||||
E('button', {
|
E('button', {
|
||||||
'class': 'btn',
|
'class': 'btn',
|
||||||
'id': 'copy-button',
|
'id': 'copy-button',
|
||||||
'click': ev => copyToClipboard(document.getElementById('modal-content-pre').innerText, ev.target)
|
'click': ev => copyToClipboard('```txt\n' + document.getElementById('modal-content-pre').innerText + '\n```', ev.target)
|
||||||
}, _('Copy to Clipboard')),
|
}, _('Copy to Clipboard')),
|
||||||
E('button', {
|
E('button', {
|
||||||
'class': 'btn',
|
'class': 'btn',
|
||||||
@@ -842,7 +842,7 @@ const createStatusPanel = (title, status, buttons, extraData = {}) => {
|
|||||||
ButtonFactory.createModalButton({
|
ButtonFactory.createModalButton({
|
||||||
label: E('strong', _('Global check')),
|
label: E('strong', _('Global check')),
|
||||||
command: 'global_check',
|
command: 'global_check',
|
||||||
title: _('Click here for all the info')
|
title: _('Global check')
|
||||||
}),
|
}),
|
||||||
ButtonFactory.createModalButton({
|
ButtonFactory.createModalButton({
|
||||||
label: 'View Logs',
|
label: 'View Logs',
|
||||||
|
|||||||
Reference in New Issue
Block a user