-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
56 lines (52 loc) · 1.84 KB
/
Copy pathoptions.html
File metadata and controls
56 lines (52 loc) · 1.84 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Quick ICS → Calendar — Settings</title>
<link rel="stylesheet" href="options.css" />
</head>
<body>
<main>
<h1>Quick ICS → Calendar</h1>
<section>
<h2>Google Calendar</h2>
<p class="hint">
Connect your Google account, then choose the calendar new events are imported into.
</p>
<div class="row">
<button id="connect" class="primary">Connect Google Calendar</button>
<span id="auth-status" class="auth-status"></span>
</div>
<label class="field">
Target calendar
<select id="calendar" disabled>
<option>Connect to load your calendars…</option>
</select>
</label>
</section>
<section>
<h2>Source folder</h2>
<p class="hint">
Only show <code>.ics</code> files downloaded into this folder. Type a
full path (e.g. <code>/home/you/Downloads</code>), or pick one of the
folders below that Chrome has already downloaded an
<code>.ics</code> file into. Leave blank for <b>all locations</b>.
</p>
<label class="field">
Folder
<input type="text" id="dir" list="dir-options" placeholder="All locations" autocomplete="off" />
<datalist id="dir-options"></datalist>
</label>
</section>
<div class="row">
<button id="save" class="primary">Save</button>
<span id="saved" class="saved hidden">Saved ✓</span>
</div>
<p class="hint setup">
First time? You must add your own Google OAuth client ID to
<code>manifest.json</code>. See <code>README.md</code> for the 5-minute setup.
</p>
</main>
<script type="module" src="options.js"></script>
</body>
</html>