spiegel-keyman/web/bulk_rendering/index.html

57 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!-- Set the viewport width to match phone and tablet device widths -->
<meta name="viewport" content="width=device-width,user-scalable=no" />
<!-- Allow KeymanWeb to be saved to the iPhone home screen -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- Enable IE9 Standards mode -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>KeymanWeb - On-Screen Keyboard Renders</title>
<!-- Your page CSS -->
<style type='text/css'>
body {font-family: Tahoma,helvetica; margin-left: 0px}
h3 {font-size: 1em;font-weight:normal;color: darkred; margin-bottom: 4px}
</style>
<!-- Insert unminified KeymanWeb source scripts -->
<script src="../release/unminified/web/keymanweb.js" type="application/javascript"></script>
<script src="../release/renderer/bulk_render.js" type="application/javascript"></script>
<!-- Initialization: set paths to keyboards, resources and fonts as required -->
<script>
var kmw=window.keyman;
kmw.init({
attachType:'auto'
}).then(function() {
var renderer_poll = function() {
if(kmw.getKeyboards().length == 0) {
window.setTimeout(function() {
renderer_poll();
}, 1000);
} else {
kmw_renderer.run();
}
}
renderer_poll();
});
kmw.addKeyboards();
</script>
</head>
<!-- Sample page HTML -->
<body>
<h1>KeymanWeb - Bulk On-Screen Keyboard Rendering</h1>
<div id='deviceNotes'></div>
<div id='renderList'></div>
</body>
</html>