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-24 12:18:07 +02:00
|
|
|
<script src="../et2_core_xml.js"></script>
|
|
|
|
<script src="../et2_core_inheritance.js"></script>
|
2011-08-25 15:35:53 +02:00
|
|
|
<script src="../et2_core_interfaces.js"></script>
|
|
|
|
<script src="../et2_core_stylesheet.js"></script>
|
2011-08-24 12:18:07 +02:00
|
|
|
<script src="../et2_core_common.js"></script>
|
|
|
|
<script src="../et2_core_arrayMgr.js"></script>
|
|
|
|
<script src="../et2_core_widget.js"></script>
|
|
|
|
<script src="../et2_core_DOMWidget.js"></script>
|
|
|
|
<script src="../et2_core_baseWidget.js"></script>
|
|
|
|
<script src="../et2_core_valueWidget.js"></script>
|
|
|
|
<script src="../et2_core_inputWidget.js"></script>
|
|
|
|
<script src="../et2_widget_template.js"></script>
|
|
|
|
<script src="../et2_widget_description.js"></script>
|
|
|
|
<script src="../et2_widget_grid.js"></script>
|
|
|
|
<script src="../et2_widget_button.js"></script>
|
|
|
|
<script src="../et2_widget_box.js"></script>
|
|
|
|
<script src="../et2_widget_hbox.js"></script>
|
|
|
|
<script src="../et2_widget_textbox.js"></script>
|
2011-08-26 00:42:07 +02:00
|
|
|
<script src="../et2_widget_url.js"></script>
|
2011-08-24 12:18:07 +02:00
|
|
|
<script src="../et2_widget_number.js"></script>
|
|
|
|
<script src="../et2_widget_selectbox.js"></script>
|
|
|
|
<script src="../et2_widget_checkbox.js"></script>
|
|
|
|
<script src="../et2_widget_radiobox.js"></script>
|
|
|
|
<script src="../et2_widget_styles.js"></script>
|
|
|
|
<script src="../et2_widget_html.js"></script>
|
|
|
|
<script src="../et2_widget_hrule.js"></script>
|
|
|
|
<script src="../et2_widget_date.js"></script>
|
|
|
|
<script src="../et2_widget_tabs.js"></script>
|
2011-08-15 14:34:00 +02:00
|
|
|
|
2011-08-25 15:35:53 +02:00
|
|
|
<script src="../et2_extension_nextmatch.js"></script>
|
2011-08-25 17:54:15 +02:00
|
|
|
<script src="../et2_extension_nextmatch_dynheight.js"></script>
|
2011-08-25 15:35:53 +02:00
|
|
|
<script src="../et2_dataview_view_gridcontainer.js"></script>
|
|
|
|
|
2011-08-15 14:34:00 +02:00
|
|
|
<script src="../etemplate2.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-23 19:05:05 +02:00
|
|
|
<script src="../../../phpgwapi/js/jsapi/egw.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-23 23:33:40 +02:00
|
|
|
<script src="et2_test_tabbox.json"></script>
|
2011-08-12 17:26:08 +02:00
|
|
|
<script src="et2_test_expressions.json"></script>
|
2011-08-22 20:18:29 +02:00
|
|
|
<script src="et2_test_dates.json"></script>
|
2011-08-26 00:42:07 +02:00
|
|
|
<script src="et2_test_text.json"></script>
|
2011-08-13 18:51:35 +02:00
|
|
|
<link rel="StyleSheet" type="text/css" href="./test.css" />
|
2011-08-25 15:35:53 +02:00
|
|
|
<link rel="StyleSheet" type="text/css" href="./grid.css" />
|
2011-08-22 10:58:20 +02:00
|
|
|
|
|
|
|
<style>
|
|
|
|
#linklist {
|
|
|
|
-moz-column-count: 4;
|
|
|
|
-moz-column-gap: 20px;
|
|
|
|
-webkit-column-count: 4;
|
|
|
|
-webkit-column-gap: 20px;
|
|
|
|
column-count: 4;
|
|
|
|
column-gap: 20px;
|
|
|
|
}
|
|
|
|
</style>
|
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-23 23:33:40 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_tabbox.xet',tabbox_data);">Tabs test</a>
|
2011-08-10 16:36:31 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_textbox.xet');">Textbox test</a>
|
2011-08-26 00:42:07 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_text.xet', text_data);">Text/URL test</a>
|
2011-08-10 16:36:31 +02:00
|
|
|
<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-22 20:18:29 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_date.xet',date_test_data);">Date/Time 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-21 17:22:00 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_label.xet');">Label test</a>
|
2011-08-25 15:35:53 +02:00
|
|
|
<a href="#" onclick="open_xet('et2_test_nextmatch.xet');">Nextmatch test</a>
|
2011-08-05 16:53:54 +02:00
|
|
|
</div>
|
|
|
|
<div class="header">ETemplate2 container:</div>
|
|
|
|
<div id="container"></div>
|
2011-08-25 17:54:15 +02:00
|
|
|
<div style="color: silver;">[Just here to test the dynheight component...]</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>
|