diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index 19eca23..ff502c6 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -38,8 +38,12 @@ function msgb { echo -e "\e[1m$1\e[0m" } +function info { + echo -e "\e[0;32m[info] $1\e[0m" +} + function warn { - echo -e "\e[0;33m[warning] $1\e[0m" + echo -e "\e[0;93m[warning] $1\e[0m" } function err { @@ -668,9 +672,9 @@ Ext.define('PVE.mod.TempHelper', {\n\ restart_proxy - msg "Installation completed" + msg "Installation completed." - msg "Clear the browser cache to ensure all changes are visualized." + info "Clear the browser cache to ensure all changes are visualized." else warn "Sensor display items already added to the summary panel in \"$pvemanagerlibjs\"." fi @@ -737,4 +741,4 @@ done # If no arguments were provided or all arguments have been processed, print the usage message if [[ $executed -eq 0 ]]; then usage -fi \ No newline at end of file +fi