Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/status.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/status.php
parent336ca22abf7f14444185fe8543d7188a248b5a06 (diff)
show warning on stopped slave
Diffstat (limited to 'buildmaster/status.php')
-rw-r--r--buildmaster/status.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/buildmaster/status.php b/buildmaster/status.php
index 28eee69..d58d379 100644
--- a/buildmaster/status.php
+++ b/buildmaster/status.php
@@ -9,19 +9,20 @@
?>
<html>
-<head>
-<title>Build master status</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>Build master status</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
if ($result -> num_rows > 0) {
$row = $result->fetch_assoc();
- print "latest package source is from " . $row["last"] . ".<br>\n";
+ print " latest package source is from " . $row["last"] . ".<br>\n";
}
?>
-</body>
+ </body>
</html>