j1_template 2019.4.7 → 2019.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +24 -9
  3. data/_includes/themes/j1/layouts/content_generator_page.html +24 -9
  4. data/_includes/themes/j1/layouts/content_generator_post.html +27 -15
  5. data/_includes/themes/j1/layouts/layout_theme_generator.html +39 -19
  6. data/_includes/themes/j1/layouts/layout_theme_generator.new.html +118 -0
  7. data/_includes/themes/j1/layouts/layout_theme_generator.org.html +119 -0
  8. data/_includes/themes/j1/procedures/global/pager.proc +49 -51
  9. data/lib/j1/version.rb +1 -1
  10. data/lib/j1_app/j1_auth_manager/auth_manager.rb +27 -29
  11. data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +12 -8
  12. data/lib/starter_web/Gemfile +1 -1
  13. data/lib/starter_web/_cc_test_data/_config.yml +1 -1
  14. data/lib/starter_web/_cc_test_data/_data/blocks/banner.yml +57 -0
  15. data/lib/starter_web/_cc_test_data/_data/blocks/defaults/banner.yml +55 -0
  16. data/lib/starter_web/_cc_test_data/_data/blocks/defaults/footer.yml +3 -3
  17. data/lib/starter_web/_cc_test_data/_data/blocks/defaults/panel.yml +30 -38
  18. data/lib/starter_web/_cc_test_data/_data/blocks/footer.yml +181 -110
  19. data/lib/starter_web/_cc_test_data/_data/modules/back2top.yml +1 -1
  20. data/lib/starter_web/_cc_test_data/_data/modules/defaults/smooth_scroll.yml +169 -0
  21. data/lib/starter_web/_cc_test_data/_data/modules/defaults/theme_switcher.yml +168 -0
  22. data/lib/starter_web/_cc_test_data/_data/modules/smooth_scroll.yml +169 -0
  23. data/lib/starter_web/_cc_test_data/_data/modules/theme_switcher.yml +168 -0
  24. data/lib/starter_web/_config.yml +74 -71
  25. data/lib/starter_web/_data/blocks/banner.yml +57 -0
  26. data/lib/starter_web/_data/blocks/defaults/banner.yml +55 -0
  27. data/lib/starter_web/_data/modules/{j1_navigator_menu.yml → _old_configs/j1_navigator_menu.yml} +0 -0
  28. data/lib/starter_web/_data/modules/{j1_parallax.yml → _old_configs/j1_parallax.yml} +0 -0
  29. data/lib/starter_web/_data/modules/{j1_smooth_scroll.yml → _old_configs/j1_smooth_scroll.yml} +0 -0
  30. data/lib/starter_web/_data/modules/{j1_stickybits.yml → _old_configs/j1_stickybits.yml} +0 -0
  31. data/lib/starter_web/_data/modules/{j1_theme_switcher.yml → _old_configs/j1_theme_switcher.yml} +0 -0
  32. data/lib/starter_web/_data/modules/{j1_toccer.yml → _old_configs/j1_toccer.yml} +0 -0
  33. data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +169 -0
  34. data/lib/starter_web/_data/modules/defaults/stickybits.yml +37 -0
  35. data/lib/starter_web/_data/modules/defaults/theme_switcher.yml +168 -0
  36. data/lib/starter_web/_data/modules/defaults/toccer.yml +172 -0
  37. data/lib/starter_web/_data/modules/navigator_menu.yml +306 -0
  38. data/lib/starter_web/_data/modules/smooth_scroll.yml +169 -0
  39. data/lib/starter_web/_data/modules/stickybits.yml +38 -0
  40. data/lib/starter_web/_data/modules/theme_switcher.yml +168 -0
  41. data/lib/starter_web/_data/modules/toccer.yml +172 -0
  42. data/lib/starter_web/_data/resources.yml +23 -24
  43. data/lib/starter_web/_data/template_settings.yml +2 -2
  44. data/lib/starter_web/assets/data/authclient.html +9 -9
  45. data/lib/starter_web/assets/data/banner.html +24 -19
  46. data/lib/starter_web/assets/data/cookie_consent.html +9 -9
  47. data/lib/starter_web/assets/data/footer.html +9 -10
  48. data/lib/starter_web/assets/data/menu.html +23 -16
  49. data/lib/starter_web/assets/data/panel.html +9 -10
  50. data/lib/starter_web/assets/data/sidebar.html +9 -10
  51. data/lib/starter_web/assets/data/webhook.html +8 -8
  52. data/lib/starter_web/assets/images/pages/roundtrip/package.json +1 -1
  53. data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +11 -9
  54. data/lib/starter_web/assets/themes/j1/adapter/js/cookie_consent.js +5 -5
  55. data/lib/starter_web/assets/themes/j1/adapter/js/logger.js +8 -18
  56. data/lib/starter_web/assets/themes/j1/adapter/js/master_header.js +48 -70
  57. data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +45 -27
  58. data/lib/starter_web/assets/themes/j1/adapter/js/octokit.app_only.js +433 -0
  59. data/lib/starter_web/assets/themes/j1/adapter/js/octokit.js +179 -192
  60. data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +29 -28
  61. data/lib/starter_web/assets/themes/j1/adapter/js/searcher.js +5 -5
  62. data/lib/starter_web/assets/themes/j1/adapter/js/stickybits.js +14 -13
  63. data/lib/starter_web/assets/themes/j1/adapter/js/switcher.js +56 -52
  64. data/lib/starter_web/assets/themes/j1/adapter/js/template.js +256 -213
  65. data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +24 -21
  66. data/lib/starter_web/assets/themes/j1/core/js/template.js +9 -9
  67. data/lib/starter_web/assets/themes/j1/core/js/template.js.map +1 -1
  68. data/lib/starter_web/assets/themes/j1/core/js/template.min.js +1 -1
  69. data/lib/starter_web/package.json +1 -1
  70. data/lib/starter_web/pages/public/start/downloads/quickstarter/100_linux_starter.adoc +1 -1
  71. data/lib/starter_web/pages/public/start/roundtrip/420_responsive_tables_extensions.adoc +5 -0
  72. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  73. data/lib/starter_web/utilsrv/package.json +1 -1
  74. metadata +38 -9
  75. data/lib/starter_web/_data/resources.new.yml +0 -876
@@ -0,0 +1,169 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/smooth_scroll.yml
3
+ # User configuration settings for J1 Smoothscroll module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2019 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
12
+ #
13
+ # ------------------------------------------------------------------------------
14
+
15
+ # ------------------------------------------------------------------------------
16
+ # About this configuration (used for J1 CC only)
17
+ #
18
+ about_config:
19
+
20
+ title: SmoothScroll
21
+ scope: User settings
22
+ location: _data/modules/smooth_scroll.yml
23
+
24
+ # ------------------------------------------------------------------------------
25
+ # User configuration settings
26
+ #
27
+ settings:
28
+
29
+ # ------------------------------------------------------------------------------
30
+ # J1 Scroll Manager settings
31
+ # ------------------------------------------------------------------------------
32
+ # SmoothScroll settings
33
+ # Enables smooth vertical page scrolling on Mouse Wheel, Keyboard and Touchpad
34
+ #
35
+ # enabled
36
+ # ----------------------------------------------------------------------------
37
+ # Enables|Disables the use of SmoothControl
38
+ #
39
+ # values: boolean (true|false)
40
+ # default: false
41
+ #
42
+ # SCROLLING CORE
43
+ # --------------
44
+ #
45
+ # frameRate
46
+ # ----------------------------------------------------------------------------
47
+ # ...
48
+ #
49
+ # values: integer (Hz)
50
+ # default: 150
51
+ #
52
+ # animationTime
53
+ # ----------------------------------------------------------------------------
54
+ # ...
55
+ #
56
+ # values: integer (msec)
57
+ # default: 400
58
+ #
59
+ # stepSize
60
+ # ----------------------------------------------------------------------------
61
+ # ...
62
+ #
63
+ # values: integer (px)
64
+ # default: 100
65
+ #
66
+ # ACCELERATION SETTINGS
67
+ # ---------------------
68
+ #
69
+ # accelerationDelta
70
+ # ----------------------------------------------------------------------------
71
+ # ...
72
+ #
73
+ # values: integer
74
+ # default: 50
75
+ #
76
+ # accelerationMax
77
+ # ----------------------------------------------------------------------------
78
+ # ...
79
+ #
80
+ # values: integer
81
+ # default: 3
82
+ #
83
+ # KEYBOARD SETTINGS
84
+ # -----------------
85
+ #
86
+ # keyboardSupport
87
+ # ----------------------------------------------------------------------------
88
+ # Enables|Disables Keyboard support for smooth scrolling
89
+ #
90
+ # values: boolean (true|false)
91
+ # default: true
92
+ #
93
+ # arrowScroll
94
+ # ----------------------------------------------------------------------------
95
+ # Number of pixels to scroll when pressing a keyboard arrow key
96
+ #
97
+ # values: integer (px)
98
+ # default: 50
99
+ #
100
+ # PULSE ALGORITHM SETTINGS
101
+ # ------------------------
102
+ #
103
+ # pulseAlgorithm
104
+ # ----------------------------------------------------------------------------
105
+ # Enables easing of the scrolling animation. When disabled, the page
106
+ # animation will be linear (ratio of "tail" to "acceleration")
107
+ #
108
+ # values: boolean (true|false)
109
+ # default: true
110
+ #
111
+ # pulseScale
112
+ # ----------------------------------------------------------------------------
113
+ # Defines the speed of pulse step scrolling
114
+ #
115
+ # values: integer
116
+ # default: 4
117
+ #
118
+ # pulseNormalize
119
+ # ----------------------------------------------------------------------------
120
+ # ...
121
+ #
122
+ # values: integer
123
+ # default: 1
124
+ #
125
+ # TOUCHPAD SETTINGS
126
+ # -----------------
127
+ #
128
+ # touchpadSupport
129
+ # ----------------------------------------------------------------------------
130
+ # Enables|Disables Touchpad support for smooth scrolling
131
+ #
132
+ # values: boolean (true|false)
133
+ # default: false
134
+ #
135
+ # OTHER SETTINGS
136
+ # --------------
137
+ #
138
+ # fixedBackground
139
+ # ----------------------------------------------------------------------------
140
+ # ...
141
+ #
142
+ # values: boolean (true|false)
143
+ # default: true
144
+ #
145
+ # excluded
146
+ # ----------------------------------------------------------------------------
147
+ # ...
148
+ #
149
+ # values: string
150
+ # default: empty string
151
+ # ------------------------------------------------------------------------------
152
+ enabled: false
153
+ frameRate: 150
154
+ animationTime: 400
155
+ stepSize: 100
156
+ accelerationDelta: 50
157
+ accelerationMax: 3
158
+ keyboardSupport: true
159
+ arrowScroll: 50
160
+ pulseAlgorithm: true
161
+ pulseScale: 4
162
+ pulseNormalize: 1
163
+ touchpadSupport: false
164
+ fixedBackground: true
165
+ excluded:
166
+
167
+
168
+ # END config
169
+ # ------------------------------------------------------------------------------
@@ -0,0 +1,168 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/theme_switcher.yml
3
+ # User configuration settings for J1 Theme Switcher
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2019 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
12
+ #
13
+ # ------------------------------------------------------------------------------
14
+
15
+ # ------------------------------------------------------------------------------
16
+ # J1 Theme Switcher settings
17
+ #
18
+ # enabled
19
+ # ----------------------------------------------------------------------------
20
+ # Enables|Disables the use of J1 Theme Switcher
21
+ #
22
+ # values: boolean (true|false)
23
+ # default: false
24
+ #
25
+ # debug
26
+ # ----------------------------------------------------------------------------
27
+ # Enables|Disables the console log
28
+ #
29
+ # values: boolean (true|false)
30
+ # default: false
31
+ #
32
+ # cssThemeLink
33
+ # ----------------------------------------------------------------------------
34
+ # The ID used for the bootstrap theme css file
35
+ #
36
+ # values: string
37
+ # default: bootstrapTheme
38
+ #
39
+ # saveToCookie
40
+ # ----------------------------------------------------------------------------
41
+ # If true, a cookie will be saved with the currently selected theme
42
+ #
43
+ # values: boolean (true|false)
44
+ # default: true
45
+ #
46
+ # cookieThemeName
47
+ # The name of the cookie to be used to store the theme name
48
+ #
49
+ # values: string
50
+ # default: bootstrapTheme.name
51
+ #
52
+ # cookieDefaultThemeName
53
+ # ----------------------------------------------------------------------------
54
+ # The name of the cookie to be used to store the default theme name
55
+ #
56
+ # values: string
57
+ # default: bootstrapDefaultTheme.name
58
+ #
59
+ # cookieThemeCss
60
+ # ----------------------------------------------------------------------------
61
+ # The name of the cookie to be used to store the css file name
62
+ # used for the theme
63
+ #
64
+ # values: string
65
+ # default: bootstrapTheme.css
66
+ #
67
+ # cookieExpiration
68
+ # ----------------------------------------------------------------------------
69
+ # The number of days the cookies should expire
70
+ #
71
+ # values: integer
72
+ # default: 7
73
+ #
74
+ # cookiePath
75
+ # ----------------------------------------------------------------------------
76
+ # The path the cookie should be stored
77
+ #
78
+ # values: string (path)
79
+ # default: /
80
+ #
81
+ # defaultCssFile
82
+ # ----------------------------------------------------------------------------
83
+ # The default css file the plugin should use if it can not load
84
+ # the themes from Bootswatch
85
+ #
86
+ # values: string (URI)
87
+ # default: https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
88
+ #
89
+ # bootswatchApiUrl
90
+ # ----------------------------------------------------------------------------
91
+ # The url for the bootswatch api
92
+ #
93
+ # values: string (URI)
94
+ # default: http://api.bootswatch.com
95
+ #
96
+ # bootswatchApiVersion
97
+ # ----------------------------------------------------------------------------
98
+ # The version of the bootswatch api to use
99
+ #
100
+ # values: integer
101
+ # default: 3
102
+ #
103
+ # localFeed
104
+ # ----------------------------------------------------------------------------
105
+ # The path to a JSON file that contains the themes you want to use.
106
+ # If this parameter is used, the control will be loaded the themes
107
+ # from here and not go to the bootswatchApiUrl. A sample of the json
108
+ # file can be found at themes.json
109
+ #
110
+ # values: string
111
+ # default: empty string
112
+ #
113
+ # excludeBootswatch
114
+ # ----------------------------------------------------------------------------
115
+ # Comma separated list of BootSwatch names (e.g. Slate,Yeti) that
116
+ # should be excluded from the rendered <ul> or <select>
117
+ #
118
+ # values: string
119
+ # default: empty string
120
+ #
121
+ # hideOnReload
122
+ # ----------------------------------------------------------------------------
123
+ # Number of milliseconds (msec) the current page is hidden (display: none)
124
+ # to prevent "DOM flicker" aka "FOUC" (Flash of unstyled content) while
125
+ # the css file is loaded|activated
126
+ #
127
+ # values: integer
128
+ # default: 150
129
+ # ------------------------------------------------------------------------------
130
+
131
+ # ------------------------------------------------------------------------------
132
+ # About this configuration (used for J1 CC only)
133
+ #
134
+ about_config:
135
+
136
+ title: WebHook
137
+ scope: User settings
138
+ location: _data/modules/theme_switcher.yml
139
+
140
+ # ------------------------------------------------------------------------------
141
+ # User configuration settings
142
+ #
143
+ settings:
144
+
145
+ enabled: true
146
+ debug: false
147
+ previewPage: /pages/public/previewer/theme/
148
+ default_theme_css: /assets/themes/j1/core/css/uno.css
149
+ default_theme_name: Uno
150
+ default_theme_author: J1 Team
151
+ default_theme_link: https://jekyll.one/
152
+ menu_icon_family: FontAwesome
153
+ menu_icon_color: rgba_darken
154
+ menu_icon_size: large
155
+ cssThemeLink: bootstrapTheme
156
+ saveToCookie: true
157
+ defaultCssFile: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
158
+ bootswatchApiUrl: "https://bootswatch.com/api"
159
+ bootswatchApiVersion: 4
160
+ loadFromBootswatch: true
161
+ localFeed: /assets/data/themes.json
162
+ hideOnReload: 150
163
+ excludeBootswatch: Sketchy
164
+ includeBootswatch: /assets/themes/j1/core/css/theme_extensions.css
165
+ skipIncludeBootswatch: Uno
166
+
167
+ # END config
168
+ # ------------------------------------------------------------------------------