diff options
author | Owen D'Aprile <[email protected]> | 2021-02-07 14:18:52 -0500 |
---|---|---|
committer | Owen D'Aprile <[email protected]> | 2021-02-07 14:18:52 -0500 |
commit | cc909352b4844784198e85744b7a1786bca52ba2 (patch) | |
tree | 5201fffd470a0703b7d26c42786a0e4ee9f049bb /web/share/js/kvm/atx.js | |
parent | c9ee9b2e6a8cf0feed7f42876592c757da019813 (diff) |
Web interface spelling fixes and improvements
Also make the popup message for pasting characters change plurality
depending on the amount of characters.
Diffstat (limited to 'web/share/js/kvm/atx.js')
-rw-r--r-- | web/share/js/kvm/atx.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/web/share/js/kvm/atx.js b/web/share/js/kvm/atx.js index ec870506..234c86c2 100644 --- a/web/share/js/kvm/atx.js +++ b/web/share/js/kvm/atx.js @@ -37,9 +37,15 @@ export function Atx() { $("atx-hdd-led").title = "Disk Activity Led"; for (let args of [ - ["atx-power-button", "power", "Are you sure to click the power button?"], - ["atx-power-button-long", "power_long", "Are you sure to perform the long press of the power button?"], - ["atx-reset-button", "reset", "Are you sure to reboot the server?"], + ["atx-power-button", "power", "Are you sure you want to press the power button?"], + ["atx-power-button-long", "power_long", ` + Are you sure you want to long press the power button?<br> + (Warning! This could cause data loss on the server.) + `], + ["atx-reset-button", "reset", ` + Are you sure you want to press the reset button?<br> + (Warning! This could case data loss on the server.) + `], ]) { tools.setOnClick($(args[0]), () => __clickButton(args[1], args[2])); } |