From 84dc48367ba320158ba2a4cc1deb3a313356db69 Mon Sep 17 00:00:00 2001 From: "Skylar \"The Cobra\" Widulski" Date: Sat, 2 Dec 2023 01:27:43 -0500 Subject: [PATCH] More trying to fix Signed-off-by: Skylar "The Cobra" Widulski --- en/translations.php | 2 +- media/style.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/en/translations.php b/en/translations.php index 21eb036..6e1b775 100644 --- a/en/translations.php +++ b/en/translations.php @@ -26,7 +26,7 @@ $sum = shell_exec('cd /var/www/website; echo "$(($(diff 2>/dev/null -y --suppress-common-lines en/ '.$tl.'/ | grep "|" | wc -l)+$(diff 2>/dev/null -y --suppress-common-lines en/ '.$tl.'/ | grep "^Only in en/" | awk '."'".'{print $NF}'."'".' | while read -r line; do wc -l < en/"$line";printf "+"; done)0))"'); $percent = intdiv(($sum * 100), $const); - return "
  • " . $langs[$tl][0] . " (" . $langs[$tl][1] . ", /$tl/)
  • \n

    $percent

    \n$percent%
    "; + return "
  • " . $langs[$tl][0] . " (" . $langs[$tl][1] . ", /$tl/)
  • \n

    $percent% complete

    \n$percent%
    "; } ?> diff --git a/media/style.css b/media/style.css index f74a306..0f01c1d 100644 --- a/media/style.css +++ b/media/style.css @@ -76,9 +76,9 @@ input[type=submit] { } progress { - height: 20px; + height: 15px; width: 70%; - border-radius: 10px; + border-radius: 7px; border: 1px solid transparent; background: #bbc2cf; color: #ff6c6b;