Files
WebODF/webodf/collabtest/test.html
T
Jos van den Oever fb83533520 Add more tests for loading and saving an ODF file.
These tests check if the same files are saved as were originally in the zip container of the ODF file.
2012-12-03 16:58:12 +01:00

62 lines
1.4 KiB
HTML

<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<script src="/nowjs/now.js" type="text/javascript" charset="utf-8"></script>
<script src="../lib/runtime.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var core = {};
var gui = {};
runtime.currentDirectory = function () {
return "../lib";
};
runtime.libraryPaths = function () {
return [ runtime.currentDirectory() ];
};
</script>
<script src="../lib/ops/Document.js" type="text/javascript" charset="utf-8"></script>
<script src="test.js" type="text/javascript" charset="utf-8"></script>
<style>
div#session1 {
position: absolute;
left: 0%;
width: 90%;
overflow: auto;
background-color: gray;
}
div#avatars1 {
position: absolute;
left: 90%;
width: 10%;
background: gray;
}
div#session2 {
position: absolute;
left: 0;
width: 90%;
overflow: auto;
background: #dddddd;
}
div#avatars2 {
position: absolute;
left: 90%;
width: 10%;
background: #dddddd;
}
</style>
</head>
<body>
<script type="text/javascript" charset="utf-8">
window.setTimeout(collab_init, 0);
</script>
<div id="session1">
<div id="odf1"></div>
</div>
<div id="avatars1"></div>
<div id="session2">
<div id="odf2"></div>
</div>
<div id="avatars2"></div>
</body>
</html>