slow-steps 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_config.yml +3 -3
- data/_includes/footer/footer.html +64 -7
- data/_includes/footer/footer_redesign.html +107 -0
- data/_includes/forms/mc-register.html +126 -108
- data/_includes/head/descriptors/og-meta.html +0 -1
- data/_includes/head/descriptors/structured-data.html +3 -3
- data/_includes/head/descriptors/twitter-meta.html +1 -1
- data/_includes/head/head.html +3 -3
- data/_includes/image-post.html +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/env/clinician.html +2 -2
- data/_layouts/env/landing.html +2 -2
- data/_layouts/faq.html +3 -0
- data/_layouts/feed.html +1 -1
- data/_layouts/post.html +1 -1
- data/_sass/_functions.sass +9 -0
- data/_sass/_mixins.sass +3 -2
- data/_sass/about.sass +3 -1
- data/_sass/breakpoints/about.sass +11 -2
- data/_sass/collage.sass +1 -1
- data/_sass/contact.sass +2 -2
- data/_sass/env/clinician.sass +3 -2
- data/_sass/env/landing.sass +18 -3
- data/_sass/env/pwp.sass +4 -2
- data/_sass/faq.sass +9 -1
- data/_sass/feed.sass +2 -2
- data/_sass/footer.sass +174 -14
- data/_sass/footer_redesign.sass +351 -0
- data/_sass/global.sass +29 -2
- data/_sass/navigation/_variables.sass +3 -3
- data/_sass/navigation/base.sass +14 -4
- data/_sass/navigation/breakpoints/1024.sass +13 -6
- data/_sass/navigation/burger.sass +1 -1
- data/_sass/typography/_variables.sass +2 -2
- data/_sass/typography/resets.sass +2 -2
- data/assets/css/env/gaitq_clinician.sass +1 -1
- data/assets/css/env/gaitq_landing.sass +1 -1
- data/assets/css/env/gaitq_pwp.sass +1 -1
- data/assets/css/gaitq_errors.sass +1 -1
- data/assets/js/mobile-nav-slider.js +1 -1
- metadata +4 -4
- data/_includes/footer/footer_full.html +0 -79
- data/_sass/footer_full.sass +0 -183
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 131fd96f7e7f0b993964278f1fcbc9f078a73110f885915a025ddce8f6f42694
|
4
|
+
data.tar.gz: 1f9e861f673cb2c100fa4c1839bfcb900181f99b1e219f6ca7356191b99db974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e43ca0f024fd548f70a6fe83c1a65a5af1e6c37521fcf7f166fb3e21e7c291e0f70095a24ccbde98a2754c97c7fbc3f98c9805ccae70babc6049c8bf83693c1c
|
7
|
+
data.tar.gz: a8c32a0136eace866ef6a6316ac7890f3bf66e61ec7c7501d42b3ce358bf84b66fa7c556f3032aac750daad4f1861291ed5b4908c97a80377584dd7a40b71011
|
data/README.md
CHANGED
data/_config.yml
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
#
|
5
5
|
#################################################################################
|
6
6
|
|
7
|
-
# Site
|
8
|
-
|
7
|
+
# Site developer
|
8
|
+
developer:
|
9
9
|
name: Made Slowly
|
10
10
|
email: arran@madeslowly.co.uk
|
11
11
|
url: https://www.madeslowly.co.uk/
|
@@ -42,7 +42,7 @@ sass:
|
|
42
42
|
|
43
43
|
compress_html:
|
44
44
|
ignore:
|
45
|
-
envs:
|
45
|
+
envs: local
|
46
46
|
comments: all
|
47
47
|
|
48
48
|
autoprefixer:
|
@@ -1,22 +1,79 @@
|
|
1
|
-
|
1
|
+
<!-- footer -->
|
2
|
+
<footer class="ft__wrapper">
|
3
|
+
|
4
|
+
<div class="ft__head">
|
5
|
+
|
6
|
+
</div>
|
7
|
+
<div class="ft__body">
|
8
|
+
|
9
|
+
<div class="ft__contact ft__col">
|
10
|
+
|
11
|
+
<a href="{{ site.baseurl }}/">
|
12
|
+
{% include /branding/site-logo.svg %}
|
13
|
+
</a>
|
14
|
+
<div class="ft__contact__add">
|
15
|
+
<ul class="ft__contact--list">
|
16
|
+
{% for item in site.postal_add %}
|
17
|
+
<li class="address">{{ item[1] }}</li>
|
18
|
+
{% endfor %}
|
19
|
+
<li><a class="ft--link" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
20
|
+
<li>{{ site.phone }}</li>
|
21
|
+
|
22
|
+
<ul class="social-media">
|
23
|
+
|
24
|
+
{% for social in site.socials %}
|
25
|
+
<li class="social-media-item">
|
26
|
+
<a href="{{ social.url }}">
|
27
|
+
<i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
|
28
|
+
</li>
|
29
|
+
{% endfor %}
|
30
|
+
|
31
|
+
</ul>
|
32
|
+
|
33
|
+
</ul>
|
34
|
+
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="ft__sitemap ft__col">
|
39
|
+
<div class="ft__sitemap--menu">
|
40
|
+
<h3 class="ft__sitemap--header">INFORMATION FOR</h3>
|
41
|
+
|
42
|
+
<div class="ft__sitemap--env-wrap">
|
43
|
+
{% for item in site.data.menu.navigation %}
|
44
|
+
|
45
|
+
<div class="ft__sitemap--env">
|
46
|
+
|
47
|
+
<h4 class="ft__sitemap--env-header">{{ item.name }}</h4>
|
48
|
+
<ul class="ft__sitemap--submenu">
|
49
|
+
{% for sub in item.submenu %}
|
50
|
+
<li><a class="ft--link" href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
|
51
|
+
{% endfor %}
|
52
|
+
</ul>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
{% endfor %}
|
56
|
+
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
</div>
|
62
|
+
<!-- footer base and copyright -->
|
2
63
|
|
3
64
|
<div class="ft__base">
|
4
65
|
|
5
|
-
<div class="owner-links">
|
6
|
-
<p><a href="https://jekyllrb.com/" class="slogan">Jekyll</a> theme <a href="https://rubygems.org/gems/slow-steps/">slow steps</a> by <a href="{{ site.author.url }}" class="slogan">made slowly</a></p>
|
7
66
|
<p class="copyright">© <script>
|
8
67
|
document.write(new Date().getFullYear())
|
9
|
-
</script> {{ site.title }}
|
68
|
+
</script> {{ site.title }}</p>
|
10
69
|
|
11
70
|
|
12
|
-
</div>
|
13
71
|
<div class="legal-links">
|
14
72
|
{% for item in site.data.menu.legals %}
|
15
73
|
<a href="{{ item.url }}">{{ item.name }}</a>
|
16
74
|
{% endfor %}
|
17
75
|
</div>
|
18
|
-
|
19
|
-
|
76
|
+
<a href="{{ site.developer.url }}" class="slogan">Jekyll theme Slow Steps</a>
|
20
77
|
</div>
|
21
78
|
|
22
79
|
</footer>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!-- footer -->
|
2
|
+
<footer class="ft__wrapper">
|
3
|
+
|
4
|
+
<div class="ft__body">
|
5
|
+
|
6
|
+
<div class="ft__company">
|
7
|
+
|
8
|
+
|
9
|
+
<div class="ft__company__add">
|
10
|
+
<ul>
|
11
|
+
<li class="ft__company__logo">
|
12
|
+
{% include /branding/site-logo.svg %}
|
13
|
+
</li>
|
14
|
+
<li class="ft__company__no">Registered in England and Wales, company number 12281171.</li>
|
15
|
+
<li class="address"><h4>Registered office</h4></li>
|
16
|
+
{% for item in site.postal_add %}
|
17
|
+
<li class="address">{{ item[1] }}</li>
|
18
|
+
{% endfor %}
|
19
|
+
|
20
|
+
<!--
|
21
|
+
<ul class="social-media">
|
22
|
+
|
23
|
+
{% for social in site.socials %}
|
24
|
+
<li class="social-media-item">
|
25
|
+
<a href="{{ social.url }}">
|
26
|
+
<i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
|
27
|
+
</li>
|
28
|
+
{% endfor %}
|
29
|
+
|
30
|
+
</ul>
|
31
|
+
-->
|
32
|
+
</ul>
|
33
|
+
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div class="ft__sitemap">
|
38
|
+
<div class="ft__sitemap--menu">
|
39
|
+
<h2 class="ft__sitemap--header">INFORMATION FOR</h2>
|
40
|
+
|
41
|
+
<div class="ft__sitemap--env-wrap">
|
42
|
+
{% for item in site.data.menu.navigation %}
|
43
|
+
|
44
|
+
<div class="ft__sitemap--env">
|
45
|
+
|
46
|
+
<h3 class="ft__sitemap--env-header">{{ item.name }}</h3>
|
47
|
+
<ul class="ft__sitemap--submenu">
|
48
|
+
{% for sub in item.submenu %}
|
49
|
+
{% if sub.id != 'contact' %}
|
50
|
+
<li><a class="ft__sitemap--link" href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
|
51
|
+
{% endif %}
|
52
|
+
{% endfor %}
|
53
|
+
</ul>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
{% endfor %}
|
57
|
+
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
<div class="ft__contact">
|
62
|
+
|
63
|
+
<h2 class="ft__contact--header">Connect with us</h2>
|
64
|
+
|
65
|
+
<ul>
|
66
|
+
<li class="ft__contact--link"><a href="mailto:{{ site.email }}"><i class="fas fa-envelope"></i>{{ site.email }}</a></li>
|
67
|
+
|
68
|
+
<li class="ft__contact--link"><a href="tel:{{ site.phone }}"><i class="fas fa-phone-square"></i>{{ site.phone }}</a></li>
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
|
72
|
+
<ul class="social-media">
|
73
|
+
|
74
|
+
{% for social in site.socials %}
|
75
|
+
<li class="social-media-item">
|
76
|
+
<a href="{{ social.url }}">
|
77
|
+
<i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
|
78
|
+
</li>
|
79
|
+
{% endfor %}
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<!-- footer base and copyright -->
|
91
|
+
|
92
|
+
<div class="ft__base">
|
93
|
+
|
94
|
+
<p class="copyright">© <script>
|
95
|
+
document.write(new Date().getFullYear())
|
96
|
+
</script> {{ site.title }}</p>
|
97
|
+
|
98
|
+
|
99
|
+
<div class="legal-links">
|
100
|
+
{% for item in site.data.menu.legals %}
|
101
|
+
<a href="{{ item.url }}">{{ item.name }}</a>
|
102
|
+
{% endfor %}
|
103
|
+
</div>
|
104
|
+
<a href="{{ site.developer.url }}" class="slogan">Jekyll theme Slow Steps</a>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
</footer>
|
@@ -2,16 +2,13 @@
|
|
2
2
|
<form action="{{ site.data.forms[page.env].action }}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
3
3
|
|
4
4
|
<div class="form__block">
|
5
|
+
|
5
6
|
<h2 class="form--title">{{ site.data.forms[page.env].header }}</h2>
|
6
7
|
|
7
8
|
<p class="form--strap">{{ site.data.forms[page.env].strapline }}</p>
|
8
|
-
{% for item in site.data.forms[page.env].inputs %}
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
{{ item.type }}__elem
|
13
|
-
mc--{{ item.width }}
|
14
|
-
mc-field-group
|
10
|
+
{% for item in site.data.forms[page.env].inputs %}
|
11
|
+
<div class="form__elem {{ item.type }}__elem mc--{{ item.width }} mc-field-group
|
15
12
|
{% if item.type == 'select' OR item.type == 'radio' %}input-group{% endif %}">
|
16
13
|
|
17
14
|
<label class="form--label {{ item.type }}-label" for="{{ item.mce-id }}">
|
@@ -21,137 +18,158 @@
|
|
21
18
|
{% endif %}
|
22
19
|
</label>
|
23
20
|
{% if item.type == 'radio' %}
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
</label>
|
36
|
-
</li>
|
37
|
-
{% endfor %}
|
38
|
-
</ul>
|
21
|
+
<ul>
|
22
|
+
{% for option in item.opts %}
|
23
|
+
<li>
|
24
|
+
<input type="{{ item.type }}" value="{{ option.value }}" name="{{ item.name }}"
|
25
|
+
id="{{ item.mce-id }}-{{ option.mce-id }}" {{ item.autofocus }}>
|
26
|
+
<label for="{{ item.mce-id }}-{{ option.mce-id }}">
|
27
|
+
{{ option.name }}
|
28
|
+
</label>
|
29
|
+
</li>
|
30
|
+
{% endfor %}
|
31
|
+
</ul>
|
39
32
|
{% endif %}
|
40
33
|
|
41
34
|
{% if item.type == 'select' %}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
</option>
|
51
|
-
{% endfor %}
|
52
|
-
</select>
|
35
|
+
<select name="{{ item.name }}" class="form--select form--elem {% if item.required %}required {% endif %}" id="{{ item.mce-id }}" {{ item.autofocus }}>
|
36
|
+
{% for option in item.opts %}
|
37
|
+
<option type="{{ item.type }}" value="{{ option.value }}" name="{{ item.name }}"
|
38
|
+
id="{{ item.mce-id }}-{{ option.mce-id }}">
|
39
|
+
{{ option.name }}
|
40
|
+
</option>
|
41
|
+
{% endfor %}
|
42
|
+
</select>
|
53
43
|
{% endif %}
|
54
44
|
|
55
45
|
{% if item.type == 'textarea' %}
|
56
|
-
|
57
|
-
|
58
|
-
name="{{ item.name }}"
|
59
|
-
id="item.mce-id"
|
60
|
-
class="form--textarea form--elem" {{ item.autofocus }}></textarea>
|
46
|
+
<textarea rows="4" name="{{ item.name }}" id="item.mce-id"
|
47
|
+
class="form--textarea form--elem" {{ item.autofocus }}></textarea>
|
61
48
|
{% endif %}
|
62
49
|
|
63
50
|
{% if item.type == 'checkbox' %}
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
51
|
+
<label class="form--label {{ item.type }}-label--mod" for="{{ item.mce-id }}">
|
52
|
+
<p>{{ item.label }}</p>
|
53
|
+
<span class="styled-checkbox__block">
|
54
|
+
<input type="checkbox" class="styled-checkbox switch" id="{{ item.mce-id }}" {{ item.autofocus }}>
|
55
|
+
<span class="icon"><span class="icon--elem"></span></span>
|
56
|
+
<span class="no">NO</span>
|
57
|
+
<span class="yes">YES</span>
|
58
|
+
</span>
|
59
|
+
</label>
|
73
60
|
{% endif %}
|
74
61
|
|
75
62
|
{% if item.type != 'select' and item.type != 'radio' and item.type != 'textarea' and item.type != 'checkbox' %}
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
id="{{ item.mce-id }}"
|
86
|
-
{{ item.autofocus }}>
|
63
|
+
<input type="{{ item.type }}" value=""
|
64
|
+
{% if item.type == 'tel' %}
|
65
|
+
placeholder="Landline or mobile"
|
66
|
+
pattern="[0-9]{3}-[0-9]{3}-[0-9]{3}"
|
67
|
+
{% endif %}
|
68
|
+
name="{{ item.name }}"
|
69
|
+
class="{% if item.required %}required{% endif %} form--input form--elem"
|
70
|
+
id="{{ item.mce-id }}"
|
71
|
+
{{ item.autofocus }}>
|
87
72
|
{% endif %}
|
88
73
|
</div>
|
89
74
|
|
90
|
-
|
75
|
+
{% endfor %}
|
91
76
|
|
92
|
-
|
93
|
-
<div class="content__gdpr">
|
94
|
-
<label for="interestgroup_field" class="form--label gdpr--title">What is your prefered method of communication?</label>
|
95
|
-
<fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
|
77
|
+
<div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
|
96
78
|
|
97
|
-
|
79
|
+
<div class="content__gdpr">
|
80
|
+
<label for="interestgroup_field" class="form--label gdpr--title">What is your prefered method of communication?</label>
|
98
81
|
|
99
|
-
<
|
100
|
-
|
101
|
-
<
|
102
|
-
<
|
103
|
-
<span class="
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
82
|
+
<fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
|
83
|
+
{% for item in site.data.forms[page.env].gdpr %}
|
84
|
+
<label class="mc--{{ item.width }} form--label {{ item.type }}-label--mod checkbox subfield" for="gdpr_{{ item.mce-id }}">
|
85
|
+
<p>{{ item.label }}</p>
|
86
|
+
<span class="styled-checkbox__block">
|
87
|
+
<input type="checkbox" class="styled-checkbox switch av-checkbox gdpr" id="gdpr_{{ item.mce-id }}" value="Y" name="{{ item.name }}">
|
88
|
+
<span class="icon"><span class="icon--elem"></span></span>
|
89
|
+
<span class="no">NO</span>
|
90
|
+
<span class="yes">YES</span>
|
91
|
+
</span>
|
92
|
+
</label>
|
93
|
+
{% endfor %}
|
94
|
+
</fieldset>
|
110
95
|
|
111
|
-
|
96
|
+
<p class="content__gdprLegal">
|
97
|
+
You can unsubscribe at any time by clicking the link at the bottom of our emails. For information about our privacy practices, click <a href="/privacy-policy/">here</a>.
|
98
|
+
</p>
|
112
99
|
|
100
|
+
<p class="content__gdprLegal">
|
101
|
+
We use Mailchimp as our marketing platform. By clicking below, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices <a href="https://mailchimp.com/legal/" target="_blank">here.</a>
|
102
|
+
</p>
|
103
|
+
</div>
|
113
104
|
</div>
|
114
|
-
<div class="content__gdprLegal">
|
115
|
-
<p>We use Mailchimp as our marketing platform. By clicking below, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about
|
116
|
-
Mailchimp's privacy practices <a href="https://mailchimp.com/legal/" target="_blank">here.</a></p>
|
117
|
-
</div>
|
118
|
-
</div>
|
119
105
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
</div>
|
106
|
+
<div class="clear">
|
107
|
+
<input type="submit" value="Submit" name="subscribe" id="mc-embedded-subscribe" class="button">
|
108
|
+
</div>
|
124
109
|
|
125
110
|
|
126
|
-
|
127
|
-
|
111
|
+
<div id="mce-responses" class="clear">
|
112
|
+
<div class="response" id="mce-error-response" style="display:none"></div>
|
113
|
+
<div class="response" id="mce-success-response" style="display:none"></div>
|
128
114
|
</div>
|
129
|
-
<div class="response" id="mce-success-response" style="display:none">
|
130
|
-
</div>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
|
134
|
-
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
135
|
-
<input type="text" name="{{ site.data.forms.pwp.botspot-name }}" tabindex="-1" value="">
|
136
|
-
</div>
|
137
115
|
|
116
|
+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
|
117
|
+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
|
118
|
+
<input type="text" name="{{ site.data.forms.pwp.botspot-name }}" tabindex="-1" value="">
|
119
|
+
</div>
|
138
120
|
|
121
|
+
<div class="mc-field-group" style="position: absolute; left: -5000px;" aria-hidden="true">
|
122
|
+
<select name="USERTYPE" class="required" id="mce-USERTYPE">
|
123
|
+
<option value="PWP" {% if page.env == 'pwp' %}selected="selected"{% endif %}>PWP</option>
|
124
|
+
<option value="CLINICIAN" {% if page.env == 'clinician' %}selected="selected"{% endif %}>CLINICIAN</option>
|
139
125
|
|
140
|
-
|
126
|
+
</select>
|
127
|
+
</div>
|
141
128
|
|
142
|
-
|
129
|
+
<div class="mc-field-group input-group" style="position: absolute; left: -5000px;" aria-hidden="true">
|
130
|
+
{% if page.env == 'pwp' %}
|
131
|
+
<input type="checkbox" value="4" name="group[30861][4]" id="mce-group[30861]-30861-0" checked>
|
132
|
+
{% else %}
|
133
|
+
<input type="checkbox" value="8" name="group[30861][8]" id="mce-group[30861]-30861-1" checked>
|
134
|
+
{% endif %}
|
135
|
+
</div>
|
143
136
|
|
137
|
+
</div>
|
144
138
|
|
145
|
-
|
139
|
+
</form>
|
140
|
+
|
141
|
+
|
142
|
+
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
|
143
|
+
|
144
|
+
<script type='text/javascript'>
|
145
|
+
(function($) {
|
146
|
+
window.fnames = new Array();
|
147
|
+
window.ftypes = new Array();
|
148
|
+
/*
|
149
|
+
fnames[0] = 'EMAIL';
|
150
|
+
ftypes[0] = 'email';
|
151
|
+
fnames[2] = 'FNAME';
|
152
|
+
ftypes[2] = 'text';
|
153
|
+
fnames[4] = 'LNAME';
|
154
|
+
ftypes[4] = 'text';
|
155
|
+
fnames[6] = 'TEL';
|
156
|
+
ftypes[6] = 'number';
|
157
|
+
fnames[3] = 'USERDES';
|
158
|
+
ftypes[3] = 'dropdown';
|
159
|
+
fnames[1] = 'USERTYPE';
|
160
|
+
ftypes[1] = 'dropdown';
|
161
|
+
fnames[5] = 'MESSAGE';
|
162
|
+
ftypes[5] = 'text';
|
163
|
+
*/
|
164
|
+
{% for item in site.data.forms[page.env].inputs %}
|
165
|
+
fnames[{{ forloop.index0 }}] = '{{ item.name }}';
|
166
|
+
ftypes[{{ forloop.index0 }}] = '{{ item.type }}';
|
167
|
+
{% if forloop.last == true %}
|
168
|
+
fnames[{{ forloop.index }}] = 'USERTYPE';
|
169
|
+
ftypes[{{ forloop.index }}] = 'dropdown';
|
170
|
+
{% endif %}
|
171
|
+
{% endfor %}
|
146
172
|
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
window.ftypes = new Array();
|
151
|
-
{% for item in site.data.forms[page.env].inputs %}
|
152
|
-
fnames[{{ forloop.index0 }}] = '{{ item.name }}';
|
153
|
-
ftypes[{{ forloop.index0 }}] = '{{ item.type }}';
|
154
|
-
{% endfor %}
|
155
|
-
}(jQuery));
|
156
|
-
var $mcj = jQuery.noConflict(true);
|
157
|
-
</script>
|
173
|
+
}(jQuery));
|
174
|
+
var $mcj = jQuery.noConflict(true);
|
175
|
+
</script>
|