Skip to content

Commit

Permalink
Updated Bootstrap to 5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hmrodrigues committed Jan 26, 2025
1 parent 671e137 commit 92882b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ MY_HOSTNAME_STATUS_HISTORY_TEMP_SORT=${MY_HOSTNAME_STATUS_HISTORY_TEMP_SORT:-"/t
MY_MIN_DOWN_TIME=${MY_MIN_DOWN_TIME:-"60"}

# CSS Stylesheet for the status page
MY_STATUS_STYLESHEET=${MY_STATUS_STYLESHEET:-"https://cdnjs.cloudflare.com/ajax/libs/bootstrap/4.6.2/css/bootstrap.min.css"}
MY_STATUS_STYLESHEET=${MY_STATUS_STYLESHEET:-"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/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"}
Expand Down Expand Up @@ -521,7 +521,7 @@ $MY_AUTOREFRESH_TEXT
<div class="pb-2 mt-5 mb-2 border-bottom">
<h1>
$MY_STATUS_TITLE
<span class="float-right d-none d-sm-block">
<span class="float-end d-none d-sm-block">
<a href="$MY_HOMEPAGE_URL" class="btn btn-primary" role="button">
<i class="fas fa-home"></i>
$MY_HOMEPAGE_TITLE
Expand Down Expand Up @@ -625,7 +625,7 @@ function item_ok() {
fi
fi
cat <<EOF
<span class="badge badge-pill badge-success"><i class="fas fa-check"></i></span>
<span class="badge rounded-pill text-bg-success"><i class="fas fa-check"></i></span>
</li>
EOF
}
Expand Down Expand Up @@ -653,7 +653,7 @@ function item_down() {
echo "Script $MY_DOWN_HOSTNAME"
fi
fi
printf '<span class="badge badge-pill badge-danger"><i class="fas fa-times"></i> '
printf '<span class="badge rounded-pill text-bg-danger"><i class="fas fa-times"></i> '
if [[ "$MY_DOWN_TIME" -gt "1" ]]; then
printf "%.0f min</span>" "$((MY_DOWN_TIME/60))"
else
Expand All @@ -669,7 +669,7 @@ function item_degrade() {
else
echo "Script $MY_DEGRADE_HOSTNAME"
fi
printf '<span class="badge badge-pill badge-warning badge"><i class="fas fa-times"></i> '
printf '<span class="badge rounded-pill text-bg-warning"><i class="fas fa-times"></i> '
if [[ "$MY_DEGRADE_TIME" -gt "1" ]]; then
printf "%.0f min</span>" "$((MY_DEGRADE_TIME/60))"
else
Expand Down

0 comments on commit 92882b7

Please sign in to comment.