summaryrefslogtreecommitdiff
path: root/templates/new_event.tpl
blob: b8ae8ead30ad90ddbad19bf02c9c61e94ab3d4e3 (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="10"/></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" href="#new_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 href="#home" id="add-event-btn" data-inline="true" data-icon="ctrlbar-check">OK</a></li>
					<li><a href="#home" id="add-event-cancel-btn" data-inline="true" data-icon="ctrlbar-back">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 -->