<?php // Copyright 2014 Peter Beverloo. All rights reserved. // Use of this source code is governed by the MIT license, a copy of which can // be found in the LICENSE file. require_once __DIR__ . '/config.php'; require_once __DIR__ . '/framework/ServiceManager.php'; $serviceManager = new ServiceManager(); $state = $serviceManager->queryServiceStates(); $version = trim(file_get_contents(__DIR__ . '/../VERSION')); // Given the right "key" query parameter, tasks can be executed directly from the page. $key = array_key_exists('key', $_GET) ? $_GET['key'] : ''; ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <title>Service overview for Peter.sh</title> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,700,400italic" /> <link rel="stylesheet" href="//static.peter.sh/style/layout.css" /> <link rel="stylesheet" href="//static.peter.sh/style/desktop.css" media="screen and (min-device-width: 768px)" /> <link rel="stylesheet" href="//static.peter.sh/style/s-services.css" /> <link rel="alternate" type="application/rss+xml" href="/?rss" /> </head> <body class="green"> <header> <div class="header-overlay"></div> <h1> Services running as part of <a href="https://peter.sh/">Peter.sh</a>. <a class="twitter" href="https://twitter.com/beverloo"></a>