slow-steps 0.2.0 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_config.yml +3 -3
  4. data/_includes/footer/footer.html +64 -7
  5. data/_includes/footer/footer_redesign.html +107 -0
  6. data/_includes/forms/mc-register.html +126 -108
  7. data/_includes/functions/pull_page_args.html +3 -3
  8. data/_includes/head/descriptors/og-meta.html +0 -1
  9. data/_includes/head/descriptors/structured-data.html +3 -3
  10. data/_includes/head/descriptors/twitter-meta.html +1 -1
  11. data/_includes/head/head.html +11 -32
  12. data/_includes/head/stylesheets.html +20 -0
  13. data/_includes/image-post.html +1 -1
  14. data/_includes/navigation/global.html +56 -57
  15. data/_includes/scripts.html +9 -8
  16. data/_includes/vimeoPlayer.html +1 -2
  17. data/_layouts/about.html +6 -1
  18. data/_layouts/default.html +1 -1
  19. data/_layouts/env/clinician.html +2 -2
  20. data/_layouts/env/landing.html +4 -4
  21. data/_layouts/faq.html +3 -0
  22. data/_layouts/feed.html +1 -1
  23. data/_layouts/post.html +1 -1
  24. data/_sass/_colors/README.md +27 -0
  25. data/_sass/_colors/_clinician.sass +7 -0
  26. data/_sass/_colors/_mixins.sass +14 -0
  27. data/_sass/_colors/_pwp.sass +6 -0
  28. data/_sass/{colors → _colors}/_variables.sass +8 -17
  29. data/_sass/_colors/collection.sass +3 -0
  30. data/_sass/_functions.sass +9 -0
  31. data/_sass/_mixins.sass +17 -7
  32. data/_sass/about.sass +9 -6
  33. data/_sass/breakpoints/about.sass +15 -6
  34. data/_sass/collage.sass +2 -1
  35. data/_sass/contact.sass +10 -41
  36. data/_sass/env/clinician.sass +3 -1
  37. data/_sass/env/landing.sass +25 -10
  38. data/_sass/env/pwp.sass +4 -1
  39. data/_sass/faq.sass +11 -3
  40. data/_sass/feed.sass +4 -3
  41. data/_sass/footer.sass +174 -14
  42. data/_sass/footer_redesign.sass +351 -0
  43. data/_sass/forms/mc-forms.sass +3 -3
  44. data/_sass/global.sass +55 -22
  45. data/_sass/navigation/README.md +35 -0
  46. data/_sass/navigation/_variables.sass +8 -9
  47. data/_sass/navigation/{global.sass → base.sass} +34 -24
  48. data/_sass/navigation/breakpoints/1024.sass +44 -20
  49. data/_sass/navigation/burger.sass +9 -3
  50. data/_sass/navigation/clinician.sass +31 -0
  51. data/_sass/navigation/collection.sass +9 -0
  52. data/_sass/navigation/colors.sass +8 -0
  53. data/_sass/navigation/no-nav.sass +32 -0
  54. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  55. data/_sass/post.sass +1 -1
  56. data/_sass/typography/_variables.sass +6 -2
  57. data/_sass/typography/resets.sass +2 -2
  58. data/assets/css/env/gaitq_clinician.sass +24 -8
  59. data/assets/css/env/gaitq_landing.sass +21 -3
  60. data/assets/css/env/gaitq_pwp.sass +28 -8
  61. data/assets/css/gaitq_errors.sass +21 -3
  62. data/assets/css/gaitq_post.sass +5 -5
  63. data/assets/js/mobile-nav-slider.js +1 -1
  64. metadata +20 -31
  65. data/_includes/footer/footer_full.html +0 -79
  66. data/_includes/head/env/conditional.html +0 -2
  67. data/_sass/colors/breakpoints/1024.sass +0 -20
  68. data/_sass/colors/burger.sass +0 -22
  69. data/_sass/colors/env/_clinician.sass +0 -16
  70. data/_sass/colors/env/_pwp.sass +0 -16
  71. data/_sass/colors/global.sass +0 -2
  72. data/_sass/colors/navigation.sass +0 -13
  73. data/_sass/footer_full.sass +0 -173
  74. data/_sass/navigation/env/clinician.sass +0 -38
  75. data/_sass/navigation/env/landing.sass +0 -19
  76. data/assets/css/gaitq_about.sass +0 -22
  77. data/assets/css/gaitq_feed.sass +0 -12
  78. data/assets/css/gaitq_global.sass +0 -34
  79. data/assets/fonts/.DS_Store +0 -0
  80. data/assets/fonts/Quicksand/OFL.txt +0 -93
  81. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  82. data/assets/fonts/Quicksand/README.txt +0 -67
  83. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  84. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  85. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  86. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  87. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  88. data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ba3703f35cb5bf5ecfb2ca11a661074314a745d34f322661d13b0be6a916cc2
4
- data.tar.gz: 636e9685daf9f1e87e3b55e99a149a4b17e8907f22e168a1992c543776309ead
3
+ metadata.gz: 131fd96f7e7f0b993964278f1fcbc9f078a73110f885915a025ddce8f6f42694
4
+ data.tar.gz: 1f9e861f673cb2c100fa4c1839bfcb900181f99b1e219f6ca7356191b99db974
5
5
  SHA512:
6
- metadata.gz: 247cf12a9f08d48546979cd8256c4f206502a7faab5f3d08ba058ef7f97aebed8eee3b6782451eb8b91cd8e7cb7ba162ec1c3518dd6e33774316c56fd8381bd6
7
- data.tar.gz: 9c0a5cb030a84f67a51f20fc4d3b01a4258a257d79f44b62e3eb1b56aa0481567a941e13a457d495ea0b4828415a0e4e6eee0ff952c6c110c9e94dc29985afd1
6
+ metadata.gz: e43ca0f024fd548f70a6fe83c1a65a5af1e6c37521fcf7f166fb3e21e7c291e0f70095a24ccbde98a2754c97c7fbc3f98c9805ccae70babc6049c8bf83693c1c
7
+ data.tar.gz: a8c32a0136eace866ef6a6316ac7890f3bf66e61ec7c7501d42b3ce358bf84b66fa7c556f3032aac750daad4f1861291ed5b4908c97a80377584dd7a40b71011
data/README.md CHANGED
@@ -37,7 +37,7 @@ https://github.com/madeslowly/slow-steps/
37
37
  | |
38
38
  | ├─ footer/ # Site wide footers
39
39
  | | |
40
- | | ├─ footer_full.html # Multi col footer
40
+ | | ├─ footer.html # Multi col footer
41
41
  | | |
42
42
  | | ├─ footer.html # Simple footer
43
43
  | |
@@ -4,8 +4,8 @@
4
4
  #
5
5
  #################################################################################
6
6
 
7
- # Site author
8
- author:
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: [local]
45
+ envs: local
46
46
  comments: all
47
47
 
48
48
  autoprefixer:
@@ -1,22 +1,79 @@
1
- <footer class="ft__wrap">
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">&copy; <script>
8
67
  document.write(new Date().getFullYear())
9
- </script> {{ site.title }} Limited</p>
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">&copy; <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
- <div class="
11
- form__elem
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
- <ul>
25
- {% for option in item.opts %}
26
- <li>
27
- <input
28
- type="{{ item.type }}"
29
- value="{{ option.value }}"
30
- name="{{ item.name }}"
31
- id="{{ item.mce-id }}-{{ option.mce-id }}" {{ item.autofocus }}>
32
- <label
33
- for="{{ item.mce-id }}-{{ option.mce-id }}">
34
- {{ option.name }}
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
- <select name="{{ item.name }}" class="form--select form--elem {% if item.required %}required {% endif %}" id="{{ item.mce-id }}" {{ item.autofocus }}>
43
- {% for option in item.opts %}
44
- <option
45
- type="{{ item.type }}"
46
- value="{{ option.value }}"
47
- name="{{ item.name }}"
48
- id="{{ item.mce-id }}-{{ option.mce-id }}">
49
- {{ option.name }}
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
- <textarea
57
- rows="4"
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
- <label class="form--label {{ item.type }}-label--mod" for="{{ item.mce-id }}">
65
- <p>{{ item.label }}</p>
66
- <span class="styled-checkbox__block">
67
- <input type="checkbox" class="styled-checkbox switch" id="{{ item.mce-id }}" {{ item.autofocus }}>
68
- <span class="icon"><span class="icon--elem"></span></span>
69
- <span class="no">NO</span>
70
- <span class="yes">YES</span>
71
- </span>
72
- </label>
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
- <input
77
- type="{{ item.type }}"
78
- value=""
79
- {% if item.type == 'tel' %}
80
- placeholder="Landline or mobile"
81
- pattern="[0-9]{3}-[0-9]{3}-[0-9]{3}"
82
- {% endif %}
83
- name="{{ item.name }}"
84
- class="{% if item.required %}required {% endif %} form--input form--elem"
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
- {% endfor %}
75
+ {% endfor %}
91
76
 
92
- <div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
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
- {% for item in site.data.forms[page.env].gdpr %}
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
- <label class="mc--{{ item.width }} form--label {{ item.type }}-label--mod checkbox subfield" for="gdpr_{{ item.mce-id }}">
100
- <p>{{ item.label }}</p>
101
- <span class="styled-checkbox__block">
102
- <input type="checkbox" class="styled-checkbox switch av-checkbox gdpr" id="gdpr_{{ item.mce-id }}" value="Y" name="{{ item.name }}">
103
- <span class="icon"><span class="icon--elem"></span></span>
104
- <span class="no">NO</span>
105
- <span class="yes">YES</span>
106
- </span>
107
- </label>
108
- {% endfor %}
109
- </fieldset>
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
- <p class="content__gdprLegal">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>.</p>
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
- <div class="clear">
122
- <input type="submit" value="Submit" name="subscribe" id="mc-embedded-subscribe" class="button">
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
- <div id="mce-responses" class="clear">
127
- <div class="response" id="mce-error-response" style="display:none">
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
- </div>
126
+ </select>
127
+ </div>
141
128
 
142
- </form>
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
- <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
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
- <script type='text/javascript'>
148
- (function($) {
149
- window.fnames = new Array();
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>