made the proxy index page a little bit nicer

This commit is contained in:
Niko Bochan 2015-02-11 12:29:11 +01:00
parent 3ec288dfdf
commit e80896662c
2 changed files with 50 additions and 2 deletions

View File

@ -10,5 +10,53 @@
require_once "config.php";
require_once "proxy.php";
// TODO: make nice
print_r("SYSTOPIA CiviCRM Proxy Version $civiproxy_version");
$source = '
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CiviProxy Version ' . $civiproxy_version . '</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<style type="text/css">
body {
margin: 0;
padding: 0;
}
.container {
position: relative;
width: 100%;
}
.center {
margin-left: auto;
margin-right: auto;
width: 300px;
}
p {
font-family: "Open Sans", sans-serif;
font-size: 160%;
}
#info {
padding-top: 20px;
}
#version {
padding-left: 2px;
}
</style>
</head>
<body>
<div id="container">
<div id="info" class="center">
<a href="https://www.systopia.de/"><img src="static/images/systopia_logo.png" alt="SYSTOPIA Organisationsberatung"></img></a>
<p id="version">CiviProxy Version ' . $civiproxy_version . '</p>
</div>
</div>
</body>
</html>
';
echo($source);

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB