2011-08-04 21:08:50 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>ET2 - Test</title>
|
|
|
|
|
2011-08-05 16:53:54 +02:00
|
|
|
<script src="jquery.js"></script>
|
2011-08-04 21:08:50 +02:00
|
|
|
<script src="../et2_xml.js"></script>
|
|
|
|
<script src="../et2_inheritance.js"></script>
|
|
|
|
<script src="../et2_common.js"></script>
|
2011-08-15 14:34:00 +02:00
|
|
|
<script src="../et2_arrayMgr.js"></script>
|
2011-08-04 21:08:50 +02:00
|
|
|
<script src="../et2_widget.js"></script>
|
2011-08-11 15:53:35 +02:00
|
|
|
<script src="../et2_DOMWidget.js"></script>
|
2011-08-10 16:39:35 +02:00
|
|
|
<script src="../et2_baseWidget.js"></script>
|
2011-08-16 14:31:18 +02:00
|
|
|
<script src="../et2_valueWidget.js"></script>
|
2011-08-10 16:39:35 +02:00
|
|
|
<script src="../et2_inputWidget.js"></script>
|
2011-08-05 16:53:54 +02:00
|
|
|
<script src="../et2_template.js"></script>
|
|
|
|
<script src="../et2_description.js"></script>
|
2011-08-06 16:36:44 +02:00
|
|
|
<script src="../et2_grid.js"></script>
|
2011-08-07 15:43:46 +02:00
|
|
|
<script src="../et2_button.js"></script>
|
2011-08-10 16:36:31 +02:00
|
|
|
<script src="../et2_box.js"></script>
|
2011-08-16 18:46:22 +02:00
|
|
|
<script src="../et2_hbox.js"></script>
|
2011-08-07 15:43:46 +02:00
|
|
|
<script src="../et2_textbox.js"></script>
|
2011-08-16 19:02:09 +02:00
|
|
|
<script src="../et2_number.js"></script>
|
2011-08-19 18:00:44 +02:00
|
|
|
<!-- <script src="../et2_selectbox.js"></script>-->
|
2011-08-18 00:56:49 +02:00
|
|
|
<script src="../et2_checkbox.js"></script>
|
2011-08-18 19:34:01 +02:00
|
|
|
<script src="../et2_radiobox.js"></script>
|
2011-08-16 14:56:55 +02:00
|
|
|
<script src="../et2_styles.js"></script>
|
2011-08-16 15:12:39 +02:00
|
|
|
<script src="../et2_html.js"></script>
|
2011-08-15 14:34:00 +02:00
|
|
|
|
|
|
|
<script src="../etemplate2.js"></script>
|
|
|
|
|
2011-08-17 11:07:09 +02:00
|
|
|
<script src="../et2_tabs.js"></script>
|
2011-08-10 16:36:31 +02:00
|
|
|
<script src="../lib/tooltip.js"></script>
|
2011-08-16 15:12:39 +02:00
|
|
|
<script src="../../../phpgwapi/js/jsapi/jsapi.js"></script>
|
2011-08-17 23:36:08 +02:00
|
|
|
<script src="../../../phpgwapi/js/jquery/jquery.tools.min.js"></script>
|
2011-08-16 15:12:39 +02:00
|
|
|
|
2011-08-10 19:44:22 +02:00
|
|
|
|
|
|
|
<script src="et2_test_timesheet_edit.json"></script>
|
2011-08-12 17:26:08 +02:00
|
|
|
<script src="et2_test_expressions.json"></script>
|
2011-08-13 18:51:35 +02:00
|
|
|
<link rel="StyleSheet" type="text/css" href="./test.css" />
|
2011-08-04 21:08:50 +02:00
|
|
|
</head>
|
2011-08-05 16:53:54 +02:00
|
|
|
<body>
|
|
|
|
<h1>EGroupware ETemplate2 Test</h1>
|
|
|
|
<div class="header">Choose one of the following tests:</div>
|
|
|
|
<div id="linklist">
|
2011-08-15 14:34:00 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_timesheet_edit.xet', timesheet_data);">Timesheet edit dialog</a>
|
2011-08-05 16:53:54 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_template.xet');">Template proxy test</a>
|
2011-08-06 16:36:44 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_grid.xet');">Grid test</a>
|
2011-08-10 16:36:31 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_tabbox.xet');">Tabs test</a>
|
|
|
|
<a href="#" onclick="open_xet('et2_test_textbox.xet');">Textbox test</a>
|
|
|
|
<a href="#" onclick="open_xet('et2_test_description.xet');">Description test</a>
|
2011-08-16 19:02:09 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_basic_widgets.xet');">Basic widgits</a>
|
2011-08-12 17:26:08 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_expressions.xet', expression_test_data);">Expression test</a>
|
2011-08-16 18:46:22 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_hbox.xet');">HBox test</a>
|
2011-08-05 16:53:54 +02:00
|
|
|
</div>
|
|
|
|
<div class="header">ETemplate2 container:</div>
|
|
|
|
<div id="container"></div>
|
2011-08-04 21:08:50 +02:00
|
|
|
<script>
|
2011-08-15 14:34:00 +02:00
|
|
|
var et2 = new etemplate2(document.getElementById("container"), "");
|
2011-08-04 21:08:50 +02:00
|
|
|
|
2011-08-10 19:44:22 +02:00
|
|
|
function open_xet(file, content) {
|
2011-08-15 14:34:00 +02:00
|
|
|
et2.load(file, content);
|
|
|
|
}
|
2011-08-04 21:08:50 +02:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|