summaryrefslogtreecommitdiff
path: root/buildmaster/mysql-issues.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-17 13:30:43 +0200
committerErich Eckner <git@eckner.net>2018-04-17 13:30:43 +0200
commitd71ef8a35787bce195db69e2e70e74032e6aa1d5 (patch)
treebb4ee6a1441dd49ea1810f636f13be95796667c4 /buildmaster/mysql-issues.php
parent336ca22abf7f14444185fe8543d7188a248b5a06 (diff)
downloadarchweb32-d71ef8a35787bce195db69e2e70e74032e6aa1d5.tar.xz
show warning on stopped slave
Diffstat (limited to 'buildmaster/mysql-issues.php')
-rw-r--r--buildmaster/mysql-issues.php27
1 files changed, 14 insertions, 13 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index 2b54c34..72e3558 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -95,21 +95,22 @@
?>
<html>
-<head>
-<title>More and less critical issues with the database</title>
-<link rel="stylesheet" type="text/css" href="/static/style.css">
-</head>
-<body>
-<a href="https://buildmaster.archlinux32.org/">Start page</a><br>
+ <head>
+ <title>More and less critical issues with the database</title>
+ <link rel="stylesheet" type="text/css" href="/static/style.css">
+ </head>
+ <body>
+<?php show_warning_on_offline_slave(); ?>
+ <a href="https://buildmaster.archlinux32.org/">Start page</a><br>
<?php
- print "Found " . count( $serious_issues ) . " serious issues.<br>\n";
+ print " Found " . count( $serious_issues ) . " serious issues.<br>\n";
foreach ( $serious_issues as $row ) {
if ($row["is_to_be_deleted"]==1)
- print "<font color=\"#00ff00\">(marked as to-be-deleted) ";
+ print " <font color=\"#00ff00\">(marked as to-be-deleted) ";
else
- print "<font color=\"#ff0000\">";
+ print " <font color=\"#ff0000\">";
print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package";
if (isset($row["subst_repository"]))
print " - but can be replaced by the one in " . $row["subst_repository"];
@@ -119,17 +120,17 @@
print "</font>\n";
}
- print "Found " . count( $stability_issues ) . " stability issues.<br>\n";
+ print " Found " . count( $stability_issues ) . " stability issues.<br>\n";
foreach ( $stability_issues as $row ) {
if ($row["is_to_be_deleted"]==1)
- print "<font color=\"#00ff00\">(marked as to-be-deleted) ";
+ print " <font color=\"#00ff00\">(marked as to-be-deleted) ";
else
- print "<font color=\"#800000\">";
+ print " <font color=\"#800000\">";
print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package installable from enabled " . $row["stability"] . " repositories.<br>";
print "</font>\n";
}
?>
-</body>
+ </body>
</html>