Add a test page for the protocol handler

This commit is contained in:
Hylke Bons 2012-02-18 23:42:41 +01:00
parent 19797fdc5f
commit a2e3f2e842
3 changed files with 47 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<sparkleshare>
<invite>
<address>ssh://git@github.com/</address>
<remote_path>/hbons/Stuff</remote_path>
<accept_url>http://www.sparkleshare.org/test.php</accept_url>
</invite>
</sparkleshare>

View file

@ -0,0 +1,38 @@
<html>
<head>
<title>SparkleShare Protocol Handler Test</title>
<style>
body {
background-color: #58595b;
}
div {
text-align: center;
margin: auto;
width: 300px;
height: 50px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -25px;
color: #ddd;
font-family: sans-serif;
font-size: 13px;
}
img {
padding-top: 5px;
}
</style>
</head>
<body>
<div>
<b>hbons's stuff</b> on <b>Github</b>
<a href="sparkleshare://www.sparkleshare.org/test-invite.xml">
<img src="add-to-sparkleshare-button.png" alt="Add to SparkleShare">
</a>
</div>
</body>
</html>