2014-04-10 14:17:16 +02:00
|
|
|
<!DOCTYPE HTML>
|
2012-12-03 16:24:08 +01:00
|
|
|
<html xml:lang="en" lang="en">
|
2013-08-17 11:17:58 +02:00
|
|
|
<head>
|
|
|
|
|
<!--
|
|
|
|
|
This HTML page is meant to provide a starting point for testing
|
|
|
|
|
out of a source-tree. It does not require a dojo-amalgamation
|
2013-09-02 16:05:57 +02:00
|
|
|
but uses dojo directly from Google's CDN (content delivery networks).
|
2013-08-17 11:17:58 +02:00
|
|
|
This page is meant to be served out of a webodf source directory.
|
|
|
|
|
-->
|
2014-04-10 14:17:16 +02:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
|
2012-12-03 16:24:08 +01:00
|
|
|
|
2013-09-02 16:05:57 +02:00
|
|
|
<title>Local Editor (CDN)</title>
|
2013-08-17 11:17:58 +02:00
|
|
|
|
2013-09-02 16:05:57 +02:00
|
|
|
<!-- dojo setup: start -->
|
2014-04-10 14:17:16 +02:00
|
|
|
<script type="text/javascript">
|
2013-08-17 11:17:58 +02:00
|
|
|
var basedir = window.location.pathname;
|
|
|
|
|
basedir = basedir.substr(0, basedir.lastIndexOf("/"));
|
|
|
|
|
dojoConfig = {
|
|
|
|
|
paths: {
|
|
|
|
|
"webodf/editor": basedir,
|
|
|
|
|
"resources": basedir + "/resources"
|
|
|
|
|
}
|
2013-02-14 17:29:03 +01:00
|
|
|
}
|
2013-08-17 11:17:58 +02:00
|
|
|
</script>
|
2012-12-03 16:24:08 +01:00
|
|
|
|
2013-08-17 11:17:58 +02:00
|
|
|
<link rel="stylesheet" type="text/css"
|
2013-10-04 19:20:32 +02:00
|
|
|
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/resources/dojo.css"/>
|
2013-08-17 11:17:58 +02:00
|
|
|
<link rel="stylesheet" type="text/css"
|
2013-10-04 19:20:32 +02:00
|
|
|
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dijit/themes/claro/claro.css"/>
|
2013-08-17 11:17:58 +02:00
|
|
|
<link rel="stylesheet" type="text/css"
|
2013-10-04 19:20:32 +02:00
|
|
|
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/layout/resources/ExpandoPane.css"/>
|
2013-08-17 11:17:58 +02:00
|
|
|
<link rel="stylesheet"
|
2013-10-04 19:20:32 +02:00
|
|
|
href="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojox/widget/ColorPicker/ColorPicker.css"/>
|
2012-12-03 16:24:08 +01:00
|
|
|
|
2013-10-04 19:20:32 +02:00
|
|
|
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"
|
2013-08-17 11:17:58 +02:00
|
|
|
data-dojo-config="async: true"></script>
|
2013-09-02 16:05:57 +02:00
|
|
|
<!-- dojo setup: end -->
|
2012-12-03 16:24:08 +01:00
|
|
|
|
2013-09-02 16:05:57 +02:00
|
|
|
<!-- editor: start -->
|
2013-08-17 11:17:58 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="editor.css"/>
|
2013-09-02 16:05:57 +02:00
|
|
|
<script src="webodf.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
<script src="FileSaver.js" type="text/javascript" charset="utf-8"></script>
|
2013-09-27 17:26:18 +02:00
|
|
|
<script src="localeditor.js" type="text/javascript" charset="utf-8"></script>
|
2013-09-02 16:05:57 +02:00
|
|
|
<!-- editor: end -->
|
2013-08-17 11:17:58 +02:00
|
|
|
</head>
|
2013-01-04 15:00:15 +01:00
|
|
|
|
2013-09-02 16:05:57 +02:00
|
|
|
<body onload="webodfEditor.boot();" class="claro">
|
|
|
|
|
<div id="mainContainer">
|
2012-12-03 16:24:08 +01:00
|
|
|
</div>
|
2013-08-17 11:17:58 +02:00
|
|
|
</body>
|
2012-12-03 16:24:08 +01:00
|
|
|
</html>
|