summaryrefslogtreecommitdiff
path: root/tests/unit-tests/datetimepicker/index.html
blob: 41f75ffcb4062b5fcbb6a519ec094b31b005f81f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
	<script src="../../../build/tizen-web-ui-fw/latest/js/jquery.js"></script>
	<script src="../../../build/tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.min.js"></script>
	<script src="../../../build/tizen-web-ui-fw/latest/js/tizen-web-ui-fw.js"
		data-framework-theme="tizen-white"
		data-framework-viewport-scale=false>
	</script>

	<link rel="stylesheet" href="../../../libs/js/jquery-mobile-1.1.0/external/qunit.css" />

	<script src="../../../libs/js/jquery-mobile-1.1.0/tests/jquery.testHelper.js"></script>
	<script src="../../../libs/js/jquery-mobile-1.1.0/external/qunit.js"></script>
	<script src="datetimepicker-tests.js"></script>

	<title>Date Time Picker</title>
</head>

<body>

<h1 id="qunit-header">Date Time Picker</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>

<div id="qunit-fixture">
	<div data-role="page" id="dummy-page">
		<div data-role="header" data-position="fixed">
			<h1>Dummy</h1>
		</div>
		<div data-role="contents">
		</div>
	</div>
	<div data-role="page" id="page-1">
		<div data-role="header" data-position="fixed">
			<h1>Date Time Picker</h1>
		</div>
		<div data-role="content">
			<ul data-role="listview">
				<li class="ui-li-2line-sub-main">
					<span class="ui-li-text-main">
						<input type="datetime" id="datetime" />
					</span>
					<span class="ui-li-text-sub">DateTimePicker</span>
				</li>
				<li class="ui-li-2line-sub-main">
					<span class="ui-li-text-main">
						<input type="date" id="date"/>
					</span>
					<span class="ui-li-text-sub">DatePicker</span>
				</li>
				<li class="ui-li-2line-sub-main">
					<span class="ui-li-text-main">
						<input type="time" id="time"/>
					</span>
					<span class="ui-li-text-sub">TimePicker</span>
				</li>
				<li class="ui-li-2line-sub-main">
					<span class="ui-li-text-main">
						<input type="datetime" id="custom" data-format="MMM dd yyyy hh:mm tt" value="2012-06-30T00:00:00+00:00" />
					</span>
					<span class="ui-li-text-sub">DateTimePicker</span>
				</li>
			</ul>
		</div>
	</div>

</div>

</body>
</html>