jekyll-theme-easy-wedding 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/modals.html +3 -3
- data/_includes/modals/form_modal.html +3 -3
- data/_includes/modals/modal.html +1 -1
- data/_includes/modals/rsvp.html +97 -0
- data/_includes/modals/rsvp_no.html +14 -0
- data/_includes/modals/rsvp_yes.html +57 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d36ecb13505082c0fa78169149318dcc7fe56e688a4ae9a2e66e2b3990f2df8
|
4
|
+
data.tar.gz: 34396c71c5e3dd5783da51d97f1840111847acb6cb0d736796a48a81949a179d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f0fe46c58338c3620cb68337d618d00f9d15d91fbf5c6c0fbb1e51b251600dc9848436bf64c7bef02c6d2df91a4aeb91d23d1afc90d60a6377bbc92d1452de4
|
7
|
+
data.tar.gz: a31664ddabcc0f20e60a8505e1d4929ceacf019f6f94cd554c073524521815bce84ddb6c484b22da89e50a1760b5d213848bbc06a538ad6ce7ee83ac347d4edb
|
data/_includes/modals.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
{%
|
2
|
-
|
3
|
-
{%
|
1
|
+
{% include modals/rsvp.html %}
|
2
|
+
{% include modals/rsvp_no.html %}
|
3
|
+
{% include modals/rsvp_yes.html %}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
{% capture
|
1
|
+
{% capture modal_content %}
|
2
2
|
<form>
|
3
3
|
<div class="modal-header">
|
4
4
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
5
|
-
<h4 class="modal-title" id="myModalLabel">{{
|
5
|
+
<h4 class="modal-title" id="myModalLabel">{{ include.name }}</h4>
|
6
6
|
</div>
|
7
7
|
<div class="modal-body form-horizontal text-center">
|
8
8
|
{{ content }}
|
@@ -26,4 +26,4 @@
|
|
26
26
|
</form>
|
27
27
|
{% endcapture %}
|
28
28
|
|
29
|
-
{% include modals/modal.html content=
|
29
|
+
{% include modals/modal.html content=modal_content modal_id=include.modal_id%}
|
data/_includes/modals/modal.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="modal fade" id="{{
|
1
|
+
<div class="modal fade" id="{{ include.modal_id }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
|
2
2
|
<div class="modal-dialog" role="document">
|
3
3
|
<div class="modal-content">
|
4
4
|
{{ include.content }}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
{% capture name %}
|
2
|
+
RSVP
|
3
|
+
{% endcapture %}
|
4
|
+
{% capture modal_content %}
|
5
|
+
<form id="rsvp-form" class="rsvp-form" action="" method="POST">
|
6
|
+
<div class="modal-header">
|
7
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
|
8
|
+
aria-hidden="true">×</span></button>
|
9
|
+
<h4 class="modal-title" id="myModalLabel">{{ name }}</h4>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="modal-body form-horizontal text-center">
|
13
|
+
<div class="input-group">
|
14
|
+
<span class="input-group-addon"><i class="fa fa-user"></i></span>
|
15
|
+
<input name="name1" class="guest-input form-control" placeholder="Your Name" required id="primary-name">
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<div class="input-group">
|
19
|
+
<span class="input-group-addon"><i class="fa fa-user"></i></span>
|
20
|
+
<input name="name2" class="guest-input form-control" placeholder="Your Guest" id="primary-guest" autocomplete="new-password">
|
21
|
+
</div>
|
22
|
+
|
23
|
+
{% if site.data.settings.rsvp.no_extra_guests_message %}
|
24
|
+
<div class="collapse rsvp-help-collapse help-text" id="rsvp-warning-text">
|
25
|
+
<div>{{ site.data.settings.rsvp.no_extra_guests_message }}</div>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
<div class="collapse" id="guest-names-collapse">
|
30
|
+
<div class="input-group">
|
31
|
+
<span class="input-group-addon"><i class="fa fa-user"></i></span>
|
32
|
+
<input name="name3" class="guest-input form-control" placeholder="Your 2nd Guest" autocomplete="new-password">
|
33
|
+
</div>
|
34
|
+
<div class="input-group">
|
35
|
+
<span class="input-group-addon"><i class="fa fa-user"></i></span>
|
36
|
+
<input name="name4" class="guest-input form-control" placeholder="Your 3rd Guest" autocomplete="new-password">
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class="input-group">
|
41
|
+
<span class="input-group-addon"><i class="fa fa-phone"></i></span>
|
42
|
+
<input id="phone-input" type="tel" name="phone" class="form-control" placeholder="Your Phone Number" required>
|
43
|
+
</div>
|
44
|
+
<div class="collapse help-text" id="phone-help">
|
45
|
+
<div>We'll send you a text with the event details</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
{% if site.data.settings.rsvp.use_code %}
|
49
|
+
<div class="input-group invite-code-group">
|
50
|
+
<span class="input-group-addon"><i class="fa fa-key"></i></span>
|
51
|
+
<input type="text" name="invite_code" id="invite_code" class="form-control" placeholder="Invite Code" required autocomplete="new-password">
|
52
|
+
<span class="input-group-addon"><i class="fa fa-info-circle rsvp-help-toggle" id="rsvp-help-toggle"></i></span>
|
53
|
+
</div>
|
54
|
+
<div class="collapse rsvp-help-collapse help-text" id="rsvp-code-help-text">
|
55
|
+
<div>{{ site.data.settings.rsvp.code_location }}</div>
|
56
|
+
</div>
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
<div class="input-group">
|
60
|
+
<label class="radio-inline">
|
61
|
+
<input type="radio" name="rsvpRadio" id="rsvp-yes" value="yes" required> {{ site.data.settings.rsvp.yes_text }}
|
62
|
+
</label>
|
63
|
+
<label class="radio-inline">
|
64
|
+
<input type="radio" name="rsvpRadio" id="rsvp-no" value="no" required> {{ site.data.settings.rsvp.no_text }}
|
65
|
+
</label>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
{% if site.data.settings.rsvp.song_text %}
|
69
|
+
<div class="input-group">
|
70
|
+
<span class="input-group-addon"><i class="fa fa-music"></i></span>
|
71
|
+
<input type="text" name="song" class="form-control" placeholder="{{site.data.settings.rsvp.song_text}}" autocomplete="new-password">
|
72
|
+
</div>
|
73
|
+
{% endif %}
|
74
|
+
|
75
|
+
{% if site.data.settings.rsvp.leave_a_message_text %}
|
76
|
+
<div class="input-group">
|
77
|
+
<span class="input-group-addon"><i class="fa fa-envelope"></i></span>
|
78
|
+
<textarea class="form-control" name="message" rows="3" placeholder="{{site.data.settings.rsvp.leave_a_message_text}}" autocomplete="new-password"></textarea>
|
79
|
+
</div>
|
80
|
+
{% endif %}
|
81
|
+
|
82
|
+
<div class="alert-wrapper" id="alert-wrapper"></div>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div class="modal-footer">
|
86
|
+
<button type="button" class="btn btn-default" data-dismiss="modal">
|
87
|
+
{{ site.data.settings.rsvp.cancel_text }}
|
88
|
+
</button>
|
89
|
+
<button type="submit" class="btn btn-primary" value="Submit" name="submit">
|
90
|
+
{{ site.data.settings.rsvp.submit_text }}
|
91
|
+
</button>
|
92
|
+
</div>
|
93
|
+
</form>
|
94
|
+
{% endcapture %}
|
95
|
+
|
96
|
+
{% include js.html src="assets/js/rsvp.js" %}
|
97
|
+
{% include modals/modal.html content=modal_content name=name modal_id='rsvp-modal' %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% capture modal_content %}
|
2
|
+
<div class="modal-header">
|
3
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
|
4
|
+
aria-hidden="true">×</span></button>
|
5
|
+
<h4 class="modal-title" id="myModalLabel">{{ site.data.settings.rsvp.no_modal_title }}</h4>
|
6
|
+
</div>
|
7
|
+
<div class="modal-body">
|
8
|
+
<div class="section-padding">
|
9
|
+
<p>{{ site.data.settings.rsvp.no_modal_body }}</p>
|
10
|
+
<p>{{ site.data.settings.rsvp.sms_followup_text }}</p>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
{% endcapture %}
|
14
|
+
{% include modals/modal.html content=modal_content name='RSVP No' modal_id='rsvp-no-modal' %}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
{% capture modal_content %}
|
2
|
+
<div class="modal-header">
|
3
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
|
4
|
+
aria-hidden="true">×</span></button>
|
5
|
+
<h4 class="modal-title" id="myModalLabel">{{ site.data.settings.rsvp.yes_modal_title }}</h4>
|
6
|
+
</div>
|
7
|
+
<div class="modal-body">
|
8
|
+
<div class="section-padding">
|
9
|
+
<p>{{ site.data.settings.rsvp.yes_modal_body }}</p>
|
10
|
+
<p>{{ site.data.settings.rsvp.sms_followup_text }}</p>
|
11
|
+
<div id="add-to-cal"></div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
{% endcapture %}
|
15
|
+
|
16
|
+
{% include js.html src='assets/js/ouical.min.js' %}
|
17
|
+
|
18
|
+
{% assign main_event = site.data.events | where: "main_event", true | first %}
|
19
|
+
{%- capture eventTitle -%}
|
20
|
+
{{ site.data.couple.spouse1.short_name }}'s and {{ site.data.couple.spouse2.short_name }}'s Wedding
|
21
|
+
{%- endcapture -%}
|
22
|
+
<script>
|
23
|
+
// const ouical = require('/assets/js/ouical.js');
|
24
|
+
$(document).ready(function () {
|
25
|
+
const myCalendar = createCalendar({
|
26
|
+
options: {
|
27
|
+
class: '',
|
28
|
+
// You can pass an ID. If you don't, one will be generated for you
|
29
|
+
id: ''
|
30
|
+
},
|
31
|
+
data: {
|
32
|
+
// Event title
|
33
|
+
title: "{{ eventTitle | escape }}",
|
34
|
+
|
35
|
+
// Event start date
|
36
|
+
start: new Date(Number("{{ main_event.date | date: '%s' }}") * 1000),
|
37
|
+
|
38
|
+
// Event duration (IN MINUTES)
|
39
|
+
// duration: 4 * 60,
|
40
|
+
|
41
|
+
// You can also choose to set an end time
|
42
|
+
// If an end time is set, this will take precedence over duration
|
43
|
+
end: new Date(Number("{{ main_event.endDate | date: '%s' }}") * 1000),
|
44
|
+
|
45
|
+
// Event Address
|
46
|
+
address: '{{ main_event.location.address }} {{ main_event.location.city }}, {{ main_event.location.state }} {{ main_event.location.zip }}',
|
47
|
+
|
48
|
+
// Event Description
|
49
|
+
description: "{{ main_event.calendar_description}} \n\nWebsite: {{site.url}}"
|
50
|
+
}
|
51
|
+
});
|
52
|
+
|
53
|
+
$('#add-to-cal').html(myCalendar);
|
54
|
+
});
|
55
|
+
</script>
|
56
|
+
|
57
|
+
{% include modals/modal.html content=modal_content name='RSVP Yes' modal_id='rsvp-yes-modal' %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-easy-wedding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Orick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '4.
|
26
|
+
version: '4.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jekyll-sitemap
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,6 +105,9 @@ files:
|
|
105
105
|
- _includes/modals.html
|
106
106
|
- _includes/modals/form_modal.html
|
107
107
|
- _includes/modals/modal.html
|
108
|
+
- _includes/modals/rsvp.html
|
109
|
+
- _includes/modals/rsvp_no.html
|
110
|
+
- _includes/modals/rsvp_yes.html
|
108
111
|
- _includes/nav.html
|
109
112
|
- _includes/our_story.html
|
110
113
|
- _includes/people.html
|