j1_template_mde 2018.4.17 → 2018.4.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/boards/news_pin_board.html +10 -10
  3. data/_includes/themes/j1/modules/headers/master_header_generator.html +26 -26
  4. data/_includes/themes/j1/modules/search/algolia.html +181 -0
  5. data/_includes/themes/j1/modules/search/docsearch.html +42 -0
  6. data/_includes/themes/j1/procedures/layouts/content_writer.proc +8 -8
  7. data/_includes/themes/j1/procedures/layouts/default_writer.proc +11 -11
  8. data/_includes/themes/j1/procedures/layouts/module_writer.proc +7 -7
  9. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +2 -2
  10. data/_includes/themes/j1/procedures/posts/collate_calendar.proc +3 -6
  11. data/_includes/themes/j1/procedures/posts/collate_list.proc +3 -9
  12. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +3 -3
  13. data/_includes/themes/j1/procedures/posts/create_ad_block.proc +3 -3
  14. data/_includes/themes/j1/procedures/posts/create_series_header.proc +4 -4
  15. data/_layouts/app.html +5 -5
  16. data/_layouts/blog_archive.html +5 -5
  17. data/_layouts/collection.html +5 -5
  18. data/_layouts/compress.html +2 -2
  19. data/_layouts/default.html +1 -0
  20. data/_layouts/home.html +5 -5
  21. data/_layouts/page.html +5 -5
  22. data/_layouts/post.html +5 -5
  23. data/_layouts/raw.html +5 -5
  24. data/lib/j1/version.rb +1 -1
  25. data/lib/starter_web/Gemfile +10 -9
  26. data/lib/starter_web/_config.yml +12 -1
  27. data/lib/starter_web/_data/apps/j1_carousel.yml +2 -2
  28. data/lib/starter_web/_data/j1_resources.yml +94 -91
  29. data/lib/starter_web/_data/layouts/home.yml +106 -61
  30. data/lib/starter_web/_data/modules/j1_back2top.yml +2 -2
  31. data/lib/starter_web/_data/modules/j1_banner.yml +154 -188
  32. data/lib/starter_web/_data/modules/j1_footer.yml +7 -7
  33. data/lib/starter_web/_data/modules/j1_header.yml +2 -2
  34. data/lib/starter_web/_data/modules/j1_navigator.yml +11 -11
  35. data/lib/starter_web/_data/modules/j1_navigator_menu.yml +15 -23
  36. data/lib/starter_web/_data/modules/j1_panel.yml +92 -304
  37. data/lib/starter_web/_data/modules/j1_toccer.yml +1 -1
  38. data/lib/starter_web/assets/data/banner.html +95 -26
  39. data/lib/starter_web/assets/data/menu.html +17 -17
  40. data/lib/starter_web/assets/data/panel.html +269 -201
  41. data/lib/starter_web/assets/data/panel.org.html +611 -0
  42. data/lib/starter_web/assets/images/blog/featured/{img3.jpg → welcome-to-j1-template.jpg} +0 -0
  43. data/lib/starter_web/assets/images/mdb/lightbox/default-skin.png +0 -0
  44. data/lib/starter_web/assets/images/mdb/lightbox/default-skin.svg +1 -0
  45. data/lib/starter_web/assets/images/mdb/lightbox/preloader.gif +0 -0
  46. data/lib/starter_web/assets/images/mdb/overlays/01.png +0 -0
  47. data/lib/starter_web/assets/images/mdb/overlays/02.png +0 -0
  48. data/lib/starter_web/assets/images/mdb/overlays/03.png +0 -0
  49. data/lib/starter_web/assets/images/mdb/overlays/04.png +0 -0
  50. data/lib/starter_web/assets/images/mdb/overlays/05.png +0 -0
  51. data/lib/starter_web/assets/images/mdb/overlays/06.png +0 -0
  52. data/lib/starter_web/assets/images/mdb/overlays/07.png +0 -0
  53. data/lib/starter_web/assets/images/mdb/overlays/08.png +0 -0
  54. data/lib/starter_web/assets/images/mdb/overlays/09.png +0 -0
  55. data/lib/starter_web/assets/images/mdb/svg/arrow_left.svg +4 -0
  56. data/lib/starter_web/assets/images/mdb/svg/arrow_right.svg +4 -0
  57. data/lib/starter_web/assets/themes/j1/core/css/bootstrap.css +0 -15
  58. data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.css +10969 -2746
  59. data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  60. data/lib/starter_web/assets/themes/j1/core/css/uno.css +10558 -10317
  61. data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
  62. data/lib/starter_web/assets/themes/j1/core/css/vendor.css +30052 -28474
  63. data/lib/starter_web/assets/themes/j1/core/css/vendor.min.css +9 -2
  64. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.eot +0 -0
  65. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.ttf +0 -0
  66. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff +0 -0
  67. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Bold.woff2 +0 -0
  68. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.eot +0 -0
  69. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.ttf +0 -0
  70. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.woff +0 -0
  71. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Light.woff2 +0 -0
  72. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.eot +0 -0
  73. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.ttf +0 -0
  74. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff +0 -0
  75. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Medium.woff2 +0 -0
  76. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.eot +0 -0
  77. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.ttf +0 -0
  78. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff +0 -0
  79. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Regular.woff2 +0 -0
  80. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.eot +0 -0
  81. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.ttf +0 -0
  82. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.woff +0 -0
  83. data/lib/starter_web/assets/themes/j1/core/fonts/roboto/fonts/Roboto-Thin.woff2 +0 -0
  84. data/lib/starter_web/assets/themes/j1/core/js/adapter/master_header.js +108 -113
  85. data/lib/starter_web/assets/themes/j1/core/js/adapter/template.js +86 -27
  86. data/lib/starter_web/assets/themes/j1/core/js/template.js +17 -6
  87. data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
  88. data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
  89. data/lib/starter_web/assets/themes/j1/extensions/bmd/css/bootstrap-material-design.css +11194 -0
  90. data/lib/starter_web/assets/themes/j1/extensions/bmd/css/bootstrap-material-design.min.css +8 -0
  91. data/lib/starter_web/assets/themes/j1/extensions/bmd/js/bootstrap-material-design.js +6048 -0
  92. data/lib/starter_web/assets/themes/j1/extensions/bmd/js/bootstrap-material-design.js.map +1 -0
  93. data/lib/starter_web/assets/themes/j1/extensions/bmd/js/bootstrap-material-design.min.js +1 -0
  94. data/lib/starter_web/assets/themes/j1/extensions/bmd/js/umd/popper.js +2580 -0
  95. data/lib/starter_web/assets/themes/j1/extensions/bmd/js/umd/popper.min.js +5 -0
  96. data/lib/starter_web/assets/themes/j1/extensions/bmd/js/umd/popper.min.js.map +1 -0
  97. data/lib/starter_web/assets/themes/j1/extensions/light_gallery/js/lg-fullscreen.js +8 -2
  98. data/lib/starter_web/assets/themes/j1/extensions/mdb/CODE_OF_CONDUCT.md +39 -0
  99. data/lib/starter_web/assets/themes/j1/extensions/mdb/CONTRIBUTING.md +32 -0
  100. data/lib/starter_web/assets/themes/j1/extensions/mdb/License.pdf +0 -0
  101. data/lib/starter_web/assets/themes/j1/extensions/mdb/README.md +256 -0
  102. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/addons/datatables.css +147 -0
  103. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/addons/datatables.min.css +1 -0
  104. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/bootstrap.css +9030 -0
  105. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/bootstrap.min.css +7 -0
  106. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/mdb.css +8125 -0
  107. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/mdb.lite.css +5802 -0
  108. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/mdb.lite.min.css +38 -0
  109. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/mdb.min.css +44 -0
  110. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/modules/animations-extended.css +2327 -0
  111. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/modules/animations-extended.min.css +7 -0
  112. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/style.css +0 -0
  113. data/lib/starter_web/assets/themes/j1/extensions/mdb/css/style.min.css +0 -0
  114. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Bold.eot +0 -0
  115. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Bold.ttf +0 -0
  116. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Bold.woff +0 -0
  117. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Bold.woff2 +0 -0
  118. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Light.eot +0 -0
  119. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Light.ttf +0 -0
  120. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Light.woff +0 -0
  121. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Light.woff2 +0 -0
  122. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Medium.eot +0 -0
  123. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Medium.ttf +0 -0
  124. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Medium.woff +0 -0
  125. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Medium.woff2 +0 -0
  126. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Regular.eot +0 -0
  127. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Regular.ttf +0 -0
  128. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Regular.woff +0 -0
  129. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Regular.woff2 +0 -0
  130. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Thin.eot +0 -0
  131. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Thin.ttf +0 -0
  132. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Thin.woff +0 -0
  133. data/lib/starter_web/assets/themes/j1/extensions/mdb/font/roboto/Roboto-Thin.woff2 +0 -0
  134. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/lightbox/default-skin.png +0 -0
  135. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/lightbox/default-skin.svg +1 -0
  136. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/lightbox/preloader.gif +0 -0
  137. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/01.png +0 -0
  138. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/02.png +0 -0
  139. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/03.png +0 -0
  140. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/04.png +0 -0
  141. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/05.png +0 -0
  142. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/06.png +0 -0
  143. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/07.png +0 -0
  144. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/08.png +0 -0
  145. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/overlays/09.png +0 -0
  146. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/svg/arrow_left.svg +4 -0
  147. data/lib/starter_web/assets/themes/j1/extensions/mdb/img/svg/arrow_right.svg +4 -0
  148. data/lib/starter_web/assets/themes/j1/extensions/mdb/index.html +44 -0
  149. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/addons/datatables.js +15500 -0
  150. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/addons/datatables.min.js +3 -0
  151. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/bootstrap.js +3944 -0
  152. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/bootstrap.min.js +7 -0
  153. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/jquery-3.3.1.min.js +2 -0
  154. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/mdb.js +15730 -0
  155. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/mdb.min.js +1 -0
  156. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/chart.js +14456 -0
  157. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/default-file-input.js +22 -0
  158. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/enhanced-modals.js +26 -0
  159. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/forms-free.js +173 -0
  160. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/jquery.easing.js +205 -0
  161. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/scrolling-navbar.js +16 -0
  162. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/velocity.js +5 -0
  163. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/velocity.min.js +5 -0
  164. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/waves.js +603 -0
  165. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/wow.js +180 -0
  166. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/popper.min.js +5 -0
  167. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +33 -17
  168. data/lib/starter_web/collections/posts/public/featured/_posts/2017-05-01-confusion-about-base-url.adoc +13 -3
  169. data/lib/starter_web/collections/posts/public/featured/_posts/2017-06-01-top-open-source-static-site-generators.adoc +5 -3
  170. data/lib/starter_web/collections/posts/public/featured/_posts/2017-07-01-what-is-a-static-site.adoc +23 -15
  171. data/lib/starter_web/index.html +24 -24
  172. data/lib/starter_web/package.json +1 -1
  173. data/lib/starter_web/pages/private/previewer/justified_gallery.html +1 -1
  174. data/lib/starter_web/pages/private/previewer/mdi_icons_preview.adoc +4 -4
  175. data/lib/starter_web/pages/public/panels/service_panel_components.adoc +36 -0
  176. data/lib/starter_web/pages/public/panels/service_panel_core.adoc +39 -0
  177. data/lib/starter_web/pages/public/panels/service_panel_modules.adoc +37 -0
  178. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +84 -84
  179. data/lib/starter_web/pages/public/start/bmd_examples/000_includes/attributes.asciidoc +58 -0
  180. data/lib/starter_web/pages/public/start/bmd_examples/100_bmd_landing_page.adoc +256 -0
  181. data/lib/starter_web/pages/public/start/change_me_first.adoc +1 -4
  182. data/lib/starter_web/pages/public/start/roundtrip/100_present_images.adoc +10 -9
  183. data/lib/starter_web/pages/public/start/roundtrip/200_cards.adoc +33 -32
  184. data/lib/starter_web/pages/public/start/roundtrip/500_asciidoc_extensions.adoc +15 -0
  185. data/lib/starter_web/pages/public/start/roundtrip/{700_j1_modals.adoc → 700_extended_modals.adoc} +0 -0
  186. data/lib/starter_web/pages/public/start/roundtrip/800_search_engine.adoc +185 -0
  187. metadata +109 -7
  188. data/_includes/themes/j1/procedures/posts/_collate_timeline.proc +0 -253
  189. data/_layouts/_unused/default.html +0 -347
  190. data/_layouts/_unused/default.modal.html +0 -291
@@ -143,7 +143,7 @@ defaults:
143
143
  headingsOffset: 500
144
144
  ignoreSelector: .notoc
145
145
  contentSelector: .js-toc-content
146
- activeLinkColor: "#E91E63"
146
+ activeLinkColor: "#3F51B5"
147
147
  collapseDepth: 2
148
148
  throttleTimeout: 50
149
149
  includeHtml: false
@@ -91,11 +91,17 @@ regenerate: false
91
91
  <div id="{{id}}">
92
92
  {% case type %}
93
93
 
94
+ {% comment %} Collect DIVIDER banner
95
+ -------------------------------------------------------------------------- {% endcomment %}
96
+ {% when 'divider_banner' %}
97
+ <div class="row banner-divider"></div>
98
+
99
+
94
100
  {% comment %} Collect TEASER banner
95
101
  -------------------------------------------------------------------------- {% endcomment %}
96
102
  {% when 'teaser_banner' %}
97
103
 
98
- <div class="banner-teaser">
104
+ <div class="banner-teaser {{id}}-background">
99
105
  <div class="{{container_class}} j1-banner-block">
100
106
 
101
107
  {% assign box_items = boxes | size %}
@@ -147,7 +153,7 @@ regenerate: false
147
153
  {% endif %}
148
154
 
149
155
  {% assign patreon_enabled = true %}
150
- {% assign patreon_home = 'https://www.patreon.com' %}
156
+ {% assign patreon_home = 'https://www.patreon.com' %}
151
157
  {% assign pledge_url = 'join' %}
152
158
  {% assign vanity = 'jekyll_one' %}
153
159
  {% assign pledge_button_text = 'Become a Patron' %}
@@ -161,14 +167,14 @@ regenerate: false
161
167
  <h3 class="title">{{box_title}}</h3>
162
168
  <p class="description">{{box_description}}</p>
163
169
  <p class="tagline mt-4">{{box_tagline}}</p>
164
- </div>
165
- </div>
166
- <div class="row btn-row mt-4">
167
- <div class="col-md-{{box_width_md}} col-md-offset-1 col-sm-{{box_width_md}} col-sm-offset-1 col-xs-{{box_width_md | plus:2}}">
168
- {% for button_hash in box_buttons %}
169
- {% include {{create_bs_button}} button_data=button_hash button_type="link" %}
170
- {{bs_button_html}}
171
- {% endfor %}
170
+ <div class="row btn-row mt-4">
171
+ <div class="col-md-{{box_width_md}} col-md-offset-1 col-sm-{{box_width_md}} col-sm-offset-1 col-xs-{{box_width_md | plus:2}}">
172
+ {% for button_hash in box_buttons %}
173
+ {% include {{create_bs_button}} button_data=button_hash button_type="link" %}
174
+ {{bs_button_html}}
175
+ {% endfor %}
176
+ </div>
177
+ </div>
172
178
  </div>
173
179
  </div>
174
180
  {% endif %}
@@ -199,6 +205,72 @@ regenerate: false
199
205
  {% comment %} END TEASER banner
200
206
  -------------------------------------------------------------------------- {% endcomment %}
201
207
 
208
+ {% comment %} Collect IMAGE banner
209
+ -------------------------------------------------------------------------- {% endcomment %}
210
+ {% when 'image_banner' %}
211
+
212
+ {% for box in boxes %}
213
+
214
+ {% for items in box %}
215
+ {% for item in items[1] %}
216
+ {% assign key = item[0] %}
217
+ {% assign value = item[1] %}
218
+ {% if key == 'enabled' %} {% assign enabled = value %} {% endif %}
219
+ {% if key == 'gridify' %} {% assign gridify = value %} {% endif %}
220
+ {% if key == 'gridifier' %} {% assign gridifier = value %} {% endif %}
221
+ {% if key == 'darken' %} {% assign darken = value %} {% endif %}
222
+ {% if key == 'size_y' %} {% assign size_y = value %} {% endif %}
223
+ {% if key == 'background_image' %} {% assign background_image = value %} {% endif %}
224
+ {% endfor %}
225
+ {% endfor %}
226
+
227
+ {% if enabled %}
228
+
229
+ {% capture darken %}0.{{darken}}{% endcapture %}
230
+
231
+ {% comment %} Set STYLE tags
232
+ -------------------------------------------------------------------- {% endcomment %}
233
+ $('head').append(
234
+ "<style>
235
+ .{{id}}-image{background:url("{{background_image}}"); min-height: {{size_y}}px; background-position: center; background-repeat: no-repeat; background-size: cover; }
236
+ /* .{{id}}-image:before{top:0;left:0;width:100%;height:100%;content:" ";position:absolute;{% if gridify == true %}background: url("{{gridifier}}") repeat;{% endif %}} */
237
+ /* .{{id}}-image:after{top:0;left:0;width:100%;height:100%;content:" ";position:absolute;background:rgba(0,0,0,{{darken}})} */
238
+ </style>"
239
+ );
240
+
241
+ <div class="panel-fluid">
242
+ <div class="row no-gutters {{id}}-image"></div>
243
+ </div>
244
+
245
+ {% endif %}
246
+ {% endfor %}
247
+ {% comment %} END boxes
248
+ ------------------------------------------------------------------------ {% endcomment %}
249
+
250
+ {% comment %} Reset element variables
251
+ ------------------------------------------------------------------------ {% endcomment %}
252
+ {% assign box_enabled = nil %}
253
+ {% assign box_width = nil %}
254
+ {% assign box_type = nil %}
255
+ {% assign box_icon = nil %}
256
+ {% assign box_icon_color = nil %}
257
+ {% assign box_icon_size = nil %}
258
+ {% assign box_image_path = nil %}
259
+ {% assign box_animate = nil %}
260
+ {% assign box_title = nil %}
261
+ {% assign box_tagline = nil %}
262
+ {% assign box_text = nil %}
263
+ {% assign box_buttons = nil %}
264
+ {% assign box_width_md = nil %}
265
+ {% assign box_cite = nil %}
266
+ {% assign box_gridifye = nil %}
267
+ {% assign box_darken = nil %}
268
+ {% assign box_background_size = nil %}
269
+ {% assign box_background_image = nil %}
270
+
271
+ {% comment %} END IMAGE banner
272
+ ------------------------------------------------------------------------ {% endcomment %}
273
+
202
274
 
203
275
  {% comment %} Collect PARALLAX banner
204
276
  -------------------------------------------------------------------------- {% endcomment %}
@@ -219,9 +291,8 @@ regenerate: false
219
291
  {% if key == 'gridify' %} {% assign box_gridify = value %} {% endif %}
220
292
  {% if key == 'gridifier' %} {% assign box_gridifier = value %} {% endif %}
221
293
  {% if key == 'darken' %} {% assign box_darken = value %} {% endif %}
294
+ {% if key == 'size_y' %} {% assign box_background_size = value %} {% endif %}
222
295
  {% if key == 'background_image' %} {% assign box_background_image = value %} {% endif %}
223
- {% if key == 'background_position_x' %} {% assign box_background_position_x = value %} {% endif %}
224
- {% if key == 'background_position_y' %} {% assign box_background_position_y = value %} {% endif %}
225
296
  {% endfor %}
226
297
  {% endfor %}
227
298
 
@@ -231,8 +302,6 @@ regenerate: false
231
302
  -------------------------------------------------------------------- {% endcomment %}
232
303
  {% assign parallax_defaults = site.data.modules.j1_parallax.parallax_quote %}
233
304
  {% assign background_image = parallax_defaults.background %}
234
- {% assign background_pos_x = parallax_defaults.background_pos_x %}
235
- {% assign background_pos_y = parallax_defaults.background_pos_y %}
236
305
  {% assign gridify = parallax_defaults.gridify %}
237
306
  {% assign gridifier = parallax_defaults.gridifier %}
238
307
  {% assign text_color = parallax_defaults.text_color %}
@@ -246,9 +315,8 @@ regenerate: false
246
315
  {% if box_darken %} {% assign darken = box_darken %} {% endif %}
247
316
  {% if box_text_color %} {% assign text_color = box_text_color %} {% endif %}
248
317
  {% if box_cite_color %} {% assign cite_color = box_cite_color %} {% endif %}
318
+ {% if box_background_size %} {% assign size_y = box_background_size %} {% endif %}
249
319
  {% if box_background_image %} {% assign background_image = box_background_image %} {% endif %}
250
- {% if box_background_position_x %} {% assign background_pos_x = box_background_position_x %} {% endif %}
251
- {% if box_background_position_y %} {% assign background_pos_y = box_background_position_y %} {% endif %}
252
320
 
253
321
  {% capture darken %}0.{{darken}}{% endcapture %}
254
322
 
@@ -262,31 +330,33 @@ regenerate: false
262
330
  ----------------------------------------------------- {% endcomment %}
263
331
  $('head').append(
264
332
  "<style>
265
- .{{id}}-parallaxBg{background:url({{background_image}}) 50% 0 repeat fixed}
333
+ .{{id}}-parallaxBg{background:url("{{background_image}}"); min-height: {{size_y}}px; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
266
334
  .{{id}}-parallax-quote{color:#fff;padding:100px 0;position:relative;text-align:center}
267
- .{{id}}-parallax-quote:before{top:0;left:0;width:100%;height:100%;content:" ";position:absolute;{% if gridify %}background:url({{gridifier}}) repeat;{% endif %}}
335
+ .{{id}}-parallax-quote:before{top:0;left:0;width:100%;height:100%;content:" ";position:absolute;{% if gridify == true %}background: url("{{gridifier}}") repeat;{% endif %}}
268
336
  .{{id}}-parallax-quote:after{top:0;left:0;width:100%;height:100%;content:" ";position:absolute;background:rgba(0,0,0,{{darken}})}
269
- .{{id}}-parallax-quote-in{z-index:1;position:relative}
337
+ .{{id}}-parallax-quote-in{z-index: 2;position:absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; padding: 20px; text-align: center; }
270
338
  .{{id}}-parallax-quote-in p{color:{{text_color}};font-size:200%;text-transform:uppercase;}
339
+ {% if box_text %}
271
340
  .{{id}}-parallax-quote-in p:after,.{{id}}-parallax-quote-in p:before{content:' " ';}
341
+ {% endif %}
272
342
  .{{id}}-parallax-quote-in small{color:{{cite_color}};font-size:100%;font-weight:600;}
273
343
  .{{id}}-parallax-quote:after{background: rgba(0,0,0,{{darken}})}
274
- .{{id}}-parallaxBg{background: url({{background_image}} {{background_pos_x}} {{background_pos_y}} repeat fixed}
275
344
  </style>"
276
345
  );
277
346
 
278
- <div class="{{container_class}} j1-banner-block">
347
+ <!-- div class="{{container_class}} j1-banner-block" -->
348
+ <div class="panel-fluid">
279
349
  <div class="row no-gutters {{id}}-parallax-quote {{id}}-parallaxBg">
280
350
  <div class="col-md-12 col-xs-12 {{id}}-parallax-quote-in">
281
- <p>{{box_text}}</p>
282
- <i>{{box_cite}}</i>
351
+ {% if box_text %} <p>{{box_text}}</p>{% endif %}
352
+ {% if box_text %}<i>{{box_cite}}</i>{% endif %}
283
353
  </div>
284
354
  </div>
285
355
  </div>
286
356
 
287
357
  {% endif %}
288
358
  {% endfor %}
289
- {% comment %} END boxes
359
+ {% comment %} END boxes
290
360
  ------------------------------------------------------------------------ {% endcomment %}
291
361
 
292
362
  {% comment %} Reset element variables
@@ -307,9 +377,8 @@ regenerate: false
307
377
  {% assign box_cite = nil %}
308
378
  {% assign box_gridifye = nil %}
309
379
  {% assign box_darken = nil %}
380
+ {% assign box_background_size = nil %}
310
381
  {% assign box_background_image = nil %}
311
- {% assign box_background-position-x = nil %}
312
- {% assign box_background-position-y = nil %}
313
382
 
314
383
  {% comment %} END PARALLAX banner
315
384
  ------------------------------------------------------------------------ {% endcomment %}
@@ -175,9 +175,9 @@ regenerate: true
175
175
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [submenu level 1 detected] -->
176
176
  <li class="dropdown nav-item">
177
177
  {% if menu.icon == null %}
178
- <a href="javascript:void(0)" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{ menu.item }}</a>
178
+ <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{ menu.item }}</a>
179
179
  {% else %}
180
- <a href="javascript:void(0)" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"> <i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{menu.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i>{{ menu.item }}</a>
180
+ <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"> <i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{menu.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i>{{ menu.item }}</a>
181
181
  {% endif %}
182
182
 
183
183
  <!-- jadams, 2017-11-24: (3) ul class="dropdown-menu {{nav_menu_position}} raised-z{{raised_level}}" style="opacity: 1; display: none;" -->
@@ -203,9 +203,9 @@ regenerate: true
203
203
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [submenu level 2 (dropdown) detected] -->
204
204
  <li class="dropdown nav-item nav-sub-item">
205
205
  {% if level_1.icon == null %}
206
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">{{ level_1.title }}</a>
206
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ level_1.title }}</a>
207
207
  {% else %}
208
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{level_1.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{ level_1.title }}</a>
208
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{level_1.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{ level_1.title }}</a>
209
209
  {% endif %}
210
210
  <!-- jadams, 2017-11-24: (4) ul class="dropdown-menu {{nav_menu_position}} raised-z{{raised_level}}" style="opacity: 1;" -->
211
211
  <ul class="dropdown-menu {{nav_menu_position}} raised-z{{raised_level}}">
@@ -230,9 +230,9 @@ regenerate: true
230
230
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [submenu level 3 detected (last level supported)] -->
231
231
  <li class="dropdown nav-item nav-sub-item">
232
232
  {% if level_2.icon == null %}
233
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">{{ level_2.title }}</a>
233
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ level_2.title }}</a>
234
234
  {% else %}
235
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{level_2.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{ level_2.title }}</a>
235
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{level_2.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{ level_2.title }}</a>
236
236
  {% endif %}
237
237
  <!-- jadams, 2017-11-24: (5) ul class="dropdown-menu {{nav_menu_position}} raised-z{{raised_level}}" style="opacity: 1;" -->
238
238
  <ul class="dropdown-menu {{nav_menu_position}} raised-z{{raised_level}}">
@@ -276,7 +276,7 @@ regenerate: true
276
276
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [Calculated size of mm_columns: {{ columns_width_md }}] -->
277
277
 
278
278
  <li class="dropdown nav-item megamenu-fw">
279
- <a href="javascript:void(0)" class="nav-link dropdown-toggle" data-toggle="dropdown">{{menu.item}} </a>
279
+ <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">{{menu.item}} </a>
280
280
  <ul class="dropdown-menu megamenu-content raised-z{{raised_level}}" style="max-height: {{nav_menu_options.max_height}}px; overflow-x: hidden; overflow-y: auto;" role="menu">
281
281
  <li>
282
282
  <div class="row">
@@ -345,7 +345,7 @@ regenerate: true
345
345
  {% when 'auth_client' %}
346
346
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [found menu-type: auth_client] -->
347
347
  <li id="menuBarSignInOut" class="dropdown nav-item">
348
- <a href="javascript:void(0)" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{menu.item}} </a>
348
+ <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{menu.item}} </a>
349
349
 
350
350
  {% if nav_menu_animation %}
351
351
  <!-- jadams, 2017-11-24: (1) ul class="dropdown-menu {{nav_menu_position}} raised-z{{raised_level}}" style="opacity: 1; display: none;" -->
@@ -362,7 +362,7 @@ regenerate: true
362
362
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [START: check signin] -->
363
363
  {% if item.mode == 'signin' %}
364
364
  <li class="dropdown-item">
365
- <a href="javascript:void(0)" data-toggle="modal" data-target="#modalOmniSignIn"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}}" style="color:{{nav_menu_icon_color}}"></i>{{item.title}}</a>
365
+ <a href="#" data-toggle="modal" data-target="#modalOmniSignIn"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}}" style="color:{{nav_menu_icon_color}}"></i>{{item.title}}</a>
366
366
  </li>
367
367
  {% assign item_found = 'true' %}
368
368
  {% endif %}
@@ -371,7 +371,7 @@ regenerate: true
371
371
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [START: check signout] -->
372
372
  {% if item.mode == 'signout' %}
373
373
  <li class="dropdown-item">
374
- <a href="javascript:void(0)" data-toggle="modal" data-target="#modalOmniSignOut"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}}" style="color:{{nav_menu_icon_color}}"></i>{{item.title}}</a>
374
+ <a href="#" data-toggle="modal" data-target="#modalOmniSignOut"><i class="{{nav_menu_icon_style}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}}" style="color:{{nav_menu_icon_color}}"></i>{{item.title}}</a>
375
375
  </li>
376
376
  {% assign item_found = 'true' %}
377
377
  {% endif %}
@@ -381,9 +381,9 @@ regenerate: true
381
381
  <!-- [FATAL ] [j1.modules.navigator.menu.html ] [no valid menu item config found] -->
382
382
  <li class="dropdown-item">
383
383
  {% if item.title %}
384
- <a href="javascript:void(0)" >Invalid: {{item.title}}</a>
384
+ <a href="#" >Invalid: {{item.title}}</a>
385
385
  {% else %}
386
- <a href="javascript:void(0)" >Item invalid</a>
386
+ <a href="#" >Item invalid</a>
387
387
  {% endif %}
388
388
  </li>
389
389
  {% endif %}
@@ -400,7 +400,7 @@ regenerate: true
400
400
  {% when 'theme_select' %}
401
401
  <!-- [INFO ] [j1.modules.navigator.menu.html ] [found menu-type: theme_select] -->
402
402
  <li class="dropdown nav-item">
403
- <a href="javascript:void(0)" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{menu.item}} </a>
403
+ <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{menu.item}} </a>
404
404
  {% if nav_menu_animation %}
405
405
  <ul class="dropdown-menu raised-z{{raised_level}}">
406
406
  <!-- ul class="dropdown-menu data-in="{{nav_menu_animation}}" data-out="{{nav_menu_animation}}" -->
@@ -412,7 +412,7 @@ regenerate: true
412
412
  <!-- check for J1 Theme selector -->
413
413
  {% if item.local_themes and item.local_themes == 'enabled' %}
414
414
  <li class="dropdown nav-item nav-sub-item">
415
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"><i class="dropdown {{nav_menu_icon_family}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{item.title}}</a>
415
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"><i class="dropdown {{nav_menu_icon_family}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{item.title}}</a>
416
416
  <ul class="dropdown-menu raised-z{{raised_level}}" id="ThemeSelect"> </ul>
417
417
  </li>
418
418
  {% assign item_found = 'true' %}
@@ -420,7 +420,7 @@ regenerate: true
420
420
  <!-- check for BootSwatch theme selector -->
421
421
  {% if item.bootswatch_themes and item.bootswatch_themes == 'enabled' %}
422
422
  <li class="dropdown nav-item nav-sub-item">
423
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"><i class="dropdown {{nav_menu_icon_family}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{item.title}}</a>
423
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"><i class="dropdown {{nav_menu_icon_family}} {{nav_menu_icon_family}}-{{item.icon}} {{nav_menu_icon_size}} mr-2" style="color:{{nav_menu_icon_color}}"></i> {{item.title}}</a>
424
424
  <ul class="dropdown-menu raised-z{{raised_level}}" id="ThemeList"> </ul>
425
425
  </li>
426
426
  {% assign item_found = 'true' %}
@@ -435,9 +435,9 @@ regenerate: true
435
435
  {% if item_found == 'false' %}
436
436
  <li>
437
437
  {% if item.title %}
438
- <a href="javascript:void(0)" >Invalid: {{item.title}}</a>
438
+ <a href="#" >Invalid: {{item.title}}</a>
439
439
  {% else %}
440
- <a href="javascript:void(0)" >Item invalid</a>
440
+ <a href="#" >Item invalid</a>
441
441
  {% endif %}
442
442
  </li>
443
443
  {% endif %} <!-- end fallback -->
@@ -46,16 +46,18 @@ regenerate: true
46
46
  {% for item in panel %}
47
47
  {% assign key = item[0] %}
48
48
  {% assign value = item[1] %}
49
- {% if key == 'id' %} {% assign id = value %} {% endif %}
50
- {% if key == 'enabled' %} {% assign enabled = value %} {% endif %}
51
- {% if key == 'type' %} {% assign type = value %} {% endif %}
52
- {% if key == 'icon_family' %} {% assign icon_family = value | downcase %} {% endif %}
53
- {% if key == 'style' %} {% assign style = value %} {% endif %}
54
- {% if key == 'raised' %} {% assign raised = value %} {% endif %}
55
- {% if key == 'lane_span' %} {% assign lane_span = value %} {% endif %}
56
- {% if key == 'buttons' %} {% assign buttons = value %} {% endif %}
57
- {% if key == 'cards' %} {% assign cards = value %} {% endif %}
58
- {% if key == 'boxes' %} {% assign boxes = value %} {% endif %}
49
+ {% if key == 'id' %} {% assign id = value %} {% endif %}
50
+ {% if key == 'enabled' %} {% assign enabled = value %} {% endif %}
51
+ {% if key == 'type' %} {% assign type = value %} {% endif %}
52
+ {% if key == 'icon_family' %} {% assign icon_family = value|downcase %} {% endif %}
53
+ {% if key == 'style' %} {% assign style = value %} {% endif %}
54
+ {% if key == 'raised' %} {% assign raised = value %} {% endif %}
55
+ {% if key == 'lane_span' %} {% assign lane_span = value %} {% endif %}
56
+ {% if key == 'title' %} {% assign title = value|strip_newlines %} {% endif %}
57
+ {% if key == 'tagline' %} {% assign tagline = value|strip_newlines %} {% endif %}
58
+ {% if key == 'buttons' %} {% assign buttons = value %} {% endif %}
59
+ {% if key == 'cards' %} {% assign cards = value %} {% endif %}
60
+ {% if key == 'boxes' %} {% assign boxes = value %} {% endif %}
59
61
  {% endfor %}
60
62
  {% endfor %}
61
63
 
@@ -85,6 +87,11 @@ regenerate: true
85
87
 
86
88
  {% assign row_class = 'row j1-panel-block' %}
87
89
 
90
+ {% if style == 'flat' %}
91
+ {% assign card_style = 'card-flat' %}
92
+ {% else %}
93
+ {% assign card_style = '' %}
94
+ {% endif %}
88
95
 
89
96
  <!-- PANEL {{id}} -->
90
97
  <!-- +++++++++++++++++++++++++ -->
@@ -157,6 +164,86 @@ regenerate: true
157
164
  </div>
158
165
  </div>
159
166
 
167
+ {% assign title = nil %}
168
+ {% assign tagline = nil %}
169
+ {% assign card_enabled = nil %}
170
+ {% assign card_type = nil %}
171
+ {% assign card_icon = nil %}
172
+ {% assign icon_family = nil %}
173
+ {% assign card_text = nil %}
174
+ {% assign card_buttons = nil %}
175
+ {% assign card_width_md = nil %}
176
+
177
+ {% comment %} END INTRO panel
178
+ ---------------------------------------------------------------------------- {% endcomment %}
179
+
180
+
181
+ {% comment %} Collect INTRO panel - flat
182
+ ---------------------------------------------------------------------------- {% endcomment %}
183
+ {% when 'intro_panel_flat' %}
184
+
185
+ <div class="panel-intro">
186
+ <div class="{{container_class}}">
187
+ <div class="{{row_class}}">
188
+
189
+ {% assign card_items = cards | size %}
190
+
191
+ {% for card in cards %}
192
+
193
+ {% for items in card %}
194
+ {% for item in items[1] %}
195
+ {% assign key = item[0] %}
196
+ {% assign value = item[1] %}
197
+ {% if key == 'enabled' %} {% assign card_enabled = value %} {% endif %}
198
+ {% if key == 'type' %} {% assign card_type = value %} {% endif %}
199
+ {% if key == 'icon' %} {% assign card_icon = value %} {% endif %}
200
+ {% if key == 'icon_size' %} {% assign card_icon_size = value %} {% endif %}
201
+ {% if key == 'icon_color' %} {% assign card_icon_color = value %} {% endif %}
202
+ {% if key == 'text' %} {% assign card_text = value | strip_newlines %} {% endif %}
203
+ {% if key == 'buttons' %} {% assign card_buttons = value %} {% endif %}
204
+ {% endfor %}
205
+ {% if card_enabled == false %} {% assign card_items = card_items | minus:1 %} {% endif %}
206
+ {% endfor %}
207
+
208
+ {% assign card_width_md = 12 | divided_by: card_items %}
209
+
210
+ {% if card_type == 'text' and card_enabled %}
211
+ <div class="col-md-{{card_width_md}} col-sm-{{card_width_md}} col-xs-12">
212
+ <div class="card card-flat card-profile mb-4 raised-z0">
213
+
214
+ <div class="card-icon">
215
+ <a href="javascript:void(0)">
216
+ <i class="card-icon-rectangle raised-z0 {{icon_family}} {{icon_family}}-{{card_icon}} {{icon_family}}-{{card_icon_size}} {{icon_family}}-{{card_icon_color}} card-icon-background-no-color card-icon-{{icon_family}}"></i>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="content">
221
+ {% if card_title %}
222
+ <h6 class="notoc category text-gray">{{card_title}}</h6>
223
+ {% endif %}
224
+ <h4 class="notoc card-title">{{card_tagline}}</h4>
225
+ <p class="card-description">{{card_text}}</p>
226
+ <div class="card-footer">
227
+ {% for button_hash in card_buttons %}
228
+ {% include {{create_bs_button}} button_data=button_hash button_type="link" %}
229
+ {{bs_button_html}}
230
+ {% endfor %}
231
+ </div>
232
+ </div>
233
+
234
+ </div>
235
+ </div>
236
+ {% endif %}
237
+
238
+ {% endfor %}
239
+ {% comment %} END cards {% endcomment %}
240
+
241
+ </div>
242
+ </div>
243
+ </div>
244
+
245
+ {% assign title = nil %}
246
+ {% assign tagline = nil %}
160
247
  {% assign card_enabled = nil %}
161
248
  {% assign card_type = nil %}
162
249
  {% assign card_icon = nil %}
@@ -168,11 +255,10 @@ regenerate: true
168
255
  {% assign card_width_md = nil %}
169
256
 
170
257
  {% comment %} END INTRO panel
171
- ----------------------------------------------------------- {% endcomment %}
172
-
258
+ ---------------------------------------------------------------------------- {% endcomment %}
173
259
 
174
260
  {% comment %} Collect SERVICE panel
175
- ----------------------------------------------------------- {% endcomment %}
261
+ ---------------------------------------------------------------------------- {% endcomment %}
176
262
  {% when 'service_panel' %}
177
263
 
178
264
  <div class="panel-service">
@@ -196,8 +282,6 @@ regenerate: true
196
282
  {% if key == 'icon_family' %} {% assign icon_family = value %} {% endif %}
197
283
  {% if key == 'icon_size' %} {% assign icon_size = value %} {% endif %}
198
284
  {% if key == 'icon_color' %} {% assign icon_color = value %} {% endif %}
199
- {% if key == 'title' %} {% assign card_title = value | strip_newlines%} {% endif %}
200
- {% if key == 'tagline' %} {% assign card_tagline = value | strip_newlines%} {% endif %}
201
285
  {% if key == 'text' %} {% assign card_text = value | strip_newlines %} {% endif %}
202
286
  {% if key == 'services' %} {% assign services = value %} {% endif %}
203
287
  {% endfor %}
@@ -218,17 +302,20 @@ regenerate: true
218
302
 
219
303
  {% if card_type == "service" and card_enabled %}
220
304
  <div class="col-md-{{card_width_md}} col-sm-{{card_width_md}} col-xs-12">
221
- <div class="card card-profile {{card_raised}}">
305
+ <div class="card card-flat card-profile mb-4 raised-z0">
222
306
 
223
307
  <div class="card-icon">
224
- <a href="{{site.url}}{{card_href}}">
225
- <i class="card-icon-circle raised {{icon_family}} {{icon_family}}-{{card_icon}} {{icon_size}} {{icon_color}} card-icon-background-color-theme card-icon-{{icon_family}}"></i>
308
+ <!-- a href="{{site.url}}{{card_href}}" -->
309
+ <a href="{{card_href}}">
310
+ <!-- i class="card-icon-rectangle raised-z0 {{icon_family}} {{icon_family}}-{{card_icon}} {{icon_size}} {{icon_color}} card-icon-background-color-theme card-icon-{{icon_family}}"></i -->
311
+ <i class="card-icon-rectangle raised-z0 {{icon_family}} {{icon_family}}-{{card_icon}} {{icon_family}}-{{card_icon_size}} {{icon_family}}-{{card_icon_color}} card-icon-background-no-color card-icon-{{icon_family}}"></i>
226
312
  </a>
227
313
  </div>
228
314
 
229
315
  <div class="content">
230
316
  <h6 class="notoc category text-gray">{{card_title}}</h6>
231
- <a href="{{site.url}}{{card_href}}">
317
+ <!-- a href="{{site.url}}{{card_href}}" -->
318
+ <a href="{{card_href}}">
232
319
  <h4 class="notoc card-title">{{card_tagline}}</h4>
233
320
  </a>
234
321
  <p class="card-description">{{card_text}}</p>
@@ -236,7 +323,8 @@ regenerate: true
236
323
  <div class="card-footer">
237
324
  <ul class="service-list list-unstyled">
238
325
  {% for list in services %}
239
- <li><a href="{{site.url}}{{list.service.href}}">{{list.service.title}}</a></li>
326
+ <!-- li><a href="{{site.url}}{{list.service.href}}">{{list.service.title}}</a></li -->
327
+ <li><a href="{{list.service.href}}">{{list.service.title}}</a></li>
240
328
  {% endfor %}
241
329
  </ul>
242
330
  </div>
@@ -248,223 +336,203 @@ regenerate: true
248
336
 
249
337
  {% endfor %}
250
338
  {% comment %} END cards
251
- ------------------------------------------------------- {% endcomment %}
339
+ ------------------------------------------------------------------------ {% endcomment %}
252
340
  </div>
253
341
  </div>
254
342
  </div>
255
343
 
344
+ {% assign title = nil %}
345
+ {% assign tagline = nil %}
256
346
  {% assign card_enabled = nil %}
257
347
  {% assign card_type = nil %}
258
348
  {% assign card_icon = nil %}
259
349
  {% assign icon_family = nil %}
260
- {% assign card_title = nil %}
261
- {% assign card_tagline = nil %}
262
350
  {% assign card_text = nil %}
263
351
  {% assign services = nil %}
264
352
  {% assign card_width_md = nil %}
265
353
 
266
354
  {% comment %} END SERVICES panel
267
- ----------------------------------------------------------- {% endcomment %}
268
-
269
-
355
+ ---------------------------------------------------------------------------- {% endcomment %}
270
356
 
271
357
  {% comment %} Collect NEWS panel
272
- ----------------------------------------------------------- {% endcomment %}
358
+ ---------------------------------------------------------------------------- {% endcomment %}
273
359
  {% when 'news_panel' %}
274
360
 
275
361
  <div class="panel-news">
276
362
  <div class="{{container_class}} j1-panel-block">
277
-
278
- {% if box_title %} {% assign box_title_id = "news_panel" %} {% endif %}
279
- {% if box_title %} <h2 id="{{box_title_id}}" class="title ml-4">{{box_title}}</h2>{% endif %}
280
- {% if box_tagline %}<div class="tagline"> <p>{{ box_tagline }}</p> </div>{% endif %}
281
-
363
+ {% if title %}
364
+ <div class="panel-headline">
365
+ {% if title %} {% assign title_id = "news_panel" %} {% endif %}
366
+ {% if title %} <h2 id="{{title_id}}" class="title">{{title}}</h2>{% endif %}
367
+ {% if tagline %}<div class="tagline"> <p>{{ tagline }}</p> </div>{% endif %}
368
+ </div>
369
+ {% endif %}
370
+ <!-- panel content -->
282
371
  <div class="row">
283
- <!-- panel content -->
284
- {% assign header_available = false %}
285
- {% assign box_items = boxes | size %}
286
-
287
- {% for box in boxes %}
288
- {% for items in box %}
289
- {% for item in items[1] %}
290
- {% assign key = item[0] %}
291
- {% assign value = item[1] %}
292
- {% if key == 'enabled' %} {% assign box_enabled = value %} {% endif %}
293
- {% if key == 'type' %} {% assign box_type = value %} {% endif %}
294
- {% if key == 'style' %} {% assign box_style = value %} {% endif %}
295
- {% if key == 'raised' %} {% assign box_raised = value %} {% endif %}
296
- {% if key == 'title' %} {% assign box_title = value | strip_newlines%} {% endif %}
297
- {% if key == 'tagline' %} {% assign box_tagline = value | strip_newlines%} {% endif %}
298
- {% if key == 'category' %} {% assign post_category = value %} {% endif %}
299
- {% if key == 'max_posts' %} {% assign posts_max = value | strip_newlines %} {% endif %}
300
- {% if key == 'buttons' %} {% assign box_buttons = value %} {% endif %}
301
- {% endfor %}
302
- {% if box_enabled == false %}
303
- {% assign box_items = box_items | minus:1 %}
304
- {% endif %}
305
- {% endfor %}
306
-
307
- {% if box_type == "header" and box_enabled %}
308
-
309
- {% comment %} correct # items if header available {% endcomment %}
310
- {% assign box_items = box_items | minus:1 %}
311
- {% assign box_width_md = 12 | divided_by: box_items %}
312
372
 
313
- {% endif %}
373
+ {% assign header_available = false %}
374
+ {% assign box_items = boxes | size %}
375
+
376
+ {% for box in boxes %}
377
+ {% for items in box %}
378
+ {% for item in items[1] %}
379
+ {% assign key = item[0] %}
380
+ {% assign value = item[1] %}
381
+ {% if key == 'enabled' %} {% assign box_enabled = value %} {% endif %}
382
+ {% if key == 'type' %} {% assign box_type = value %} {% endif %}
383
+ {% if key == 'style' %} {% assign box_style = value %} {% endif %}
384
+ {% if key == 'raised' %} {% assign box_raised = value %} {% endif %}
385
+ {% if key == 'category' %} {% assign post_category = value %} {% endif %}
386
+ {% if key == 'max_posts' %} {% assign posts_max = value %} {% endif %}
387
+ {% if key == 'buttons' %} {% assign box_buttons = value %} {% endif %}
388
+ {% endfor %}
389
+ {% if box_enabled == false %}
390
+ {% assign box_items = box_items | minus:1 %}
391
+ {% endif %}
392
+ {% endfor %}
314
393
 
315
- {% if box_type == "preview" and box_enabled %}
316
-
317
- <div class="col-md-{{box_width_md}} col-sm-{{box_width_md}} col-xs-12 mb-2">
318
-
319
- {% if box_title %}<h4 class="notoc box-title mt-2">{{box_title}}</h4>{% endif %}
320
- <div class="content">
321
-
322
- <!-- Last current post -->
323
- {% assign last_post_written = false %}
324
- {% for post in site.posts %}
325
-
326
- {% for category in post.categories %}
327
- {% if category == post_category and last_post_written != true %}
328
-
329
- <div class="tmlabel">
330
- <div class="panel-news-headline">
331
- <a href="{{post.url}}#readmore">
332
- <h4 id="{{ 100000 | rand }}">{{ post.title }}</h4>
333
- </a>
334
- </div>
335
-
336
- <!-- Collect image data from frontmatter -->
337
- {% if post.image %}
338
- {% assign image_name = post.image.name %}
339
- {% assign image_path = post.image.path %}
340
- {% if post.image.random %}
341
- {% assign max_random = image_name | regex_replace: '[a-zA-Z_-]*' %}
342
- {% assign max_random = max_random | regex_replace: '\.' %}
343
- {% assign random = max_random | rand %}
344
- {% assign image_name = image_name | regex_replace: '\d+', random %}
345
- {% endif %}
346
- {% capture image %}{{image_path}}/{{image_name}}{% endcapture %}
347
- {% else %}
348
- {% assign image = 'false' %}
349
- {% endif %}
350
-
351
- <!-- Collect icon data from post frontmatter -->
352
- <!-- Set the default icon|family -->
353
- {% assign icon = 'comment-alt' %}
354
- {% assign icon_family = 'zmdi' %}
355
- {% assign icon_color = '#3F51B5' %}
356
- {% assign icon_size = 'large' %}
357
-
358
- {% if post.icon %}
359
-
360
- {% assign icon = post.icon.name | downcase %}
361
- {% assign icon_family = post.icon.family %}
362
- {% assign icon_color = post.icon.color %}
363
- {% assign icon_size = post.icon.size %}
364
-
365
- {% if icon_family == "FontAwesome" %}
366
- {% assign icon_family = "fa" %}
367
- {% elsif icon_family == "Glyphicon" %}
368
- {% assign icon_family = "glyphicon" %}
369
- {% elsif icon_family == "MDI" %}
370
- {% assign icon_family = "mdi" %}
371
- {% elsif icon_family == "ZMDI" %}
372
- {% assign icon_family = "zmdi" %}
373
- {% endif %}
374
-
375
- {% endif %}
376
-
377
- {% include {{select_icon_size}} family=icon_family size="xxxlarge" %}
378
- {% assign icon_size = size %}
379
-
380
- {% include {{select_color}} color=icon_color fallback="#000"%}
381
- {% assign icon_color = color %}
382
-
383
- {% if icon != 'false' and image == 'false' %}
384
- <div class="col-md-12">
385
- <i class="service-icon {{icon_family}} {{icon_family}}-{{icon}} {{icon_size}}" style="color: {{icon_color}};"></i>
386
- <p>{{ post.excerpt }}</p>
387
- </div>
388
- {% endif %}
389
-
390
- {% if icon == 'false' and image == 'false' %}
391
- <div class="col-md-12">
392
- <p>{{ post.excerpt }}</p>
393
- </div>
394
- {% endif %}
395
-
396
- {% if image != 'false' %}
397
- <div class="col-md-12">
398
- <img class="img-fluid mb-2" src="{{ image }}" alt="">
399
- </div>
400
- <div class="col-md-12">
401
- <p>{{ post.excerpt }}</p>
402
- </div>
403
- {% endif %}
404
-
405
- <!-- Collect comment provider details -->
406
- {% for sharing in panel_config %}
407
- {% assign provider = sharing.provider %}
408
- {% assign likes_count = sharing.likes_count %}
409
- {% assign comment_count = sharing.comment_count %}
410
- {% endfor %}
411
-
412
- {% assign last_post_written = true %}
413
- {% assign last_post_title = post.title %}
414
- {% break%}
415
-
416
- {% endif %}
417
- {% endfor %}
418
- {% endfor %}
419
-
420
- </div> <!-- end tmlabel -->
421
- </div> <!-- end content -->
422
- </div> <!-- end preview box -->
423
- {% endif %}
394
+ {% comment %} calculate columns
395
+ ------------------------------------------------------------------ {% endcomment %}
396
+ {% assign box_width = 12 | divided_by: box_items %}
424
397
 
425
- {% if box_type == "recent_news" and box_enabled %}
398
+ <!-- Collect last current post -->
399
+ {% if box_type == "last_current" and box_enabled %}
400
+ <div class="col-md-{{box_width}} col-sm-{{box_width}} col-xs-12">
401
+ <div class="content">
426
402
 
427
- <div class="col-md-{{box_width_md}} col-sm-{{box_width_md}} col-xs-12 mt-5">
428
- <div class="recent-news">
403
+ <!-- Last current post -->
404
+ {% assign last_post_written = false %}
405
+ {% for post in site.posts %}
406
+
407
+ {% for category in post.categories %}
408
+ {% if category == post_category and last_post_written != true %}
409
+
410
+ <!-- Collect image data from frontmatter -->
411
+ {% if post.image %}
412
+ {% assign image_name = post.image.name %}
413
+ {% assign image_path = post.image.path %}
414
+ {% if post.image.random %}
415
+ {% assign max_random = image_name | regex_replace: '[a-zA-Z_-]*' %}
416
+ {% assign max_random = max_random | regex_replace: '\.' %}
417
+ {% assign random = max_random | rand %}
418
+ {% assign image_name = image_name | regex_replace: '\d+', random %}
419
+ {% endif %}
420
+ {% capture image %}{{image_path}}/{{image_name}}{% endcapture %}
421
+ {% else %}
422
+ {% assign image = 'false' %}
423
+ {% endif %}
429
424
 
430
- <h4 class="notoc box-title">{{box_title}}</h4>
425
+ <!-- Collect icon data from post frontmatter -->
426
+ <!-- Set the default icon|family -->
427
+ {% assign icon = 'comment-alt' %}
428
+ {% assign icon_family = 'zmdi' %}
429
+ {% assign icon_color = '#3F51B5' %}
430
+ {% assign icon_size = 'large' %}
431
+
432
+ {% if post.icon %}
433
+
434
+ {% assign icon = post.icon.name | downcase %}
435
+ {% assign icon_family = post.icon.family %}
436
+ {% assign icon_color = post.icon.color %}
437
+ {% assign icon_size = post.icon.size %}
438
+
439
+ {% if icon_family == "FontAwesome" %}
440
+ {% assign icon_family = "fa" %}
441
+ {% elsif icon_family == "Glyphicon" %}
442
+ {% assign icon_family = "glyphicon" %}
443
+ {% elsif icon_family == "MDI" %}
444
+ {% assign icon_family = "mdi" %}
445
+ {% elsif icon_family == "ZMDI" %}
446
+ {% assign icon_family = "zmdi" %}
447
+ {% endif %}
431
448
 
432
- <!-- Recent News (NewsBox) -->
449
+ {% endif %}
433
450
 
434
- <!-- post loop counter correction -->
435
- {% assign max_posts = posts_max | minus:'1' %}
436
- {% assign posts_written = 0 %}
437
- {% assign last_post_written = false %}
451
+ {% include {{select_icon_size}} family=icon_family size="xxxlarge" %}
452
+ {% assign icon_size = size %}
438
453
 
439
- <ul class="list-unstyled link-news">
440
- {% for post in site.posts %}
454
+ {% include {{select_color}} color=icon_color fallback="#000"%}
455
+ {% assign icon_color = color %}
441
456
 
442
- {% for category in post.categories %}
443
- {% if box_type == "recent_news" and box_enabled %}
457
+ {% if icon != 'false' and image == 'false' %}
458
+ <!-- icon != 'false' and image == 'false' -->
459
+ {% endif %}
444
460
 
445
- {% if category == post_category and last_post_written != true %}
446
- {% if post.title == last_post_title %} {% continue %} {% endif %}
447
- {% assign posts_written = posts_written | plus:'1' %}
448
- {% if posts_written == posts_max %} {% assign last_post_written = true %} {% break %}{% endif %}
449
- <li>
450
- <a href="{{post.url}}">{{post.title}}</a>
451
- <small>{{ post.date | date: "%e %B %Y"}}</small>
452
- </li>
453
- {% endif %}
454
- {% endif %}
461
+ {% if icon == 'false' and image == 'false' %}
462
+ <!-- icon == 'false' and image == 'false' -->
463
+ {% endif %}
455
464
 
456
- {% endfor %}
457
- {% endfor %}
458
- </ul>
465
+ {% if image != 'false' %}
466
+ <!-- image != 'false' -->
467
+ <div class="card {{card_style}}">
468
+ <div class="card-image">
469
+ <img class="img" src="{{ post.image }}" alt="{{ post.title }}">
470
+ </div>
471
+ <div class="card-body">
472
+ <span class="post-meta">Nov 13, 2018</span>
473
+ <h2 id="{{ 100000 | rand }}" class="card-title">{{ post.title }}</h2>
474
+ <h6 class="card-subtitle text-muted mb-2">{{ post.tagline }}</h6>
475
+ <div class="card-text"><p>{{ post.excerpt }}</p></div>
476
+ <div class="card-footer">
477
+ <a class="card-link" href="{{post.url}}#readmore" target="blank">Read more ..</a>
478
+ </div>
479
+ </div>
480
+ </div>
481
+ {% endif %}
459
482
 
460
- </div> <!-- end content -->
461
- </div> <!-- end recent news box -->
483
+ {% assign last_post_written = true %}
484
+ {% assign last_post_title = post.title %}
485
+ {% break%}
462
486
 
463
487
  {% endif %}
488
+ {% endfor %}
489
+ {% endfor %}
490
+ </div> <!-- end box current item -->
491
+ </div> <!-- end content current item -->
492
+ {% endif %}
493
+
494
+ <!-- Collect recent posts -->
495
+ {% if box_type == "recent" and box_enabled %}
496
+ <div class="col-md-{{box_width}} col-sm-{{box_width}} col-xs-12">
497
+ <!-- Recent News (NewsBox) -->
498
+ <div class="recent-news">
499
+ <!-- loop counter correction -->
500
+ {% assign max_posts = posts_max | minus:'1' %}
501
+ {% assign posts_written = 0 %}
502
+ {% assign last_post_written = false %}
503
+
504
+ {% for post in site.posts %}
505
+ {% for category in post.categories %}
506
+ {% if category == post_category and last_post_written != true %}
507
+ <div class="card-list-element">
508
+ {% if post.title == last_post_title %} {% continue %} {% endif %}
509
+ {% assign posts_written = posts_written | plus:'1' %}
510
+ {% if posts_written == posts_max %} {% assign last_post_written = true %} {% break %}{% endif %}
511
+ <div class="card {{card_style}} mb-2">
512
+ <div class="card-body">
513
+ <span class="post-meta">Nov 13, 2018</span>
514
+ <h2 id="{{ 100000 | rand }}" class="card-title">{{ post.title }}</h2>
515
+ <h6 class="card-subtitle text-muted mb-2">{{ post.tagline }}</h6>
516
+ <div class="card-text"><p>{{ post.excerpt | truncatewords: 20 }}</p></div>
517
+ <div class="card-footer">
518
+ <a class="card-link" href="{{post.url}}#readmore" target="blank">Read more ..</a>
519
+ </div>
520
+ </div>
521
+ </div>
522
+ </div> <!-- end list-element -->
523
+ {% endif %}
464
524
 
525
+ {% endfor %}
465
526
  {% endfor %}
466
- {% comment %} END boxes
467
- --------------------------------------------- {% endcomment %}
527
+
528
+ </div> <!-- end recent news -->
529
+ </div> <!-- end recent news box -->
530
+ {% endif %}
531
+
532
+ {% endfor %}
533
+ </div> <!-- end NEWS panel -->
534
+ {% comment %} END boxes
535
+ ---------------------------------------------------------------------- {% endcomment %}
468
536
 
469
537
 
470
538
  </div> <!-- end row -->