j1-template 2021.1.2 → 2021.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +23 -9
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -7
- data/assets/data/authclient.html +231 -229
- data/assets/data/banner.html +30 -32
- data/assets/data/cookiebar.html +202 -199
- data/assets/data/fam.html +1 -1
- data/assets/data/footer.html +1 -1
- data/assets/data/footer.new.1.html +256 -0
- data/assets/data/footer.new.2.html +256 -0
- data/assets/data/footer.org.html +249 -0
- data/assets/data/gallery_customizer.html +10 -5
- data/assets/data/menu.html +3 -3
- data/assets/data/mmenu.html +4 -3
- data/assets/data/mmenu_sidebar.html +1 -1
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/panel.html +11 -10
- data/assets/data/quicklinks.html +2 -2
- data/assets/themes/j1/adapter/js/j1.js +12 -4
- data/assets/themes/j1/adapter/js/j1.new.js +1878 -0
- data/assets/themes/j1/adapter/js/j1.org.js +1874 -0
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +3 -2
- data/assets/themes/j1/adapter/js/mmenu.js +8 -4
- data/assets/themes/j1/adapter/js/navigator.js +17 -10
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3858 -186
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/_config.yml +5 -4
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -0
- data/lib/starter_web/_data/blocks/banner.yml +5 -3
- data/lib/starter_web/_data/blocks/panel.yml +9 -7
- data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +6 -5
- data/lib/starter_web/_data/layouts/page.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
- data/lib/starter_web/_data/modules/navigator.yml +24 -21
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -3
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -7
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -7
- data/lib/starter_web/index.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +11 -6
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +8 -6
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -3
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +6 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd3bd3fa6ca6658fe543647ef566728d8464b15c928ca152ed16fa6bf53f60d8
|
|
4
|
+
data.tar.gz: 8bc18298b4fd0cb68c7f7a58fe02b00002c3d30baf272b37c7d8538fc9d1148d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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"
|
|
147
|
-
{%
|
|
148
|
-
|
|
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"
|
|
153
|
-
{%
|
|
154
|
-
|
|
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 ] [
|
|
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.
|
|
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="
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
214
|
+
<a class="card-link text-muted text-lowercase"
|
|
214
215
|
href="{{post.url}}#readmore">
|
|
215
216
|
Read · {{post.tagline}}
|
|
216
217
|
</a>
|
data/assets/data/authclient.html
CHANGED
|
@@ -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
|
-
{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
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
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
<div
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
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
|
-
</
|
|
323
|
-
-->
|
|
324
|
-
|
|
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
|
-
<!--
|
|
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
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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 %}
|