More colorizing

This commit is contained in:
ehpersonal38
2023-03-06 18:15:00 -05:00
parent 73bd2a4e2c
commit 5e40772b42
+3
View File
@@ -308,6 +308,9 @@ if(isset($_GET['view'])){
$results = str_replace("active (running)", "<span style='color:green'><b>active (running)</b></span>",$results);
$results = str_replace("Your branch is up to date", "<span style='color:limegreen'><b>Your branch is up to date</b></span>",$results);
$results = str_replace("(+)", "(<span style='color:limegreen'><b>+</b></span>)",$results);
$results = str_replace("(-)", "(<span style='color:red'><b>-</b></span>)",$results);
// split the input string into lines
$lines = explode("\n", $results);