-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSidebar.html
More file actions
43 lines (38 loc) · 1.34 KB
/
Sidebar.html
File metadata and controls
43 lines (38 loc) · 1.34 KB
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
<!DOCTYPE html>
<!--
#-------------------------------------------------------------------------------
# Copyright (C) 2017 EFE.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# EFE - initial API and implementation
#-------------------------------------------------------------------------------
-->
<html>
<head>
<base target="_top">
</head>
<body>
<h1>Export Timesheets</h1>
Select at least one calendar and a time period for your report.
<h2>Available Calendars:</h2>
<? var calendars = CalendarApp.getAllCalendars();
for (var i = 0; i < calendars.length; i++) {
var cal = calendars[i];
var calName = cal.getName();
var calID = cal.getId();
?>
<input type="checkbox" name="calendars" id="<?= calID ?>"> <?= calName ?><br>
<? } ?>
<h2>Time period:</h2>
<table>
<tr><td>From:</td><td><input type="date" name="startDate" id="startDate"></td></tr>
<tr><td>to:</td><td><input type="date" name="endDate" id="endDate"></td></tr>
</table>
<input type="submit" value="Extract" onclick="run()">
<?!= include('JavaScript'); ?>
</body>
</html>