-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (73 loc) · 3.13 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Calendar Invites</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link href="https://assets.website-files.com/5f5e0756d14a853ec29b170a/css/finsweet-calendar.webflow.8990b9115.css" rel="stylesheet" type="text/css">
<script async="" src="https://www.google-analytics.com/analytics.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic%7CVarela+Round:400" media="all">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Add Event</h2>
<form >
<div class="form-group">
<input type="text" class="form-control input-title" id="input-title" placeholder="Enter Title" name="title" required=""/>
</div>
<div class="form-group">
<textarea class="form-control input-desc" id="input-desc" placeholder="Enter Description" name="description" required=""></textarea>
</div>
<div class="form-group">
<input type="text" class="form-control input-timezone" id="input-timezone" placeholder="Enter Timezone" name="timezone" />
</div>
<div class="col-md-6">
<div class="form-group">
<label class="control-label" for="input-start">Start Time:</label>
<input type="datetime-local" class="form-control input-start" id="input-start" placeholder="Enter Start Time" name="start" required="" />
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="control-label" for="input-start">End Time:</label>
<input type="datetime-local" class="form-control input-end" id="input-end" placeholder="Enter End Time" name="end" />
</div>
</div>
<div class="form-group">
<input type="text" class="form-control input-location" id="input-location" placeholder="Enter Location" name="location" required="" />
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<div class="form-output">
</div>
</div>
<script src="./App.js"></script>
<script src="https://cdn.finsweet.com/files/fscalendar/calendar-invite-v1.0.min.js"></script>
<script>
// initialize the F'in sweet Cal Invite
var calendarInvite = fsCalendar({
// class of event title
title: '.event-title',
// class of event start date
start: '.event-start',
// class of event end date
end: '.event-end',
// class of event duration
timezone: '.event-timezone',
// class of event Address
address: '.event-location',
// class of event Description
description: '.event-desc',
// class of the cms cal item
eventItemClass: '.event-item-content',
// monitor for text translations
localize: true
});
</script>
</body>
</html>