summaryrefslogtreecommitdiff
path: root/templates/new_event.tpl
blob: b5042f2ed2bf73d2d5c6ced3aae9ad6131d7ad58 (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
	<!-- Start of the new event form: #new_event -->
	<div data-role="page" id="new_event">

		<div data-role="header" data-position="fixed">
			<h1>New Event</h1>
		</div><!-- /header -->

		<div data-role="content">

			<fieldset>
				<label for="title">Title</label>
				<div><input type="text" name="summary" id="title" maxlength="9"/></div>

				<label for="demo-date-1">Start</label>
				<div id="date-1">
					<span class="ui-li-text-main">
						<input type="datetime" name="startDate" id="demo-date-1" data-format="MMM dd yyyy HH:mm"/>
					</span>
				</div>

				<label for="demo-date-2">End</label>
				<div id="date-2">
					<span class="ui-li-text-main">
						<input type="datetime" name="endDate" id="demo-date-2" data-format="MMM dd yyyy HH:mm"/>
					</span>
				</div>
				<label for="alarm">Alarm</label>
				<div>
					<span id="alarm">-</span> <a id="add_alarm" data-inline="true" data-role="button">change</a>
				</div>
			</fieldset>

		</div><!-- /content -->

		<div data-role="footer" data-position="fixed">
			<div data-role="tabbar" data-style="tabbar">
				<ul>
					<li><a id="add-event-btn" data-inline="true">OK</a></li>
					<li><a id="add-event-cancel-btn" data-inline="true">Cancel</a></li>
				</ul>
			</div><!-- /controlbar -->
		</div><!-- /footer -->

		<div id="center_info" data-role="popupwindow" data-style="center_info">
			<div data-role="text"><p>
			Pop-up dialog box, a child
			window that blocks user inter-
			act to the parent windows
			</p></div>
		</div>

	</div><!-- /new_event -->