From 3abe9dcc90d7f3378b9b1baba7f1945f0bc35df1 Mon Sep 17 00:00:00 2001 From: Hugo Rodrigues Date: Mon, 27 Jan 2025 00:23:33 +0000 Subject: [PATCH] Updated FontAwesome to 6.7.2 --- config-example | 2 +- status.sh | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config-example b/config-example index 52a4b183d..4a39584a7 100644 --- a/config-example +++ b/config-example @@ -69,7 +69,7 @@ MY_MIN_DOWN_TIME="60" MY_STATUS_STYLESHEET="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" # FontAwesome for the status page -MY_STATUS_FONTAWESOME="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" +MY_STATUS_FONTAWESOME="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" # A footer MY_STATUS_FOOTER='Powered by static_status' diff --git a/status.sh b/status.sh index 70f870103..a5aead81c 100755 --- a/status.sh +++ b/status.sh @@ -148,7 +148,7 @@ MY_MIN_DOWN_TIME=${MY_MIN_DOWN_TIME:-"60"} MY_STATUS_STYLESHEET=${MY_STATUS_STYLESHEET:-"https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css"} # FontAwesome for the status page -MY_STATUS_FONTAWESOME=${MY_STATUS_FONTAWESOME:-"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"} +MY_STATUS_FONTAWESOME=${MY_STATUS_FONTAWESOME:-"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"} # A footer MY_STATUS_FOOTER=${MY_STATUS_FOOTER:-'Powered by static_status'} @@ -523,7 +523,7 @@ $MY_AUTOREFRESH_TEXT $MY_STATUS_TITLE - + $MY_HOMEPAGE_TITLE @@ -532,7 +532,7 @@ $MY_AUTOREFRESH_TEXT
- + $MY_HOMEPAGE_TITLE
@@ -556,7 +556,7 @@ EOF function page_alert_success() { cat >> "$MY_STATUS_HTML" << EOF EOF @@ -565,7 +565,7 @@ EOF function page_alert_warning() { cat >> "$MY_STATUS_HTML" << EOF EOF @@ -574,7 +574,7 @@ EOF function page_alert_danger() { cat >> "$MY_STATUS_HTML" << EOF EOF @@ -584,7 +584,7 @@ function page_alert_maintenance() { cat >> "$MY_STATUS_HTML" << EOF
- + Maintenance
@@ -625,7 +625,7 @@ function item_ok() { fi fi cat < + EOF } @@ -653,7 +653,7 @@ function item_down() { echo "Script $MY_DOWN_HOSTNAME" fi fi - printf ' ' + printf ' ' if [[ "$MY_DOWN_TIME" -gt "1" ]]; then printf "%.0f min" "$((MY_DOWN_TIME/60))" else @@ -669,7 +669,7 @@ function item_degrade() { else echo "Script $MY_DEGRADE_HOSTNAME" fi - printf ' ' + printf ' ' if [[ "$MY_DEGRADE_TIME" -gt "1" ]]; then printf "%.0f min" "$((MY_DEGRADE_TIME/60))" else @@ -707,7 +707,7 @@ function item_history() { echo "$MY_HISTORY_DATE_TIME" echo '' echo '' - printf ' ' + printf ' ' if [[ "$MY_HISTORY_DOWN_TIME" -gt "1" ]]; then printf "%.0f min" "$((MY_HISTORY_DOWN_TIME/60))" else