j1_template_mde 2018.4.31 → 2018.4.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +5 -6
  3. data/_includes/themes/j1/layouts/layout_shim_generator.html +20 -2
  4. data/_includes/themes/j1/layouts/layout_theme_generator.html +2 -2
  5. data/_includes/themes/j1/modules/connectors/{analytic/google → ad/custom-provider.html} +7 -16
  6. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +6 -6
  7. data/_includes/themes/j1/modules/connectors/ads +23 -8
  8. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +32 -0
  9. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +38 -0
  10. data/_includes/themes/j1/modules/connectors/analytics +16 -17
  11. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +31 -0
  12. data/_includes/themes/j1/modules/connectors/comment/disqus.html +3 -3
  13. data/_includes/themes/j1/modules/connectors/comment/facebook.html +31 -0
  14. data/_includes/themes/j1/modules/connectors/comments +14 -12
  15. data/_includes/themes/j1/modules/connectors/sharing +3 -10
  16. data/_includes/themes/j1/modules/navigator/generator.html +17 -12
  17. data/_includes/themes/j1/modules/navigator/procedures/quicklinks.proc +37 -27
  18. data/_includes/themes/j1/modules/navigator/procedures/sidebar.proc +3 -3
  19. data/_includes/themes/j1/procedures/layouts/module_writer.proc +4 -4
  20. data/_includes/themes/j1/procedures/layouts/resource_writer.proc +6 -6
  21. data/lib/j1/version.rb +1 -1
  22. data/lib/j1_app/j1_auth_manager/_unused/auth_manager.before_merge_added.rb +1267 -0
  23. data/lib/j1_app/j1_auth_manager/_unused/auth_manager.update.web_cookie.rb +1333 -0
  24. data/lib/j1_app/j1_auth_manager/_unused/auth_manager_ui.2.erb +198 -0
  25. data/lib/j1_app/j1_auth_manager/_unused/auth_manager_ui.additional_inits.erb +254 -0
  26. data/lib/j1_app/j1_auth_manager/auth_manager.rb +361 -275
  27. data/lib/j1_app/j1_auth_manager/config.rb +9 -9
  28. data/lib/j1_app/j1_auth_manager/helpers.rb +60 -2
  29. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +123 -37
  30. data/lib/starter_web/Gemfile +1 -1
  31. data/lib/starter_web/_config.yml +42 -32
  32. data/lib/starter_web/_data/j1_config.yml +46 -56
  33. data/lib/starter_web/_data/j1_resources.yml +25 -5
  34. data/lib/starter_web/_data/layouts/default.yml +10 -0
  35. data/lib/starter_web/_data/modules/j1_cookie_consent.yml +120 -0
  36. data/lib/starter_web/_data/modules/j1_log4javascript.yml +24 -22
  37. data/lib/starter_web/_data/modules/j1_navigator.yml +61 -50
  38. data/lib/starter_web/_data/modules/j1_navigator_menu.yml +32 -11
  39. data/lib/starter_web/_data/tables/country.asciidoc +252 -0
  40. data/lib/starter_web/assets/data/_authclient.html +365 -0
  41. data/lib/starter_web/assets/data/authclient.html +213 -222
  42. data/lib/starter_web/assets/data/cookie_consent.html +261 -0
  43. data/lib/starter_web/assets/data/countries.json +974 -0
  44. data/lib/starter_web/assets/data/footer.html +17 -26
  45. data/lib/starter_web/assets/data/menu.html +20 -21
  46. data/lib/starter_web/assets/images/icons/j1/scalable/j1v2.svg +1 -1
  47. data/lib/starter_web/assets/images/master_header/admin-bootstrap.jpg +0 -0
  48. data/lib/starter_web/assets/images/pages/roundtrip/package.json +16 -16
  49. data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.css +1313 -1219
  50. data/lib/starter_web/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  51. data/lib/starter_web/assets/themes/j1/core/css/uno.css +1251 -1219
  52. data/lib/starter_web/assets/themes/j1/core/css/uno.min.css +1 -1
  53. data/lib/starter_web/assets/themes/j1/core/css/vendor.css +72 -72
  54. data/lib/starter_web/assets/themes/j1/core/css/vendor.min.css +2 -2
  55. data/lib/starter_web/assets/themes/j1/core/js/adapter/algolia.js +1 -1
  56. data/lib/starter_web/assets/themes/j1/core/js/adapter/back2top.js +1 -1
  57. data/lib/starter_web/assets/themes/j1/core/js/adapter/bs_gallery.js +1 -1
  58. data/lib/starter_web/assets/themes/j1/core/js/adapter/cookie_consent.js +345 -0
  59. data/lib/starter_web/assets/themes/j1/core/js/adapter/custom.js +1 -1
  60. data/lib/starter_web/assets/themes/j1/core/js/adapter/lightbox.js +1 -1
  61. data/lib/starter_web/assets/themes/j1/core/js/adapter/logger.js +1 -1
  62. data/lib/starter_web/assets/themes/j1/core/js/adapter/master_header.js +1 -1
  63. data/lib/starter_web/assets/themes/j1/core/js/adapter/navigator.js +254 -190
  64. data/lib/starter_web/assets/themes/j1/core/js/adapter/scroller.js +1 -1
  65. data/lib/starter_web/assets/themes/j1/core/js/adapter/searcher.js +1 -1
  66. data/lib/starter_web/assets/themes/j1/core/js/adapter/stickybits.js +1 -1
  67. data/lib/starter_web/assets/themes/j1/core/js/adapter/switcher.js +1 -1
  68. data/lib/starter_web/assets/themes/j1/core/js/adapter/template.js +432 -97
  69. data/lib/starter_web/assets/themes/j1/core/js/adapter/toccer.js +1 -1
  70. data/lib/starter_web/assets/themes/j1/core/js/template.js +15 -15
  71. data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
  72. data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
  73. data/lib/starter_web/assets/themes/j1/extensions/cookiebar/js/cookiebar.js +277 -0
  74. data/lib/starter_web/assets/themes/j1/{core/js/adapter/cookiebar.js → extensions/cookiebar/js/j1cookiebar.js} +1 -1
  75. data/lib/starter_web/collections/_biography/becoming.adoc +1 -1
  76. data/lib/starter_web/collections/_biography/born-to-run.adoc +1 -1
  77. data/lib/starter_web/collections/posts/{premium → private}/series/_posts/000_includes/attributes.asciidoc +0 -0
  78. data/lib/starter_web/collections/posts/{premium → private}/series/_posts/000_includes/documents/100-docker-using-shared-folders.asciidoc +0 -0
  79. data/lib/starter_web/collections/posts/{premium → private}/series/_posts/000_includes/documents/loop.sh +0 -0
  80. data/lib/starter_web/collections/posts/{premium → private}/series/_posts/000_includes/tables/debug_variables.asciidoc +0 -0
  81. data/lib/starter_web/collections/posts/{premium → private}/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -0
  82. data/lib/starter_web/collections/posts/{private → protected}/wikipedia/_posts/000_includes/attributes.asciidoc +0 -0
  83. data/lib/starter_web/collections/posts/{private → protected}/wikipedia/_posts/000_includes/tables/debug_variables.asciidoc +0 -0
  84. data/lib/starter_web/collections/posts/{private → protected}/wikipedia/_posts/2016-11-20-minneapolis.adoc +0 -0
  85. data/lib/starter_web/collections/posts/{private → protected}/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +0 -0
  86. data/lib/starter_web/collections/posts/{private → protected}/wikipedia/_posts/2016-11-26-columbia-river.adoc +1 -1
  87. data/lib/starter_web/collections/posts/public/featured/_posts/2019-04-12-about-cookies.adoc +175 -0
  88. data/lib/starter_web/collections/posts/public/{featured → jekyll}/_posts/2018-05-01-confusion-about-base-url.adoc +0 -0
  89. data/lib/starter_web/index.html +4 -1
  90. data/lib/starter_web/package.json +1 -1
  91. data/lib/starter_web/pages/{premium → private}/bookshelf/100_about_jekyll_collections.adoc +1 -1
  92. data/lib/starter_web/pages/{premium → private}/bookshelf/200_book_shelf_biography.adoc +1 -1
  93. data/lib/starter_web/pages/{premium → private}/bookshelf/300_book_shelf_fantasy.adoc +1 -1
  94. data/lib/starter_web/pages/{premium → private}/bookshelf/400_book_shelf_romance.adoc +1 -1
  95. data/lib/starter_web/pages/{private → protected}/TeamUp/000_includes/attributes.asciidoc +0 -0
  96. data/lib/starter_web/pages/{private → protected}/TeamUp/index.adoc +3 -3
  97. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/attributes.asciidoc +0 -0
  98. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -0
  99. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -0
  100. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +0 -0
  101. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +0 -0
  102. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +0 -0
  103. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -0
  104. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -0
  105. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -0
  106. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +0 -0
  107. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -0
  108. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -0
  109. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -0
  110. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -0
  111. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +0 -0
  112. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +0 -0
  113. data/lib/starter_web/pages/{private → protected}/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -0
  114. data/lib/starter_web/pages/{private → protected}/previewer/justified_gallery.html +1 -1
  115. data/lib/starter_web/pages/{private → protected}/previewer/mdi_icons_preview.adoc +1 -1
  116. data/lib/starter_web/pages/{private → protected}/previewer/twitter_emoji_preview.adoc +1 -1
  117. data/lib/starter_web/pages/public/about/about_you.adoc +139 -0
  118. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +26 -15
  119. data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +2 -2
  120. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +65 -53
  121. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +11 -8
  122. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +46 -68
  123. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +72 -74
  124. data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +55 -0
  125. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
  126. data/lib/starter_web/pages/public/start/roundtrip/700_extended_modals.adoc +71 -53
  127. metadata +60 -44
  128. data/_includes/themes/j1/modules/connectors/analytic/googleUA +0 -44
  129. data/lib/starter_web/_data/modules/j1_cookiebar.yml +0 -65
  130. data/lib/starter_web/_unused/package.json.new +0 -125
@@ -56,9 +56,27 @@
56
56
  - title: Web in a Day
57
57
  icon: rocket
58
58
  dropdown:
59
- - title: Getting started
60
- href: /pages/public/start/kickstarter/web_in_a_day/intro/
61
- icon: web
59
+ - title: Meet & Greet Jekyll
60
+ href: /pages/public/start/kickstarter/web_in_a_day/intro/
61
+ icon: flag-checkered
62
+ - title: Getting prepared
63
+ href: "#"
64
+ icon: cart
65
+ - title: A first awesome Web
66
+ href: "#"
67
+ icon: creation
68
+ - title: Writing Articles
69
+ href: "#"
70
+ icon: file-document-box-outline
71
+ - title: Creating Blog Posts
72
+ href: "#"
73
+ icon: file-document-box-multiple-outline
74
+ - title: Design your Site
75
+ href: "#"
76
+ icon: wrench
77
+ - title: Using Git
78
+ href: "#"
79
+ icon: git
62
80
 
63
81
  - item: Blog
64
82
  sublevel:
@@ -81,19 +99,19 @@
81
99
  - item: Collections
82
100
  sublevel:
83
101
  - title: About collections
84
- href: /pages/premium/bookshelf/about_collections/
102
+ href: /pages/private/bookshelf/about_collections/
85
103
  icon: read
86
104
  - title: A Book Shelf
87
105
  icon: book-open-variant
88
106
  dropdown:
89
107
  - title: Biography
90
- href: /pages/premium/bookshelf/biography/
108
+ href: /pages/private/bookshelf/biography/
91
109
  icon: nature-people
92
110
  - title: Fantasy
93
- href: /pages/premium/bookshelf/fantasy/
111
+ href: /pages/private/bookshelf/fantasy/
94
112
  icon: pillar
95
113
  - title: Romance
96
- href: /pages/premium/bookshelf/romance/
114
+ href: /pages/private/bookshelf/romance/
97
115
  icon: image-filter-vintage
98
116
 
99
117
  - item: Themes
@@ -112,16 +130,16 @@
112
130
  - item: Apps
113
131
  sublevel:
114
132
  - title: Teamup Calendar
115
- href: /pages/public/apps/calendar/
133
+ href: /pages/protected/apps/calendar/
116
134
  icon: calendar
117
135
  - title: Gallery Previewer
118
- href: /pages/private/previewer/justified_gallery/
136
+ href: /pages/protected/previewer/justified_gallery/
119
137
  icon: view-dashboard
120
138
  - title: MDI Icon Previewer
121
- href: /pages/private/previewer/mdi_font/
139
+ href: /pages/protected/previewer/mdi_font/
122
140
  icon: incognito
123
141
  - title: Twitter Emoji Previewer
124
- href: /pages/private/previewer/twitter_emoji/
142
+ href: /pages/protected/previewer/twitter_emoji/
125
143
  icon: sticker-emoji
126
144
 
127
145
  - item: Online
@@ -236,6 +254,9 @@
236
254
  - title: This site
237
255
  icon: home-outline
238
256
  href: /pages/public/about/site
257
+ - title: About You
258
+ href: /pages/public/about/you/
259
+ icon: account
239
260
  - title: Become a Patron
240
261
  icon: patreon
241
262
  href: /pages/public/about/become_a_patron/
@@ -0,0 +1,252 @@
1
+ [cols=",,",]
2
+ |===============================================================================
3
+ |COUNTRY |A2 (ISO) |A3 (UN) |NUM (UN) |DIALING CODE
4
+ |Afghanistan |AF |AFG |4 |93
5
+ |Albania |AL |ALB |8 |355
6
+ |Algeria |DZ |DZA |12 |213
7
+ |American Samoa |AS |ASM |16 |1-684
8
+ |Andorra |AD |AND |20 |376
9
+ |Angola |AO |AGO |24 |244
10
+ |Anguilla |AI |AIA |660 |1-264
11
+ |Antarctica |AQ |ATA |10 |672
12
+ |Antigua and Barbuda |AG |ATG |28 |1-268
13
+ |Argentina |AR |ARG |32 |54
14
+ |Armenia |AM |ARM |51 |374
15
+ |Aruba |AW |ABW |533 |297
16
+ |Australia |AU |AUS |36 |61
17
+ |Austria |AT |AUT |40 |43
18
+ |Azerbaijan |AZ |AZE |31 |994
19
+ |Bahamas |BS |BHS |44 |1-242
20
+ |Bahrain |BH |BHR |48 |973
21
+ |Bangladesh |BD |BGD |50 |880
22
+ |Barbados |BB |BRB |52 |1-246
23
+ |Belarus |BY |BLR |112 |375
24
+ |Belgium |BE |BEL |56 |32
25
+ |Belize |BZ |BLZ |84 |501
26
+ |Benin |BJ |BEN |204 |229
27
+ |Bermuda |BM |BMU |60 |1-441
28
+ |Bhutan |BT |BTN |64 |975
29
+ |Bolivia |BO |BOL |68 |591
30
+ |Bonaire |BQ |BES |535 |599
31
+ |Bosnia and Herzegovina |BA |BIH |70 |387
32
+ |Botswana |BW |BWA |72 |267
33
+ |Bouvet Island |BV |BVT |74 |47
34
+ |Brazil |BR |BRA |76 |55
35
+ |British Indian Ocean Territory |IO |IOT |86 |246
36
+ |Brunei Darussalam |BN |BRN |96 |673
37
+ |Bulgaria |BG |BGR |100 |359
38
+ |Burkina Faso |BF |BFA |854 |226
39
+ |Burundi |BI |BDI |108 |257
40
+ |Cambodia |KH |KHM |116 |855
41
+ |Cameroon |CM |CMR |120 |237
42
+ |Canada |CA |CAN |124 |1
43
+ |Cape Verde |CV |CPV |132 |238
44
+ |Cayman Islands |KY |CYM |136 |1-345
45
+ |Central African Republic |CF |CAF |140 |236
46
+ |Chad |TD |TCD |148 |235
47
+ |Chile |CL |CHL |152 |56
48
+ |China |CN |CHN |156 |86
49
+ |Christmas Island |CX |CXR |162 |61
50
+ |Cocos (Keeling) Islands |CC |CCK |166 |61
51
+ |Colombia |CO |COL |170 |57
52
+ |Comoros |KM |COM |174 |269
53
+ |Congo |CG |COG |178 |242
54
+ |Democratic Republic of the Congo |CD |COD |180 |243
55
+ |Cook Islands |CK |COK |184 |682
56
+ |Costa Rica |CR |CRI |188 |506
57
+ |Croatia |HR |HRV |191 |385
58
+ |Cuba |CU |CUB |192 |53
59
+ |Curacao |CW |CUW |531 |599
60
+ |Cyprus |CY |CYP |196 |357
61
+ |Czech Republic |CZ |CZE |203 |420
62
+ |Cote d'Ivoire |CI |CIV |384 |225
63
+ |Denmark |DK |DNK |208 |45
64
+ |Djibouti |DJ |DJI |262 |253
65
+ |Dominica |DM |DMA |212 |1-767
66
+ |Dominican Republic |DO |DOM |214 |1-809,1-829,1-849
67
+ |Ecuador |EC |ECU |218 |593
68
+ |Egypt |EG |EGY |818 |20
69
+ |El Salvador |SV |SLV |222 |503
70
+ |Equatorial Guinea |GQ |GNQ |226 |240
71
+ |Eritrea |ER |ERI |232 |291
72
+ |Estonia |EE |EST |233 |372
73
+ |Ethiopia |ET |ETH |231 |251
74
+ |Falkland Islands (Malvinas) |FK |FLK |238 |500
75
+ |Faroe Islands |FO |FRO |234 |298
76
+ |Fiji |FJ |FJI |242 |679
77
+ |Finland |FI |FIN |246 |358
78
+ |France |FR |FRA |250 |33
79
+ |French Guiana |GF |GUF |254 |594
80
+ |French Polynesia |PF |PYF |258 |689
81
+ |French Southern Territories |TF |ATF |260 |262
82
+ |Gabon |GA |GAB |266 |241
83
+ |Gambia |GM |GMB |270 |220
84
+ |Georgia |GE |GEO |268 |995
85
+ |Germany |DE |DEU |276 |49
86
+ |Ghana |GH |GHA |288 |233
87
+ |Gibraltar |GI |GIB |292 |350
88
+ |Greece |GR |GRC |300 |30
89
+ |Greenland |GL |GRL |304 |299
90
+ |Grenada |GD |GRD |308 |1-473
91
+ |Guadeloupe |GP |GLP |312 |590
92
+ |Guam |GU |GUM |316 |1-671
93
+ |Guatemala |GT |GTM |320 |502
94
+ |Guernsey |GG |GGY |831 |44
95
+ |Guinea |GN |GIN |324 |224
96
+ |Guinea-Bissau |GW |GNB |624 |245
97
+ |Guyana |GY |GUY |328 |592
98
+ |Haiti |HT |HTI |332 |509
99
+ |Heard Island and McDonald Islands |HM |HMD |334 |672
100
+ |Holy See (Vatican City State) |VA |VAT |336 |379
101
+ |Honduras |HN |HND |340 |504
102
+ |Hong Kong |HK |HKG |344 |852
103
+ |Hungary |HU |HUN |348 |36
104
+ |Iceland |IS |ISL |352 |354
105
+ |India |IN |IND |356 |91
106
+ |Indonesia |ID |IDN |360 |62
107
+ |Iran, Islamic Republic of |IR |IRN |364 |98
108
+ |Iraq |IQ |IRQ |368 |964
109
+ |Ireland |IE |IRL |372 |353
110
+ |Isle of Man |IM |IMN |833 |44
111
+ |Israel |IL |ISR |376 |972
112
+ |Italy |IT |ITA |380 |39
113
+ |Jamaica |JM |JAM |388 |1-876
114
+ |Japan |JP |JPN |392 |81
115
+ |Jersey |JE |JEY |832 |44
116
+ |Jordan |JO |JOR |400 |962
117
+ |Kazakhstan |KZ |KAZ |398 |7
118
+ |Kenya |KE |KEN |404 |254
119
+ |Kiribati |KI |KIR |296 |686
120
+ |Korea, Democratic People's Republic of |KP |PRK |408 |850
121
+ |Korea, Republic of |KR |KOR |410 |82
122
+ |Kuwait |KW |KWT |414 |965
123
+ |Kyrgyzstan |KG |KGZ |417 |996
124
+ |Lao People's Democratic Republic |LA |LAO |418 |856
125
+ |Latvia |LV |LVA |428 |371
126
+ |Lebanon |LB |LBN |422 |961
127
+ |Lesotho |LS |LSO |426 |266
128
+ |Liberia |LR |LBR |430 |231
129
+ |Libya |LY |LBY |434 |218
130
+ |Liechtenstein |LI |LIE |438 |423
131
+ |Lithuania |LT |LTU |440 |370
132
+ |Luxembourg |LU |LUX |442 |352
133
+ |Macao |MO |MAC |446 |853
134
+ |Macedonia, the Former Yugoslav Republic of |MK |MKD |807 |389
135
+ |Madagascar |MG |MDG |450 |261
136
+ |Malawi |MW |MWI |454 |265
137
+ |Malaysia |MY |MYS |458 |60
138
+ |Maldives |MV |MDV |462 |960
139
+ |Mali |ML |MLI |466 |223
140
+ |Malta |MT |MLT |470 |356
141
+ |Marshall Islands |MH |MHL |584 |692
142
+ |Martinique |MQ |MTQ |474 |596
143
+ |Mauritania |MR |MRT |478 |222
144
+ |Mauritius |MU |MUS |480 |230
145
+ |Mayotte |YT |MYT |175 |262
146
+ |Mexico |MX |MEX |484 |52
147
+ |Micronesia, Federated States of |FM |FSM |583 |691
148
+ |Moldova, Republic of |MD |MDA |498 |373
149
+ |Monaco |MC |MCO |492 |377
150
+ |Mongolia |MN |MNG |496 |976
151
+ |Montenegro |ME |MNE |499 |382
152
+ |Montserrat |MS |MSR |500 |1-664
153
+ |Morocco |MA |MAR |504 |212
154
+ |Mozambique |MZ |MOZ |508 |258
155
+ |Myanmar |MM |MMR |104 |95
156
+ |Namibia |NA |NAM |516 |264
157
+ |Nauru |NR |NRU |520 |674
158
+ |Nepal |NP |NPL |524 |977
159
+ |Netherlands |NL |NLD |528 |31
160
+ |New Caledonia |NC |NCL |540 |687
161
+ |New Zealand |NZ |NZL |554 |64
162
+ |Nicaragua |NI |NIC |558 |505
163
+ |Niger |NE |NER |562 |227
164
+ |Nigeria |NG |NGA |566 |234
165
+ |Niue |NU |NIU |570 |683
166
+ |Norfolk Island |NF |NFK |574 |672
167
+ |Northern Mariana Islands |MP |MNP |580 |1-670
168
+ |Norway |NO |NOR |578 |47
169
+ |Oman |OM |OMN |512 |968
170
+ |Pakistan |PK |PAK |586 |92
171
+ |Palau |PW |PLW |585 |680
172
+ |Palestine, State of |PS |PSE |275 |970
173
+ |Panama |PA |PAN |591 |507
174
+ |Papua New Guinea |PG |PNG |598 |675
175
+ |Paraguay |PY |PRY |600 |595
176
+ |Peru |PE |PER |604 |51
177
+ |Philippines |PH |PHL |608 |63
178
+ |Pitcairn |PN |PCN |612 |870
179
+ |Poland |PL |POL |616 |48
180
+ |Portugal |PT |PRT |620 |351
181
+ |Puerto Rico |PR |PRI |630 |1
182
+ |Qatar |QA |QAT |634 |974
183
+ |Romania |RO |ROU |642 |40
184
+ |Russian Federation |RU |RUS |643 |7
185
+ |Rwanda |RW |RWA |646 |250
186
+ |Reunion |RE |REU |638 |262
187
+ |Saint Barthelemy |BL |BLM |652 |590
188
+ |Saint Helena |SH |SHN |654 |290
189
+ |Saint Kitts and Nevis |KN |KNA |659 |1-869
190
+ |Saint Lucia |LC |LCA |662 |1-758
191
+ |Saint Martin (French part) |MF |MAF |663 |590
192
+ |Saint Pierre and Miquelon |PM |SPM |666 |508
193
+ |Saint Vincent and the Grenadines |VC |VCT |670 |1-784
194
+ |Samoa |WS |WSM |882 |685
195
+ |San Marino |SM |SMR |674 |378
196
+ |Sao Tome and Principe |ST |STP |678 |239
197
+ |Saudi Arabia |SA |SAU |682 |966
198
+ |Senegal |SN |SEN |686 |221
199
+ |Serbia |RS |SRB |688 |381
200
+ |Seychelles |SC |SYC |690 |248
201
+ |Sierra Leone |SL |SLE |694 |232
202
+ |Singapore |SG |SGP |702 |65
203
+ |Sint Maarten (Dutch part) |SX |SXM |534 |1-721
204
+ |Slovakia |SK |SVK |703 |421
205
+ |Slovenia |SI |SVN |705 |386
206
+ |Solomon Islands |SB |SLB |90 |677
207
+ |Somalia |SO |SOM |706 |252
208
+ |South Africa |ZA |ZAF |710 |27
209
+ |South Georgia and the South Sandwich Islands |GS |SGS |239 |500
210
+ |South Sudan |SS |SSD |728 |211
211
+ |Spain |ES |ESP |724 |34
212
+ |Sri Lanka |LK |LKA |144 |94
213
+ |Sudan |SD |SDN |729 |249
214
+ |Suriname |SR |SUR |740 |597
215
+ |Svalbard and Jan Mayen |SJ |SJM |744 |47
216
+ |Swaziland |SZ |SWZ |748 |268
217
+ |Sweden |SE |SWE |752 |46
218
+ |Switzerland |CH |CHE |756 |41
219
+ |Syrian Arab Republic |SY |SYR |760 |963
220
+ |Taiwan |TW |TWN |158 |886
221
+ |Tajikistan |TJ |TJK |762 |992
222
+ |United Republic of Tanzania |TZ |TZA |834 |255
223
+ |Thailand |TH |THA |764 |66
224
+ |Timor-Leste |TL |TLS |626 |670
225
+ |Togo |TG |TGO |768 |228
226
+ |Tokelau |TK |TKL |772 |690
227
+ |Tonga |TO |TON |776 |676
228
+ |Trinidad and Tobago |TT |TTO |780 |1-868
229
+ |Tunisia |TN |TUN |788 |216
230
+ |Turkey |TR |TUR |792 |90
231
+ |Turkmenistan |TM |TKM |795 |993
232
+ |Turks and Caicos Islands |TC |TCA |796 |1-649
233
+ |Tuvalu |TV |TUV |798 |688
234
+ |Uganda |UG |UGA |800 |256
235
+ |Ukraine |UA |UKR |804 |380
236
+ |United Arab Emirates |AE |ARE |784 |971
237
+ |United Kingdom |GB |GBR |826 |44
238
+ |United States |US |USA |840 |1
239
+ |United States Minor Outlying Islands |UM |UMI |581 |1
240
+ |Uruguay |UY |URY |858 |598
241
+ |Uzbekistan |UZ |UZB |860 |998
242
+ |Vanuatu |VU |VUT |548 |678
243
+ |Venezuela |VE |VEN |862 |58
244
+ |Viet Nam |VN |VNM |704 |84
245
+ |British Virgin Islands |VG |VGB |92 |1-284
246
+ |US Virgin Islands |VI |VIR |850 |1-340
247
+ |Wallis and Futuna |WF |WLF |876 |681
248
+ |Western Sahara |EH |ESH |732 |212
249
+ |Yemen |YE |YEM |887 |967
250
+ |Zambia |ZM |ZMB |894 |260
251
+ |Zimbabwe |ZW |ZWE |716 |263
252
+ |===============================================================================
@@ -0,0 +1,365 @@
1
+ ---
2
+ regenerate: true
3
+ ---
4
+ {% capture cache %}
5
+
6
+ {% comment %}
7
+ # -----------------------------------------------------------------------------
8
+ # ~/assets/data/authclient.html
9
+ # Liquid PROCEDURE to generate the HTML (data) portion of all modals used
10
+ # by J1AuthClient
11
+ #
12
+ # Product/Info:
13
+ # https://jekyll-one.com
14
+ #
15
+ # Copyright (C) 2019 Juergen Adams
16
+ #
17
+ # J1 Template is licensed under the MIT License.
18
+ # See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE
19
+ #
20
+ # -----------------------------------------------------------------------------
21
+ # Test data:
22
+ # liquid_var: {{ liquid_var | debug }}
23
+ # authclient_options: {{ authclient_options | debug }}
24
+ # -----------------------------------------------------------------------------
25
+ {% endcomment %}
26
+
27
+ {% comment %} Liquid procedures
28
+ -------------------------------------------------------------------------------- {% endcomment %}
29
+ {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
30
+ {% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
31
+
32
+ {% comment %} Set config files
33
+ -------------------------------------------------------------------------------- {% endcomment %}
34
+ {% assign navigator_config = site.data.modules.j1_navigator %}
35
+ {% assign nav_defaults = navigator_config.defaults %}
36
+
37
+ {% comment %} Set config data
38
+ -------------------------------------------------------------------------------- {% endcomment %}
39
+ {% assign nav_authclient_default = nav_defaults.nav_authclient %}
40
+ {% assign nav_authclient_config = navigator_config.nav_authclient %}
41
+
42
+ {% comment %} Set config options
43
+ -------------------------------------------------------------------------------- {% endcomment %}
44
+ {% assign authclient_options = nav_authclient_default | merge: nav_authclient_config %}
45
+ {% assign providers = site.j1_auth.providers.activated %}
46
+ {% assign active_provider = site.j1_auth.providers.activated[0] %}
47
+
48
+
49
+ {% comment %} Liquid var initialization
50
+ -------------------------------------------------------------------------------- {% endcomment %}
51
+
52
+ {% comment %} Set auth_client properties
53
+ -------------------------------------------------------------------------------- {% endcomment %}
54
+ {% assign icon_family = authclient_options.icon_family | downcase %}
55
+ {% assign signin_icon = authclient_options.signin_icon %}
56
+ {% assign signout_icon = authclient_options.signout_icon %}
57
+
58
+ {% assign signin_modal_title = authclient_options.auth_signin_modal.title %}
59
+ {% assign signin_modal_body_text = authclient_options.auth_signin_modal.body_text %}
60
+ {% assign signout_modal_title = authclient_options.auth_signout_modal.title %}
61
+ {% assign signout_modal_body_text = authclient_options.auth_signout_modal.body_text %}
62
+
63
+ {% if providers contains 'disqus' %}
64
+ {% assign auth_disqus_enabled = true %}
65
+ {% assign auth_disqus_id = authclient_options.auth_disqus.id %}
66
+ {% assign auth_disqus_title = authclient_options.auth_disqus.title | downcase %}
67
+ {% assign auth_disqus_text = authclient_options.auth_disqus.text %}
68
+ {% else %}
69
+ {% assign auth_disqus_enabled = false %}
70
+ {% endif %}
71
+
72
+ {% if providers contains 'github' %}
73
+ {% assign auth_github_enabled = true %}
74
+ {% assign auth_github_id = authclient_options.auth_github.id %}
75
+ {% assign auth_github_title = authclient_options.auth_github.title | downcase %}
76
+ {% assign auth_github_text = authclient_options.auth_github.text %}
77
+ {% else %}
78
+ {% assign auth_github_enabled = false %}
79
+ {% endif %}
80
+
81
+ {% if providers contains 'facebook' %}
82
+ {% assign auth_facebook_enabled = true %}
83
+ {% assign auth_facebook_id = authclient_options.auth_facebook.id %}
84
+ {% assign auth_facebook_title = authclient_options.auth_facebook.title | downcase %}
85
+ {% assign auth_facebook_text = authclient_options.auth_facebook.text %}
86
+ {% else %}
87
+ {% assign auth_facebook_enabled = false %}
88
+ {% endif %}
89
+
90
+ {% if providers contains 'twitter' %}
91
+ {% assign auth_twitter_enabled = true %}
92
+ {% assign auth_twitter_id = authclient_options.auth_twitter.id %}
93
+ {% assign auth_twitter_title = authclient_options.auth_twitter.title | downcase %}
94
+ {% assign auth_twitter_text = authclient_options.auth_twitter.text %}
95
+ {% else %}
96
+ {% assign auth_twitter_enabled = false %}
97
+ {% endif %}
98
+
99
+ {% if providers contains 'patreon' %}
100
+ {% assign auth_patreon_enabled = true %}
101
+ {% assign auth_patreon_id = authclient_options.auth_patreon.id %}
102
+ {% assign auth_patreon_title = authclient_options.auth_patreon.title | downcase %}
103
+ {% assign auth_patreon_text = authclient_options.auth_patreon.text %}
104
+ {% else %}
105
+ {% assign auth_patreon_enabled = false %}
106
+ {% endif %}
107
+
108
+ {% if authclient_options.icon_family == 'FontAwesome' or authclient_options.icon_family == 'FontAwesome4' or authclient_options.icon_family == 'FontAwesome5' %}
109
+ {% assign icon_family = 'fa' %}
110
+ {% elsif authclient_options.icon_family == 'MDI' or authclient_options.icon_family == 'Material Design Icons'%}
111
+ {% assign icon_family = 'mdi' %}
112
+ {% else %}
113
+ {% assign icon_family = 'mdi' %}
114
+ {% endif %}
115
+
116
+ {% include {{select_color}} color=authclient_options.icon_color fallback="#9E9E9E" %}
117
+ {% capture icon_color %}style="color:{{color}}"{% endcapture %}
118
+
119
+ {% include {{select_icon_size}} family=authclient_options.icon_family size=authclient_options.icon_size %}
120
+ {% assign icon_size = size %}
121
+
122
+ {% comment %} Main
123
+ -------------------------------------------------------------------------------- {% endcomment %}
124
+
125
+ {% comment %} Modal SignIn
126
+ ------------------------------------------------------------------------------ {% endcomment %}
127
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal signin|signup] -->
128
+ <div class="modal fade" id="modalOmniSignIn" tabindex="-1" role="dialog" aria-labelledby="modalOmniSignIn" aria-hidden="true">
129
+ <div class="modal-dialog modal-lg modal-notify modal-info" role="document">
130
+
131
+ <!-- Content -->
132
+ <div class="modal-content">
133
+
134
+ <!--Header-->
135
+ <div class="modal-header">
136
+ <p class="lead">
137
+ <i class="mdi mdi-2x mdi-account mdi-dark"></i>
138
+ {{signin_modal_title}}
139
+ </p>
140
+ </div>
141
+
142
+ <!-- Body -->
143
+ <div class="modal-body mr-5 ml-5 mb-0">
144
+ <p style="text-align: justify;">{{signin_modal_body_text}}</p>
145
+ <h5 class="mt-1 mb-3 notoc">Available options</h5>
146
+
147
+ <!-- Modal nav pills -->
148
+ <div class="row ml-2 mr-2">
149
+ <ul class="nav nav-pills nav-pills-icons mt-2" role="tablist">
150
+
151
+ {% comment %} Array used to order the (provider) tabs
152
+ -------------------------------------------------------------------- {% endcomment %}
153
+ {% for provider in providers %}
154
+
155
+ {% if provider == active_provider %}
156
+ {% assign active_flag = " active" %}
157
+ {% else %}
158
+ {% assign active_flag = "" %}
159
+ {% endif %}
160
+
161
+ {% if provider == 'disqus' and auth_disqus_enabled %}
162
+ <li class="nav-item">
163
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_disqus_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
164
+ <i class="mdi mdi-disqus mt-1 mb-2"></i> {{ auth_disqus_title }}
165
+ </a>
166
+ </li>
167
+ {% endif %}
168
+
169
+ {% if provider == 'github' and auth_github_enabled %}
170
+ <li class="nav-item">
171
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_github_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="true">
172
+ <i class="mdi mdi-github-circle mt-1 mb-2"></i> {{ auth_github_title }}
173
+ </a>
174
+ </li>
175
+ {% endif %}
176
+
177
+ {% if provider == 'facebook' and auth_facebook_enabled %}
178
+ <li class="nav-item">
179
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_facebook_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
180
+ <i class="mdi mdi-facebook mt-1 mb-2"></i> {{ auth_facebook_title }}
181
+ </a>
182
+ </li>
183
+ {% endif %}
184
+
185
+ {% if provider == 'twitter' and auth_twitter_enabled %}
186
+ <li class="nav-item">
187
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_twitter_id }}" role="tab" data-toggle="tab" aria-expanded="false" aria-selected="false">
188
+ <i class="mdi mdi-twitter mt-1 mb-2"></i> {{ auth_twitter_title }}
189
+ </a>
190
+ </li>
191
+ {% endif %}
192
+
193
+ {% if provider == 'patreon' and auth_patreon_enabled %}
194
+ <li class="nav-item">
195
+ <a class="nav-link{{active_flag}}" href="#h-tabs-{{ auth_patreon_id }}" role="tab" data-toggle="tab" aria-expanded="true" aria-selected="false">
196
+ <i class="mdi mdi-patreon mt-1 mb-2"></i>
197
+ {{ auth_patreon_title }}
198
+ </a>
199
+ </li>
200
+ {% endif %}
201
+
202
+ {% endfor %}
203
+ </ul>
204
+
205
+ <div class="tab-content tab-space">
206
+ {% for provider in providers %}
207
+
208
+ {% if provider == active_provider %}
209
+ {% assign active_flag = " active" %}
210
+ {% else %}
211
+ {% assign active_flag = "" %}
212
+ {% endif %}
213
+
214
+ {% if provider == 'disqus' and auth_disqus_enabled %}
215
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_disqus_id }}">{{ auth_disqus_text }}</div>
216
+ {% endif %}
217
+ {% if provider == 'github' and auth_github_enabled %}
218
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_github_id }}">{{ auth_github_text }}</div>
219
+ {% endif %}
220
+ {% if provider == 'facebook' and auth_facebook_enabled %}
221
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_facebook_id }}">{{ auth_facebook_text }}</div>
222
+ {% endif %}
223
+ {% if provider == 'patreon' and auth_patreon_enabled %}
224
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_patreon_id }}">{{ auth_patreon_text }}</div>
225
+ {% endif %}
226
+ {% if provider == 'twitter' and auth_twitter_enabled %}
227
+ <div class="tab-pane{{active_flag}}" id="h-tabs-{{ auth_twitter_id }}">{{ auth_twitter_text }}</div>
228
+ {% endif %}
229
+ {% endfor %}
230
+ </div>
231
+
232
+ </div>
233
+ </div>
234
+
235
+ <!-- Footer -->
236
+ <div class="modal-footer justify-content-center">
237
+ <a type="button" id="signInButton" class="btn btn-primary-modal mr-2" data-dismiss="modal">
238
+ <i class="mdi mdi-18px mdi-dark mdi-login"></i>
239
+ Yes, please
240
+ </a>
241
+ <a type="button" id="exitButton" class="btn btn-outline-modal" data-dismiss="modal">
242
+ <i class="mdi mdi-18px mdi-dark mdi-close"></i>
243
+ No, thanks
244
+ </a>
245
+ </div>
246
+ </div>
247
+ <!-- END Content -->
248
+
249
+ </div>
250
+ </div> <!-- Modal SignIn -->
251
+ <!-- [INFO ] [j1.authclient.html ] [END: Modal signin] -->
252
+
253
+ {% comment %} Modal SignOut
254
+ ------------------------------------------------------------------------------ {% endcomment %}
255
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal signout] -->
256
+ <div class="modal fade top" id="modalOmniSignOut" tabindex="-1" role="dialog" aria-labelledby="modalOmniSignOut" aria-hidden="true" data-backdrop="false">
257
+ <div class="modal-dialog modal-lg modal-notify modal-warning" role="document">
258
+ <!-- Content -->
259
+ <div class="modal-content">
260
+
261
+ <!--Header-->
262
+ <div class="modal-header">
263
+ <p class="lead">
264
+ <i class="mdi mdi-2x mdi-dark mdi-account"></i>
265
+ {{signout_modal_title}}
266
+ </p>
267
+ </div>
268
+
269
+ <!-- Body -->
270
+ <div class="modal-body mr-5 ml-5 mb-0">
271
+ <!-- User info placed dynamically -->
272
+ <div id="user_state_info" class="text-left mb-3">
273
+ <h4 class="user-info">You are signed in to provider: </h4>
274
+ </div>
275
+
276
+ <p style="text-align: justify;">{{signout_modal_body_text}}</p>
277
+
278
+ <h5 class="mt-1 mb-3 notoc">Available options</h5>
279
+ <form id="authclient-form" class="form-horizontal">
280
+ <div class="mdc-list-group">
281
+ <div class="ml-5 mt-0 mr-0 mb-5">
282
+
283
+ <div class="switch">
284
+ <label>
285
+ <input id="providerSignOut" name="providerSignOut" type="checkbox">
286
+ <span class="bmd-switch-track"></span>
287
+ SignOut completely (Provider)
288
+ </label>
289
+ </div>
290
+
291
+ </div>
292
+ </div>
293
+ </form>
294
+
295
+ </div>
296
+
297
+ <!-- Footer -->
298
+ <div class="modal-footer">
299
+ <a type="button" id="signOutButton" class="btn btn-primary-modal mr-2" data-dismiss="modal">
300
+ <i class="mdi mdi-18px mdi-dark mdi-logout"></i>
301
+ Yes, please
302
+ </a>
303
+ <a type="button" id="exitButton" class="btn btn-outline-modal" data-dismiss="modal">
304
+ <i class="mdi mdi-18px mdi-dark mdi-close"></i>
305
+ No, thanks
306
+ </a>
307
+ </div>
308
+
309
+ </div> <!-- END Content -->
310
+ </div>
311
+ </div> <!-- Modal SignOut -->
312
+
313
+ {% comment %} Modal UserStateInfo
314
+ ------------------------------------------------------------------------------ {% endcomment %}
315
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal SIDE INFO signed in] -->
316
+ <div class="modal fade right" id="sideModalAlreadySigneIn" tabindex="-1" role="dialog" aria-labelledby="sideModalAlreadySigneIn" aria-hidden="true" data-backdrop="false">
317
+ <div class="modal-dialog modal-side modal-top-right modal-notify modal-success" role="document">
318
+ <!-- Content -->
319
+ <div class="modal-content">
320
+ <!--Header-->
321
+ <div class="modal-header">
322
+ <i class="mdi mdi-2x mdi-account mdi-dark"></i>
323
+ <p class="lead">Info</p>
324
+ </div>
325
+ <!-- Body -->
326
+ <div class="modal-body">
327
+ <div class="text-center">
328
+ <p>You're already signed in</p>
329
+ </div>
330
+ </div>
331
+ <!-- Footer -->
332
+ <div class="modal-footer justify-content-center">
333
+ <a type="button" class="btn btn-outline-modal" data-dismiss="modal">OK</a>
334
+ </div>
335
+ </div>
336
+ <!-- END Content -->
337
+ </div>
338
+ </div> <!-- END Modal UserStateInfo -->
339
+ <!-- [INFO ] [j1.authclient.html ] [END: Modal SIDE INFO signed in] -->
340
+
341
+ {% comment %} Modal TOP INFO signed in
342
+ ----------------------------------------------------------------------------
343
+ <!-- [INFO ] [j1.authclient.html ] [START: Modal TOP INFO signed in] -->
344
+ <div class="modal fade top" id="modalTopInfoSignedIn" tabindex="-1" role="dialog" aria-labelledby="modalTopInfoSignedIn" aria-hidden="true" data-backdrop="false">
345
+ <div class="modal-dialog modal-frame modal-top modal-notify modal-info" role="document">
346
+ <!-- Content -->
347
+ <div class="modal-content">
348
+ <!-- Body -->
349
+ <div class="modal-body">
350
+ <div class="row px-4">
351
+ <p class="pt-1 pr-2">You're already signed in</p>
352
+ <a type="button" class="btn btn-outline-modal" data-dismiss="modal"OK</a>
353
+ </div>
354
+ </div>
355
+ </div>
356
+ <!-- END Content -->
357
+ </div>
358
+ </div>
359
+ <!-- [INFO ] [j1.authclient.html ] [END: Modal TOP INFO signed in] -->
360
+ ---------------------------------------------------------------------------- {% endcomment %}
361
+
362
+ {% endcapture %}
363
+
364
+ {{ cache | strip_empty_lines }}
365
+ {% assign cache = nil %}