egroupware/api/js/etemplate/test/test_xml.html

148 lines
7.4 KiB
HTML

<html>
<head>
<title>ET2 - Test</title>
<script src="jquery.js"></script>
<script src="../../jsapi/jsapi.js"></script>
<script src="../../egw_json.js"></script>
<script src="../../jsapi/egw.js"></script>
<script src="../../jquery/jquery.tools.min.js"></script>
<script src="../../jquery/jquery-ui.js"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_core.js?1331234605"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_debug.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_preferences.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_lang.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_links.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_user.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_config.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_images.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_jsonq.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_files.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_utils.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_json.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_tooltip.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw_css.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/api/js/jsapi/egw.js?1331220632"></script>
<!-- Languages -->
<script type="text/javascript" src="/egroupware/api/lang.php?1330636667&app=common&lang=de"></script>
<script type="text/javascript" src="/egroupware/api/lang.php?1330636667&app=preferences&lang=de"></script>
<script type="text/javascript" src="/egroupware/api/lang.php?1330636667&app=etemplate&lang=de"></script>
<!-- Images -->
<script type="text/javascript" src="/egroupware/api/images.php?1314800242&template=idots"></script>
<script src="../etemplate2.js"></script>
<script src="../et2_core_xml.js"></script>
<script src="../et2_core_inheritance.js"></script>
<script src="../et2_core_interfaces.js"></script>
<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_core_phpExpressionCompiler.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>
<script src="../et2_widget_url.js"></script>
<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_image.js"></script>
<script src="../et2_widget_link.js"></script>
<script src="../et2_widget_date.js"></script>
<script src="../et2_widget_tabs.js"></script>
<script src="../et2_widget_progress.js"></script>
<script src="../et2_extension_nextmatch.js"></script>
<script src="../et2_extension_nextmatch_dynheight.js"></script>
<script src="../et2_dataview_interfaces.js"></script>
<script src="../et2_dataview_model_dataProvider.js"></script>
<script src="../et2_dataview_model_columns.js"></script>
<script src="../et2_dataview_view_rowProvider.js"></script>
<script src="../et2_dataview_view_partitionNode.js"></script>
<script src="../et2_dataview_view_partitionOrganizationNode.js"></script>
<script src="../et2_dataview_view_partitionContainerNodes.js"></script>
<script src="../et2_dataview_view_partitionTree.js"></script>
<script src="../et2_dataview_view_grid.js"></script>
<script src="../et2_dataview_view_container.js"></script>
<script src="../et2_dataview_view_row.js"></script>
<script src="../et2_dataview_view_spacer.js"></script>
<script src="../et2_dataview_view_gridContainer.js"></script>
<script src="../lib/date.js"></script>
<script src="../../../phpgwapi/js/jscalendar/calendar.js"></script>
<script src="../../../phpgwapi/js/jscalendar/calendar-setup.js"></script>
<script src="../../../phpgwapi/js/jscalendar/lang/calendar-en.js"></script>
<link rel="StyleSheet" type="text/css" href="../../../phpgwapi/js/jscalendar/calendar-blue.css" />
<script src="et2_test_timesheet_edit.json"></script>
<script src="et2_test_tabbox.json"></script>
<script src="et2_test_expressions.json"></script>
<script src="et2_test_dates.json"></script>
<script src="et2_test_text.json"></script>
<script src="et2_test_basic.json"></script>
<link rel="StyleSheet" type="text/css" href="./test.css" />
<link rel="StyleSheet" type="text/css" href="./grid.css" />
<link rel="StyleSheet" type="text/css" href="../../jquery/jquery-ui/smoothness/jquery-ui-1.8.16.custom.css?1315425896" />
<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>
</head>
<body>
<h1>EGroupware ETemplate2 Test</h1>
<div class="header">Choose one of the following tests:</div>
<div id="linklist">
<a href="#" onclick="open_xet('et2_test_timesheet_edit.xet', timesheet_data);">Timesheet edit dialog</a>
<a href="#" onclick="open_xet('et2_test_template.xet');">Template proxy test</a>
<a href="#" onclick="open_xet('et2_test_grid.xet');">Grid test</a>
<a href="#" onclick="open_xet('et2_test_tabbox.xet',tabbox_data);">Tabs test</a>
<a href="#" onclick="open_xet('et2_test_textbox.xet');">Textbox test</a>
<a href="#" onclick="open_xet('et2_test_text.xet', text_data);">Text/URL test</a>
<a href="#" onclick="open_xet('et2_test_description.xet');">Description test</a>
<a href="#" onclick="open_xet('et2_test_basic_widgets.xet', basic_data);">Basic widgets</a>
<a href="#" onclick="open_xet('et2_test_date.xet',date_test_data);">Date/Time widgits</a>
<a href="#" onclick="open_xet('et2_test_expressions.xet', expression_test_data);">Expression test</a>
<a href="#" onclick="open_xet('et2_test_hbox.xet');">HBox test</a>
<a href="#" onclick="open_xet('et2_test_label.xet');">Label test</a>
<a href="#" onclick="open_xet('et2_test_nextmatch.xet');">Nextmatch test</a>
</div>
<div class="header">ETemplate2 container:</div>
<div id="container"></div>
<div style="color: silver;">[Just here to test the dynheight component...]</div>
<script>
window.egw_webserverUrl = egw.webserverUrl = '/egroupware';
var et2 = new (egw().etemplate2)(document.getElementById("container"), "");
function open_xet(file, content) {
et2.load(file, content);
}
</script>
</body>
</html>