office-gobmx/firefoxos/sdremote/index.html
Andrzej J.R. Hunt 520f4d45e9 Image/Notes storage and basic preview.
Change-Id: I466b5e2232811af3fad2266c28e8c4475b77eb71
2013-04-12 10:50:24 +01:00

51 lines
1.6 KiB
HTML

<!DOCTYPE html>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<html>
<head>
<title>SDRemote Firefox OS Demo</title>
<!--<meta name="viewport" content="width=device-width" />-->
<script>
function init() {
console.info("Hello world");
}
var mClient;
var mTransmitter;
</script>
<script src="js/ui.js"></script>
<script src="js/client.js"></script>
<script src="js/receiver.js"></script>
<script src="js/slideshow.js"></script>
<script src="js/transmitter.js"></script>
</head>
<body onLoad="init();">
<button id="open_comm" onclick="mClient = new Client('127.0.0.1'); mTransmitter = new Transmitter( mClient );">Press to Connect (localhost)</button>
<br/><br/>
<button id="startPres" onclick="mTransmitter.startPresentation()">Start Presentation</button>
<button id="stopPres" onclick="mTransmitter.stopPresentation()">Stop Presentation</button>
<br/><br/>
<button id="next" onclick="mTransmitter.nextTransition()">Next</button>
<button id="previous" onclick="mTransmitter.previousTransition()">Previous</button>
<br/>
<button id="blank" onclick="mTransmitter.blankScreen()">Blank Screen</button>
<button id="resume" onclick="mTransmitter.resume()">Resume</button>
<br/>
<img id="preview"></img>
<p>Current slide: <span id="current_slide">---</span></p>
</body>
</html>