Files
WebODF/programs/editor/localeditor.html
T
Friedrich W. H. Kossebau 83f3c3c14f Let the Editor create its used div subtree itself
* use classes for styling of editor structures
* use namespaced, numbered element ids to allow more than one editor
2014-03-12 18:00:54 +01:00

52 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xml:lang="en" lang="en">
<head>
<!--
This HTML page is meant to bootstrap the webodf based ODF editor. This
is not the HTML page hosting any collaborative editing.
It will run on a standard HTTP server and as usual the webodf magic
happens client-side in your browser.
This page is meant to be served out of a webodf build directory.
-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>Local Editor</title>
<!-- dojo setup: start -->
<script type="text/javascript" charset="utf-8">
var usedLocale = "C";
if (navigator && navigator.language && navigator.language.match(/^(ru|de)/)) {
usedLocale = navigator.language.substr(0,2);
}
dojoConfig = {
locale: usedLocale,
paths: {
"webodf/editor": ".",
"dijit": "dijit",
"dojox": "dojox",
"dojo": "dojo",
"resources": "resources"
}
}
</script>
<script src="dojo-amalgamation.js" data-dojo-config="async: true"></script>
<link rel="stylesheet" type="text/css" href="app/resources/app.css"/>
<!-- dojo setup: end -->
<!-- editor: start -->
<link rel="stylesheet" type="text/css" href="editor.css"/>
<script src="webodf.js" type="text/javascript" charset="utf-8"></script>
<script src="FileSaver.js" type="text/javascript" charset="utf-8"></script>
<script src="localeditor.js" type="text/javascript" charset="utf-8"></script>
<!-- editor: end -->
</head>
<body onload="webodfEditor.boot();" class="claro">
<div id="mainContainer">
</div>
</body>
</html>