diff --git a/index.php b/index.php index 7410399..945fb30 100644 --- a/index.php +++ b/index.php @@ -10,8 +10,8 @@ if (isset($_GET['wake'])) { $return = shell_exec('wakeonlan '.$_GET['wake']); } -$clients = ["nuc6i5-host"=>"b8:ae:ed:ec:18:f7", - "magrathea" =>"60:03:08:9c:25:6a"]; +$clients = ["nuc6i5-host.fra80"=>"b8:ae:ed:ec:18:f7", + "magrathea.fra80" =>"60:03:08:9c:25:6a"]; ?> @@ -24,13 +24,17 @@ $clients = ["nuc6i5-host"=>"b8:ae:ed:ec:18:f7", body { max-width: 500px; margin: 0 auto; - padding: 0 5px; + padding: 0 10px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; } + body > h1:first-child { margin-top: 0.3em; } small { font-size: 0.7em; font-weight: 500; } + ul { + padding-left: 20px; + } li { margin-bottom: 1.5em; } @@ -38,6 +42,16 @@ $clients = ["nuc6i5-host"=>"b8:ae:ed:ec:18:f7", color: blue; } + div.info { + margin: -10px; padding: 10px; + background-color: #e2e2e2; + border: 1px solid #787878; + border-radius: 5px; + } + div.info > p:first-child { + margin-top: 0; + } + .red { color: red; } .green { color: green; } @@ -45,24 +59,58 @@ $clients = ["nuc6i5-host"=>"b8:ae:ed:ec:18:f7",

Wake On LAN Service

-

The command returned:

-
- OK +
+

The command returned:

+
+ OK +
-

I can wake up the following clients:

-