Add a test page for the protocol handler
This commit is contained in:
parent
19797fdc5f
commit
a2e3f2e842
BIN
data/html/protocol-handler-test/add-to-sparkleshare-button.png
Normal file
BIN
data/html/protocol-handler-test/add-to-sparkleshare-button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
9
data/html/protocol-handler-test/invite.xml
Normal file
9
data/html/protocol-handler-test/invite.xml
Normal 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>
|
||||||
|
|
38
data/html/protocol-handler-test/protocol-handler-test.htm
Normal file
38
data/html/protocol-handler-test/protocol-handler-test.htm
Normal 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>
|
||||||
|
|
Loading…
Reference in a new issue