j1-template 2021.1.2 → 2021.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +23 -9
  3. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
  4. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -7
  5. data/assets/data/authclient.html +231 -229
  6. data/assets/data/banner.html +30 -32
  7. data/assets/data/cookiebar.html +202 -199
  8. data/assets/data/fam.html +1 -1
  9. data/assets/data/footer.html +1 -1
  10. data/assets/data/footer.new.1.html +256 -0
  11. data/assets/data/footer.new.2.html +256 -0
  12. data/assets/data/footer.org.html +249 -0
  13. data/assets/data/gallery_customizer.html +10 -5
  14. data/assets/data/menu.html +3 -3
  15. data/assets/data/mmenu.html +4 -3
  16. data/assets/data/mmenu_sidebar.html +1 -1
  17. data/assets/data/mmenu_toc.html +1 -1
  18. data/assets/data/panel.html +11 -10
  19. data/assets/data/quicklinks.html +2 -2
  20. data/assets/themes/j1/adapter/js/j1.js +12 -4
  21. data/assets/themes/j1/adapter/js/j1.new.js +1878 -0
  22. data/assets/themes/j1/adapter/js/j1.org.js +1874 -0
  23. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +3 -2
  24. data/assets/themes/j1/adapter/js/mmenu.js +8 -4
  25. data/assets/themes/j1/adapter/js/navigator.js +17 -10
  26. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
  27. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  28. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3858 -186
  29. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  30. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
  31. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
  32. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
  33. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
  34. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
  35. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
  36. data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
  37. data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
  38. data/lib/j1/version.rb +3 -3
  39. data/lib/starter_web/_config.yml +5 -4
  40. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -0
  41. data/lib/starter_web/_data/blocks/banner.yml +5 -3
  42. data/lib/starter_web/_data/blocks/panel.yml +9 -7
  43. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
  44. data/lib/starter_web/_data/layouts/default.yml +1 -1
  45. data/lib/starter_web/_data/layouts/home.yml +6 -5
  46. data/lib/starter_web/_data/layouts/page.yml +1 -1
  47. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
  48. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -0
  49. data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
  50. data/lib/starter_web/_data/modules/navigator.yml +24 -21
  51. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -3
  52. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
  53. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -7
  54. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -7
  55. data/lib/starter_web/index.html +1 -1
  56. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
  57. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +11 -6
  58. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +8 -6
  59. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -3
  60. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +6 -1
  61. data/lib/starter_web/utilsrv/package.json +1 -1
  62. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ed0126c99cc3071cfcafcc4327d406fb539da49c343fc20b8734d840e5d39df
4
- data.tar.gz: 5b7d1fbfa8d720e84453ef58c59330ee5d857bccbbfa31469a62b52a63d27f6a
3
+ metadata.gz: bd3bd3fa6ca6658fe543647ef566728d8464b15c928ca152ed16fa6bf53f60d8
4
+ data.tar.gz: 8bc18298b4fd0cb68c7f7a58fe02b00002c3d30baf272b37c7d8538fc9d1148d
5
5
  SHA512:
6
- metadata.gz: 2d164e0c994ca79e25908973f912e0b4dc95742e67f96b45fbdab54a156175185a4d91ae683a276198d74f8e4d981d59b289de5dc4bb817f8dab10d472784895
7
- data.tar.gz: b0a651b2a288290e8c2ece079ef587e13f18545e6f4dc0af06cd82511b21185d026ab78c2fa140472bbae67ebac49f49c08067c78a089d1a8132fc655a49b8cf
6
+ metadata.gz: 4ca51f2f41063b4866927318a75ac6922039c1340b02ef07a99c0b37ec606f163c1761d338400f194d5338c2e6d413a304f2ee89941047df10fad97a74365ba4
7
+ data.tar.gz: 43c2c223532495182016a51c63c0f0ec68457b41abaec095e42d85af227119e837b63e72968b020695ae205dde07154ed01230c63ef8ab56fe5727826e1390ce
@@ -128,33 +128,47 @@
128
128
 
129
129
  {% comment %} Check robot settings from site configuration
130
130
  -------------------------------------------------------------------------------- {% endcomment %}
131
- {% if site.robots.index %}
131
+ <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Check robot settings from SITE configuration ] -->
132
+ {% if site.robots.index and site.robots.index <> nil %}
133
+ <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_index: {{site.robots.index}} ] -->
132
134
  {% capture robots_index %}<meta name="robots" content="index" />{% endcapture %}
133
135
  {% else %}
136
+ <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_index: noindex ] -->
134
137
  {% capture robots_index %}<meta name="robots" content="noindex" />{% endcapture %}
135
138
  {% endif %}
136
139
 
137
- {% if site.robots.follow %}
140
+ {% if site.robots.follow and site.robots.follow <> nil %}
141
+ <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_follow: {{site.robots.index}} ] -->
138
142
  {% capture robots_follow %}<meta name="robots" content="follow" />{% endcapture %}
139
143
  {% else %}
144
+ <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_follow: nofollow ] -->
140
145
  {% capture robots_follow %}<meta name="robots" content="nofollow" />{% endcapture %}
141
146
  {% endif %}
142
147
 
148
+ {% comment %} page.robots.index: {{ page.robots.index | debug }} {% endcomment %}
149
+
143
150
  {% comment %} Check robot settings from page (or default SCOPE)
144
151
  -------------------------------------------------------------------------------- {% endcomment %}
152
+ <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Check robot settings from PAGE configuration ] -->
153
+ <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_index: {{page.robots.index}} ] -->
154
+ <!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_follow: {{page.robots.follow}} ] -->
145
155
  {% if page.robots.index %}
146
- {% capture robots_index %}<meta name="robots" content="index">{% endcapture %}
147
- {% else %}
148
- {% capture robots_index %}<meta name="robots" content="noindex">{% endcapture %}
156
+ {% capture robots_index %}<meta name="robots" content="index" />{% endcapture %}
157
+ {% endif %}
158
+
159
+ {% if page.robots.index == false %}
160
+ {% capture robots_index %}<meta name="robots" content="noindex" />{% endcapture %}
149
161
  {% endif %}
150
162
 
151
163
  {% if page.robots.follow %}
152
- {% capture robots_follow %}<meta name="robots" content="follow">{% endcapture %}
153
- {% else %}
154
- {% capture robots_follow %}<meta name="robots" content="nofollow">{% endcapture %}
164
+ {% capture robots_follow %}<meta name="robots" content="follow" />{% endcapture %}
165
+ {% endif %}
166
+
167
+ {% if page.robots.follow == false %}
168
+ {% capture robots_follow %}<meta name="robots" content="nofollow" />{% endcapture %}
155
169
  {% endif %}
156
170
 
157
- <!-- [INFO ] [j1.layout.meta_data_generator.html ] [place meta tags for robots ] -->
171
+ <!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Place detected/overloaded meta tags for robots ] -->
158
172
  {{robots_index}}
159
173
  {{robots_follow}}
160
174
 
@@ -45,7 +45,7 @@
45
45
 
46
46
  {% comment %} Set quicksearch properties
47
47
  -------------------------------------------------------------------------------- {% endcomment %}
48
- {% assign topsearch_id = topsearch_options.xhr_container_id %}
48
+ {% assign topsearch_id = topsearch_options.container_id %}
49
49
  {% assign icon_family = topsearch_options.icon_family | downcase %}
50
50
  {% assign placeholder = topsearch_options.placeholder %}
51
51
  {% assign search_heading_lead = topsearch_options.search_heading_lead %}
@@ -89,7 +89,7 @@
89
89
  ------------------------------------------------------------------------------ {% endcomment %}
90
90
  {% if quick_search %}
91
91
  <!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ start processing: top search ] -->
92
- <div id="navigator_nav_topsearch" class="top-search ml-4 mr-4" style="display: none;">
92
+ <div id="{{topsearch_id}}" class="top-search ml-4 mr-4" style="display: none;">
93
93
  <div class="input-group">
94
94
  <span class="input-group-addon"><i class="mdi mdi-magnify mdi-2x" style="color:#9E9E9E"></i></span>
95
95
  <input id="search-query" type="text" name="q" placeholder="QuickSearch" autocomplete="off" class="form-control">
@@ -43,6 +43,7 @@
43
43
  {% comment %} Variables
44
44
  -------------------------------------------------------------------------------- {% endcomment %}
45
45
  {% assign builder_config = site.data.builder.blog_navigator.collate_timeline %}
46
+ {% assign truncate_words = site.excerpt_truncate_words %}
46
47
  {% assign header_title = false %}
47
48
  {% assign header_tagline = false %}
48
49
  {% assign posts_collate = include.items %}
@@ -140,7 +141,7 @@
140
141
  <p class="card-subtitle text-muted">{{post.tagline}}</p>
141
142
  </div>
142
143
  <div class="timeline-excerpt mb-4">
143
- {% assign excerpt = post.excerpt|truncatewords: 50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
144
+ {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html|strip_newlines|strip %}
144
145
  <i class="timeline-icon {{icon_family}} {{icon_family}}-{{icon_name}} {{icon_family}}-{{icon_size}} {{icon_family}}-{{icon_color}}"></i>
145
146
  {{excerpt}}
146
147
  </div>
@@ -163,7 +164,7 @@
163
164
  <p class="card-subtitle text-muted">{{post.tagline}}</p>
164
165
  </div>
165
166
  <div class="timeline-excerpt mb-4">
166
- {% assign excerpt = post.excerpt|truncatewords: 50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
167
+ {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html|strip_newlines|strip %}
167
168
  {{excerpt}}
168
169
  </div>
169
170
  <div class="card-footer r-text-200 text-lowercase">
@@ -183,7 +184,7 @@
183
184
  <p class="card-subtitle text-muted">{{post.tagline}}</p>
184
185
  </div -->
185
186
  <div class="excerpt">
186
- {% assign excerpt = post.excerpt|truncatewords: 50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
187
+ {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html|strip_newlines|strip %}
187
188
  {{excerpt}}
188
189
  </div>
189
190
  </div>
@@ -199,18 +200,18 @@
199
200
  <hr class="my-3">
200
201
  <div class="card-footer-text">
201
202
  {% if post.date %}
202
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> {{post.date | date: "%Y %B, %e"}}
203
+ <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i> {{post.date | date: "%Y %B, %e"}}
203
204
  {% endif %}
204
205
  {% if likes_count %}
205
206
  <span class="font-weight-bold"> · </span>
206
- <i class="mdi mdi-heart mdi-md-grey mr-1"></i> {{likes_count}}
207
+ <i class="mdi mdi-heart md-grey-600 mr-1"></i> {{likes_count}}
207
208
  {% endif %}
208
209
  {% if comment_count %}
209
210
  <span class="font-weight-bold"> · </span>
210
- <i class="mdi mdi-comment mdi-md-grey mr-1"></i> {{comment_count}}
211
+ <i class="mdi mdi-comment md-grey-600 mr-1"></i> {{comment_count}}
211
212
  {% endif %}
212
213
  </div>
213
- <a class="card-link md-grey text-lowercase"
214
+ <a class="card-link text-muted text-lowercase"
214
215
  href="{{post.url}}#readmore">
215
216
  Read · {{post.tagline}}
216
217
  </a>
@@ -137,257 +137,259 @@ regenerate: true
137
137
  -------------------------------------------------------------------------------- {% endcomment %}
138
138
  <!-- [INFO ] [j1.assets.data.authclient.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
139
139
  <head>
140
- <meta name="robots" content="noindex, nofollow" \>
140
+ <meta name="robots" content="noindex, nofollow" />
141
141
  </head>
142
142
 
143
- {% comment %} Modal SignIn
144
- -------------------------------------------------------------------------------- {% endcomment %}
145
- <!-- [INFO ] [j1.authclient.html ] [START: Modal signin|signup] -->
146
- <div id="modalOmniSignIn"
147
- class="modal fade"
148
- role="dialog"
149
- tabindex="-1"
150
- aria-labelledby="modalOmniSignIn" aria-hidden="true">
151
- <div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
152
-
153
- <!-- Content -->
154
- <div class="modal-content">
155
-
156
- <!--Header-->
157
- <div class="modal-header">
158
- <p class="lead">
159
- <!-- i class="mdi mdi-2x mdi-account mdi-md-grey-100"></i -->
160
- {{signin_modal_title}}
161
- </p>
162
- </div>
143
+ <div id="{{authclient_options.xhr_data_element}}">
144
+
145
+ {% comment %} Modal SignIn
146
+ -------------------------------------------------------------------------------- {% endcomment %}
147
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal signin|signup] -->
148
+ <div id="modalOmniSignIn"
149
+ class="modal fade"
150
+ role="dialog"
151
+ tabindex="-1"
152
+ aria-labelledby="modalOmniSignIn" aria-hidden="true">
153
+ <div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
154
+
155
+ <!-- Content -->
156
+ <div class="modal-content">
157
+
158
+ <!--Header-->
159
+ <div class="modal-header">
160
+ <p class="lead">
161
+ <!-- i class="mdi mdi-2x mdi-account mdi-md-grey-100"></i -->
162
+ {{signin_modal_title}}
163
+ </p>
164
+ </div>
165
+
166
+ <!-- Body -->
167
+ <div class="modal-body mr-5 ml-5 mb-0">
168
+ <p style="text-align: justify;">{{signin_modal_body_text | asciidocify}}</p>
169
+ <h5 class="mt-1 mb-3 notoc">Available options</h5>
170
+
171
+ <!-- Modal nav pills -->
172
+ <div class="row ml-2 mr-2">
173
+ <ul class="nav nav-pills nav-pills-icons mt-2" role="tablist">
174
+
175
+ {% comment %} Array used to order the (provider) tabs
176
+ ---------------------------------------------------------------------- {% endcomment %}
177
+ {% for provider in providers %}
178
+
179
+ {% if provider == active_provider %}
180
+ {% assign active_flag = " active" %}
181
+ {% else %}
182
+ {% assign active_flag = "" %}
183
+ {% endif %}
184
+
185
+ {% if provider == 'disqus' and auth_disqus_enabled %}
186
+ <li class="nav-item">
187
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_disqus_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
188
+ <i class="mdi mdi-disqus mt-1 mb-2"></i> {{ auth_disqus_title }}
189
+ </a>
190
+ </li>
191
+ {% endif %}
192
+
193
+ {% if provider == 'github' and auth_github_enabled %}
194
+ <li class="nav-item">
195
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_github_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="true">
196
+ <i class="mdi mdi-github mt-1 mb-2"></i> {{ auth_github_title }}
197
+ </a>
198
+ </li>
199
+ {% endif %}
200
+
201
+ {% if provider == 'facebook' and auth_facebook_enabled %}
202
+ <li class="nav-item">
203
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_facebook_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
204
+ <i class="mdi mdi-facebook mt-1 mb-2"></i> {{ auth_facebook_title }}
205
+ </a>
206
+ </li>
207
+ {% endif %}
208
+
209
+ {% if provider == 'twitter' and auth_twitter_enabled %}
210
+ <li class="nav-item">
211
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_twitter_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
212
+ <i class="mdi mdi-twitter mt-1 mb-2"></i> {{ auth_twitter_title }}
213
+ </a>
214
+ </li>
215
+ {% endif %}
216
+
217
+ {% if provider == 'patreon' and auth_patreon_enabled %}
218
+ <li class="nav-item">
219
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_patreon_id }}" role="tab" data-toggle="tab" aria-expanded="true" aria-selected="false">
220
+ <i class="mdi mdi-patreon mt-1 mb-2"></i>
221
+ {{ auth_patreon_title }}
222
+ </a>
223
+ </li>
224
+ {% endif %}
225
+
226
+ {% endfor %}
227
+ </ul>
228
+
229
+ <div class="tab-content tab-space">
230
+ {% for provider in providers %}
231
+
232
+ {% if provider == active_provider %}
233
+ {% assign active_flag = " active" %}
234
+ {% else %}
235
+ {% assign active_flag = "" %}
236
+ {% endif %}
237
+
238
+ {% if provider == 'disqus' and auth_disqus_enabled %}
239
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_disqus_id }}">{{ auth_disqus_text | asciidocify }}</div>
240
+ {% endif %}
241
+ {% if provider == 'github' and auth_github_enabled %}
242
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_github_id }}">{{ auth_github_text | asciidocify }}</div>
243
+ {% endif %}
244
+ {% if provider == 'facebook' and auth_facebook_enabled %}
245
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_facebook_id }}">{{ auth_facebook_text | asciidocify }}</div>
246
+ {% endif %}
247
+ {% if provider == 'patreon' and auth_patreon_enabled %}
248
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_patreon_id }}">{{ auth_patreon_text | asciidocify }}</div>
249
+ {% endif %}
250
+ {% if provider == 'twitter' and auth_twitter_enabled %}
251
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_twitter_id }}">{{ auth_twitter_text | asciidocify }}</div>
252
+ {% endif %}
253
+ {% endfor %}
254
+ </div>
163
255
 
164
- <!-- Body -->
165
- <div class="modal-body mr-5 ml-5 mb-0">
166
- <p style="text-align: justify;">{{signin_modal_body_text | asciidocify}}</p>
167
- <h5 class="mt-1 mb-3 notoc">Available options</h5>
168
-
169
- <!-- Modal nav pills -->
170
- <div class="row ml-2 mr-2">
171
- <ul class="nav nav-pills nav-pills-icons mt-2" role="tablist">
172
-
173
- {% comment %} Array used to order the (provider) tabs
174
- ---------------------------------------------------------------------- {% endcomment %}
175
- {% for provider in providers %}
176
-
177
- {% if provider == active_provider %}
178
- {% assign active_flag = " active" %}
179
- {% else %}
180
- {% assign active_flag = "" %}
181
- {% endif %}
182
-
183
- {% if provider == 'disqus' and auth_disqus_enabled %}
184
- <li class="nav-item">
185
- <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_disqus_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
186
- <i class="mdi mdi-disqus mt-1 mb-2"></i> {{ auth_disqus_title }}
187
- </a>
188
- </li>
189
- {% endif %}
190
-
191
- {% if provider == 'github' and auth_github_enabled %}
192
- <li class="nav-item">
193
- <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_github_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="true">
194
- <i class="mdi mdi-github mt-1 mb-2"></i> {{ auth_github_title }}
195
- </a>
196
- </li>
197
- {% endif %}
198
-
199
- {% if provider == 'facebook' and auth_facebook_enabled %}
200
- <li class="nav-item">
201
- <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_facebook_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
202
- <i class="mdi mdi-facebook mt-1 mb-2"></i> {{ auth_facebook_title }}
203
- </a>
204
- </li>
205
- {% endif %}
206
-
207
- {% if provider == 'twitter' and auth_twitter_enabled %}
208
- <li class="nav-item">
209
- <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_twitter_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
210
- <i class="mdi mdi-twitter mt-1 mb-2"></i> {{ auth_twitter_title }}
211
- </a>
212
- </li>
213
- {% endif %}
214
-
215
- {% if provider == 'patreon' and auth_patreon_enabled %}
216
- <li class="nav-item">
217
- <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_patreon_id }}" role="tab" data-toggle="tab" aria-expanded="true" aria-selected="false">
218
- <i class="mdi mdi-patreon mt-1 mb-2"></i>
219
- {{ auth_patreon_title }}
220
- </a>
221
- </li>
222
- {% endif %}
223
-
224
- {% endfor %}
225
- </ul>
226
-
227
- <div class="tab-content tab-space">
228
- {% for provider in providers %}
229
-
230
- {% if provider == active_provider %}
231
- {% assign active_flag = " active" %}
232
- {% else %}
233
- {% assign active_flag = "" %}
234
- {% endif %}
235
-
236
- {% if provider == 'disqus' and auth_disqus_enabled %}
237
- <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_disqus_id }}">{{ auth_disqus_text | asciidocify }}</div>
238
- {% endif %}
239
- {% if provider == 'github' and auth_github_enabled %}
240
- <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_github_id }}">{{ auth_github_text | asciidocify }}</div>
241
- {% endif %}
242
- {% if provider == 'facebook' and auth_facebook_enabled %}
243
- <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_facebook_id }}">{{ auth_facebook_text | asciidocify }}</div>
244
- {% endif %}
245
- {% if provider == 'patreon' and auth_patreon_enabled %}
246
- <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_patreon_id }}">{{ auth_patreon_text | asciidocify }}</div>
247
- {% endif %}
248
- {% if provider == 'twitter' and auth_twitter_enabled %}
249
- <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_twitter_id }}">{{ auth_twitter_text | asciidocify }}</div>
250
- {% endif %}
251
- {% endfor %}
252
256
  </div>
257
+ </div>
253
258
 
259
+ <!-- Footer -->
260
+ <div class="modal-footer justify-content-center">
261
+ <a type="button" id="signInButton" class="btn btn btn-raised btn-flex btn-md btn-primary mr-3" data-dismiss="modal">
262
+ <i class="mdi mdi-18px mdi-login mr-1"></i>
263
+ Yes, please
264
+ </a>
265
+ <a type="button" id="exitButton" class="btn btn btn-raised btn-flex btn-md btn-secondary" data-dismiss="modal">
266
+ <i class="mdi mdi-18px mdi-close mr-1"></i>
267
+ No, thanks
268
+ </a>
254
269
  </div>
255
270
  </div>
271
+ <!-- END Content -->
256
272
 
257
- <!-- Footer -->
258
- <div class="modal-footer justify-content-center">
259
- <a type="button" id="signInButton" class="btn btn btn-raised btn-flex btn-md btn-primary mr-3" data-dismiss="modal">
260
- <i class="mdi mdi-18px mdi-login mr-1"></i>
261
- Yes, please
262
- </a>
263
- <a type="button" id="exitButton" class="btn btn btn-raised btn-flex btn-md btn-secondary" data-dismiss="modal">
264
- <i class="mdi mdi-18px mdi-close mr-1"></i>
265
- No, thanks
266
- </a>
267
- </div>
268
273
  </div>
269
- <!-- END Content -->
270
-
271
- </div>
272
- </div> <!-- Modal SignIn -->
273
- <!-- [INFO ] [j1.authclient.html ] [END: Modal signin] -->
274
+ </div> <!-- Modal SignIn -->
275
+ <!-- [INFO ] [j1.authclient.html ] [END: Modal signin] -->
276
+
277
+ {% comment %} Modal SignOut
278
+ -------------------------------------------------------------------------------- {% endcomment %}
279
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal signout] -->
280
+ <div id="modalOmniSignOut"
281
+ class="modal fade top"
282
+ role="dialog" tabindex="-1"
283
+ aria-labelledby="modalOmniSignOut" aria-hidden="true" data-backdrop="false">
284
+ <div class="modal-dialog modal-frame modal-top modal-notify modal-danger" role="document">
285
+ <!-- Content -->
286
+ <div class="modal-content">
287
+
288
+ <!-- Header -->
289
+ <div class="modal-header">
290
+ <p class="lead">
291
+ <!-- i class="mdi mdi-2x mdi-account"></i -->
292
+ {{signout_modal_title}}
293
+ </p>
294
+ </div> <!-- END Header -->
295
+
296
+ <!-- Body -->
297
+ <div class="modal-body mr-5 ml-5 mb-0">
298
+ <!-- User info placed dynamically -->
299
+ <div id="user_state_info" class="text-left mb-3">
300
+ <h4 class="user-info">You are signed in to provider: </h4>
301
+ </div>
274
302
 
275
- {% comment %} Modal SignOut
276
- -------------------------------------------------------------------------------- {% endcomment %}
277
- <!-- [INFO ] [j1.authclient.html ] [START: Modal signout] -->
278
- <div id="modalOmniSignOut"
279
- class="modal fade top"
280
- role="dialog" tabindex="-1"
281
- aria-labelledby="modalOmniSignOut" aria-hidden="true" data-backdrop="false">
282
- <div class="modal-dialog modal-frame modal-top modal-notify modal-danger" role="document">
283
- <!-- Content -->
284
- <div class="modal-content">
285
-
286
- <!-- Header -->
287
- <div class="modal-header">
288
- <p class="lead">
289
- <!-- i class="mdi mdi-2x mdi-account"></i -->
290
- {{signout_modal_title}}
291
- </p>
292
- </div> <!-- END Header -->
293
-
294
- <!-- Body -->
295
- <div class="modal-body mr-5 ml-5 mb-0">
296
- <!-- User info placed dynamically -->
297
- <div id="user_state_info" class="text-left mb-3">
298
- <h4 class="user-info">You are signed in to provider: </h4>
299
- </div>
303
+ <!-- p style="text-align: justify;">
304
+ {{signout_modal_body_text | asciidocify}}
305
+ </p -->
306
+ <div>{{signout_modal_body_text | asciidocify}}</div>
307
+
308
+ <!-- Options DISABLED for now
309
+ <h5 class="mt-1 mb-3 notoc">Available options</h5>
310
+ <form id="authclient-form" class="form-horizontal">
311
+ <div class="mdc-list-group">
312
+ <div class="ml-5 mt-0 mr-0 mb-5">
313
+
314
+ <div class="switch">
315
+ <label>
316
+ <input id="providerSignOut" name="providerSignOut" type="checkbox">
317
+ <span class="bmd-switch-track"></span>
318
+ SignOut completely (Provider)
319
+ </label>
320
+ </div>
300
321
 
301
- <!-- p style="text-align: justify;">
302
- {{signout_modal_body_text | asciidocify}}
303
- </p -->
304
- <div>{{signout_modal_body_text | asciidocify}}</div>
305
-
306
- <!-- Options DISABLED for now
307
- <h5 class="mt-1 mb-3 notoc">Available options</h5>
308
- <form id="authclient-form" class="form-horizontal">
309
- <div class="mdc-list-group">
310
- <div class="ml-5 mt-0 mr-0 mb-5">
311
-
312
- <div class="switch">
313
- <label>
314
- <input id="providerSignOut" name="providerSignOut" type="checkbox">
315
- <span class="bmd-switch-track"></span>
316
- SignOut completely (Provider)
317
- </label>
318
322
  </div>
319
-
320
323
  </div>
324
+ </form>
325
+ -->
326
+ </div> <!-- END Body -->
327
+
328
+ <!-- Footer -->
329
+ <div class="modal-footer">
330
+ <a type="button" id="signOutButton" class="btn btn btn-raised btn-flex btn-md btn-danger mr-3" data-dismiss="modal">
331
+ <i class="mdi mdi-18px mdi-logout mr-1"></i>
332
+ Yes, please
333
+ </a>
334
+ <a type="button" id="exitButton" class="btn btn btn-raised btn-flex btn-md btn-secondary" data-dismiss="modal">
335
+ <i class="mdi mdi-18px mdi-close mr-1"></i>
336
+ No, thanks
337
+ </a>
338
+ </div> <!-- END Footer -->
339
+
340
+ </div> <!-- END Modal content -->
341
+ </div> <!-- END Modal dialog -->
342
+ </div> <!-- END Modal SignOut -->
343
+
344
+ {% comment %} Modal UserStateInfo
345
+ -------------------------------------------------------------------------------- {% endcomment %}
346
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal SIDE INFO signed in] -->
347
+ <div class="modal fade right" id="sideModalAlreadySigneIn" tabindex="-1" role="dialog" aria-labelledby="sideModalAlreadySigneIn" aria-hidden="true" data-backdrop="false">
348
+ <div class="modal-dialog modal-side modal-top-right modal-notify modal-success" role="document">
349
+ <!-- Content -->
350
+ <div class="modal-content">
351
+ <!-- Header -->
352
+ <div class="modal-header">
353
+ <i class="mdi mdi-2x mdi-account mdi-md-grey-100"></i>
354
+ <p class="lead">Info</p>
355
+ </div>
356
+ <!-- Body -->
357
+ <div class="modal-body">
358
+ <div class="text-center">
359
+ <p>You're already signed in</p>
321
360
  </div>
322
- </form>
323
- -->
324
- </div> <!-- END Body -->
325
-
326
- <!-- Footer -->
327
- <div class="modal-footer">
328
- <a type="button" id="signOutButton" class="btn btn btn-raised btn-flex btn-md btn-danger mr-3" data-dismiss="modal">
329
- <i class="mdi mdi-18px mdi-logout mr-1"></i>
330
- Yes, please
331
- </a>
332
- <a type="button" id="exitButton" class="btn btn btn-raised btn-flex btn-md btn-secondary" data-dismiss="modal">
333
- <i class="mdi mdi-18px mdi-close mr-1"></i>
334
- No, thanks
335
- </a>
336
- </div> <!-- END Footer -->
337
-
338
- </div> <!-- END Modal content -->
339
- </div> <!-- END Modal dialog -->
340
- </div> <!-- END Modal SignOut -->
341
-
342
- {% comment %} Modal UserStateInfo
343
- -------------------------------------------------------------------------------- {% endcomment %}
344
- <!-- [INFO ] [j1.authclient.html ] [START: Modal SIDE INFO signed in] -->
345
- <div class="modal fade right" id="sideModalAlreadySigneIn" tabindex="-1" role="dialog" aria-labelledby="sideModalAlreadySigneIn" aria-hidden="true" data-backdrop="false">
346
- <div class="modal-dialog modal-side modal-top-right modal-notify modal-success" role="document">
347
- <!-- Content -->
348
- <div class="modal-content">
349
- <!-- Header -->
350
- <div class="modal-header">
351
- <i class="mdi mdi-2x mdi-account mdi-md-grey-100"></i>
352
- <p class="lead">Info</p>
353
- </div>
354
- <!-- Body -->
355
- <div class="modal-body">
356
- <div class="text-center">
357
- <p>You're already signed in</p>
361
+ </div>
362
+ <!-- Footer -->
363
+ <div class="modal-footer justify-content-center">
364
+ <a type="button" class="btn btn btn-raised btn-flex btn-md btn-primary" data-dismiss="modal">OK</a>
358
365
  </div>
359
366
  </div>
360
- <!-- Footer -->
361
- <div class="modal-footer justify-content-center">
362
- <a type="button" class="btn btn btn-raised btn-flex btn-md btn-primary" data-dismiss="modal">OK</a>
363
- </div>
367
+ <!-- END Content -->
364
368
  </div>
365
- <!-- END Content -->
366
- </div>
367
- </div> <!-- END Modal UserStateInfo -->
368
- <!-- [INFO ] [j1.authclient.html ] [END: Modal SIDE INFO signed in] -->
369
-
370
- {% comment %} Modal TOP INFO signed in
371
- --------------------------------------------------------------------------------
372
- <!-- [INFO ] [j1.authclient.html ] [START: Modal TOP INFO signed in] -->
373
- <div class="modal fade top" id="modalTopInfoSignedIn" tabindex="-1" role="dialog" aria-labelledby="modalTopInfoSignedIn" aria-hidden="true" data-backdrop="false">
374
- <div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
375
- <!-- Content -->
376
- <div class="modal-content">
377
- <!-- Body -->
378
- <div class="modal-body">
379
- <div class="row px-4">
380
- <p class="pt-1 pr-2">You're already signed in</p>
381
- <a type="button" class="btn btn btn-raised btn-flex btn-md btn-primary" data-dismiss="modal"OK</a>
369
+ </div> <!-- END Modal UserStateInfo -->
370
+ <!-- [INFO ] [j1.authclient.html ] [END: Modal SIDE INFO signed in] -->
371
+
372
+ {% comment %} Modal TOP INFO signed in
373
+ --------------------------------------------------------------------------------
374
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal TOP INFO signed in] -->
375
+ <div class="modal fade top" id="modalTopInfoSignedIn" tabindex="-1" role="dialog" aria-labelledby="modalTopInfoSignedIn" aria-hidden="true" data-backdrop="false">
376
+ <div class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
377
+ <!-- Content -->
378
+ <div class="modal-content">
379
+ <!-- Body -->
380
+ <div class="modal-body">
381
+ <div class="row px-4">
382
+ <p class="pt-1 pr-2">You're already signed in</p>
383
+ <a type="button" class="btn btn btn-raised btn-flex btn-md btn-primary" data-dismiss="modal"OK</a>
384
+ </div>
382
385
  </div>
383
386
  </div>
387
+ <!-- END Content -->
384
388
  </div>
385
- <!-- END Content -->
386
389
  </div>
390
+ <!-- [INFO ] [j1.authclient.html ] [END: Modal TOP INFO signed in] -->
391
+ -------------------------------------------------------------------------------- {% endcomment %}
387
392
  </div>
388
- <!-- [INFO ] [j1.authclient.html ] [END: Modal TOP INFO signed in] -->
389
- -------------------------------------------------------------------------------- {% endcomment %}
390
-
391
393
  {% endcapture %}
392
394
 
393
395
  {% if production %}