j1-template 2021.1.18 → 2021.1.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_post.html +2 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +3 -0
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +4 -0
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +12 -7
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +21 -11
- data/_layouts/default.html +3 -120
- data/assets/data/banner.html +19 -18
- data/assets/data/cookieconsent.html +7 -4
- data/assets/data/gallery_customizer.html +106 -19
- data/assets/data/panel.html +30 -19
- data/assets/data/quicklinks.html +0 -2
- data/assets/data/rtext_resizer.html +130 -0
- data/assets/error_pages/HTTP204.html +3 -1
- data/assets/error_pages/HTTP400.html +3 -1
- data/assets/error_pages/HTTP401.html +3 -1
- data/assets/error_pages/HTTP403.html +3 -1
- data/assets/error_pages/HTTP404.html +3 -1
- data/assets/error_pages/HTTP444.html +3 -1
- data/assets/error_pages/HTTP500.html +3 -1
- data/assets/error_pages/HTTP501.html +3 -1
- data/assets/error_pages/HTTP502.html +3 -1
- data/assets/error_pages/HTTP503.html +6 -2
- data/assets/themes/j1/adapter/js/clipboard.js +26 -4
- data/assets/themes/j1/adapter/js/cookieConsent.js +19 -2
- data/assets/themes/j1/adapter/js/j1.js +38 -2
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +17 -27
- data/assets/themes/j1/adapter/js/rtextResizer.js +293 -0
- data/assets/themes/j1/adapter/js/themer.js +10 -6
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +49 -3
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +187 -0
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +2 -2
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +2 -2
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +7 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +56 -44
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +12 -2
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +1 -1
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +35 -6
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/_defaults/resources.yml +29 -11
- data/lib/starter_web/_data/apps/justifiedGallery.yml +40 -0
- data/lib/starter_web/_data/blocks/banner.yml +8 -8
- data/lib/starter_web/_data/blocks/footer.yml +5 -7
- data/lib/starter_web/_data/blocks/panel.yml +27 -17
- data/lib/starter_web/_data/resources.yml +24 -3
- data/lib/starter_web/_includes/attributes.asciidoc +13 -2
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/franck-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/videos/szabo-viktor-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/videos/tiktok/einhorn.jpg +0 -0
- data/lib/starter_web/assets/videos/tiktok/waluschka.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +1 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +7 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -3
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -3
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -3
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +2 -3
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +2 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/attributes.asciidoc +7 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +7 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +7 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +3 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +3 -2
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +11 -0
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +2 -2
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +272 -126
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +27 -50
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +243 -198
- data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +6 -0
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +338 -275
- data/lib/starter_web/pages/public/previewer/rouge.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +9 -5
- data/assets/themes/j1/modules/kofax.7z +0 -0
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.new.js +0 -111
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.old.js +0 -103
@@ -12,4 +12,4 @@
|
|
12
12
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
|
-
.icons{//display:none;//padding:0 20px 10px 20px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:2rem;-moz-column-gap:2rem;column-gap:2rem}.icons div{line-height:3rem;color:rgba(0,0,0,0.6)}.icons div span{cursor:pointer;font-size:1rem;text-overflow:ellipsis;display:inline-block;max-width:calc(100% - 90px);overflow:hidden;vertical-align:middle;white-space:nowrap;margin-left:.5rem}.icons div code:hover,.icons div span:hover,.icons div i:hover{color:rgba(0,0,0,0.5)}.icons div code:hover{border-color:#2196f3}.icons div code{color:#424242;background-color:#e0e0e0;border:1px solid #9e9e9e;width:80px;margin-left:2px;margin-right:4px;border-radius:4px;display:inline-block;vertical-align:middle;text-align:center;line-height:24px;cursor:pointer}.icons div i{display:inline-block;width:32px;height:24px;margin-right:.5rem;text-align:center;vertical-align:middle;cursor:pointer;line-height:24px}.icons .mdi:before{font-size:24px}div.copied{position:fixed;top:100px;left:50%;width:
|
15
|
+
.icons{//display:none;//padding:0 20px 10px 20px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:2rem;-moz-column-gap:2rem;column-gap:2rem}.icons div{line-height:3rem;color:rgba(0,0,0,0.6)}.icons div span{cursor:pointer;font-size:1rem;text-overflow:ellipsis;display:inline-block;max-width:calc(100% - 90px);overflow:hidden;vertical-align:middle;white-space:nowrap;margin-left:.5rem}.icons div code:hover,.icons div span:hover,.icons div i:hover{color:rgba(0,0,0,0.5)}.icons div code:hover{border-color:#2196f3}.icons div code{color:#424242;background-color:#e0e0e0;border:1px solid #9e9e9e;width:80px;margin-left:2px;margin-right:4px;border-radius:4px;display:inline-block;vertical-align:middle;text-align:center;line-height:24px;cursor:pointer}.icons div i{display:inline-block;width:32px;height:24px;margin-right:.5rem;text-align:center;vertical-align:middle;cursor:pointer;line-height:24px}.icons .mdi:before{font-size:24px}div.copied{position:fixed;top:100px;left:50%;width:300px;text-align:center;color:#fafafa;background-color:#2196f3;border:1px solid #0d47a1;padding:10px 15px;border-radius:4px;margin-left:-100px;box-shadow:0 0 10px rgba(0,0,0,0.2)}
|
@@ -14,8 +14,10 @@
|
|
14
14
|
*/
|
15
15
|
;(function () {
|
16
16
|
|
17
|
-
var icons
|
17
|
+
var icons = {};
|
18
18
|
var icon_database = '/assets/data/mdi_icons.json';
|
19
|
+
var language = document.documentElement.lang;
|
20
|
+
var responseText;
|
19
21
|
|
20
22
|
function load_data_database() {
|
21
23
|
// Returns the icon database object
|
@@ -47,6 +49,14 @@
|
|
47
49
|
// var reference = document.querySelector("#mdi-icon");
|
48
50
|
// var popper = document.querySelector(".my-popper");
|
49
51
|
|
52
|
+
if (language == 'en') {
|
53
|
+
responseText = 'Copied to Clipboard';
|
54
|
+
} else if (language == 'de') {
|
55
|
+
responseText = 'Kopiert zur Zwischenablage';
|
56
|
+
} else {
|
57
|
+
responseText = 'Copied to Clipboard';
|
58
|
+
}
|
59
|
+
|
50
60
|
var copyFrom = document.createElement('textarea');
|
51
61
|
copyFrom.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px;");
|
52
62
|
copyFrom.value = text;
|
@@ -55,7 +65,7 @@
|
|
55
65
|
document.execCommand('copy');
|
56
66
|
var copied = document.createElement('div');
|
57
67
|
copied.setAttribute('class', 'copied');
|
58
|
-
copied.appendChild(document.createTextNode(
|
68
|
+
copied.appendChild(document.createTextNode(responseText));
|
59
69
|
document.body.appendChild(copied);
|
60
70
|
|
61
71
|
// Popper currently NOT used
|
@@ -12,4 +12,4 @@
|
|
12
12
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
|
-
(function(){var a={};var
|
15
|
+
(function(){var a={};var d="/assets/data/mdi_icons.json";var e=document.documentElement.lang;var b;function c(){return $.ajax({url:d,success:function(f){if(typeof f=="string"){a=JSON.parse(f)}if(typeof f=="object"){a=f}}})}$.when(c()).done(function(l){a.push({name:"blank",codepoint:"F068C"});var m=function(o){if(e=="en"){b="Copied to Clipboard"}else{if(e=="de"){b="Kopiert zur Zwischenablage"}else{b="Copied to Clipboard"}}var j=document.createElement("textarea");j.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");j.value=o;document.body.appendChild(j);j.select();document.execCommand("copy");var i=document.createElement("div");i.setAttribute("class","copied");i.appendChild(document.createTextNode(b));document.body.appendChild(i);setTimeout(function(){document.body.removeChild(j);document.body.removeChild(i)},1500)};for(var f=1;f<a.length;f++){var n=document.createElement("div"),g=document.createElement("i");n.setAttribute("id","mdi-icon");g.className="mdi mdi-"+a[f].name;n.appendChild(g);var k=document.createElement("code");k.appendChild(document.createTextNode("#"+a[f].codepoint));n.appendChild(k);var h=document.createElement("span");h.appendChild(document.createTextNode(a[f].name));n.appendChild(h);g.onmouseup=(function(i){return function(){m(i.name)}})(a[f]);k.onmouseup=(function(i){return function(){m("#"+i.codepoint)}})(a[f]);h.onmouseup=(function(i){return function(){m("mdi-"+i.name)}})(a[f]);document.getElementById("icons").appendChild(n)}})})();
|
@@ -16,4 +16,4 @@
|
|
16
16
|
# For details, https://github.com/xLs51/Twemoji-Picker
|
17
17
|
# -----------------------------------------------------------------------------
|
18
18
|
*/
|
19
|
-
ul.emoji-list *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.emoji-list li{font-size:36px;float:left;display:inline-block;padding:2px;margin:4px}img.emoji{cursor:pointer;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-wrap{position:relative}.twemoji-wrap img{margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-textarea{background-color:#FFF;border:1px solid #ccc;border-radius:3px;height:100%;padding:6px 30px 6px 12px;overflow-y:auto}.twemoji-textarea[contentEditable=true]:empty:before{content:attr(placeholder);color:#9e9e9e}.twemoji-picker{background-color:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.05);position:absolute;right:0;z-index:1}.twemoji-icon-picker{margin-top:.5rem;margin-bottom:.5rem}.twemoji-icon-picker img{//position:absolute;right:21px;top:6px}.twemoji-icon-picker img,.twemoji-picker img{cursor:pointer;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.twemoji-picker-category{background-color:#e7e7e7}.twemoji-picker-category img{padding:5px}.twemoji-picker-category .active,.twemoji-picker-category span:hover{border-bottom:2px solid #728691;line-height:22px}.twemoji-picker-category .close{cursor:pointer;float:right;font-size:25px;font-weight:700;line-height:1;margin-right:2px;opacity:.5}.twemoji-picker-category .close:hover{opacity:.3}.twemoji-list{//overflow-y:scroll;margin-top:1.5rem;margin-left:1.5rem;overflow-y:auto}.twemoji-list img{margin-top:2px;padding:5px}.twemoji-list img:hover{background-color:#e7e7e7}div.copied{position:fixed;top:100px;left:50%;width:
|
19
|
+
ul.emoji-list *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.emoji-list li{font-size:36px;float:left;display:inline-block;padding:2px;margin:4px}img.emoji{cursor:pointer;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-wrap{position:relative}.twemoji-wrap img{margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-textarea{background-color:#FFF;border:1px solid #ccc;border-radius:3px;height:100%;padding:6px 30px 6px 12px;overflow-y:auto}.twemoji-textarea[contentEditable=true]:empty:before{content:attr(placeholder);color:#9e9e9e}.twemoji-picker{background-color:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.05);position:absolute;right:0;z-index:1}.twemoji-icon-picker{margin-top:.5rem;margin-bottom:.5rem}.twemoji-icon-picker img{//position:absolute;right:21px;top:6px}.twemoji-icon-picker img,.twemoji-picker img{cursor:pointer;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.twemoji-picker-category{background-color:#e7e7e7}.twemoji-picker-category img{padding:5px}.twemoji-picker-category .active,.twemoji-picker-category span:hover{border-bottom:2px solid #728691;line-height:22px}.twemoji-picker-category .close{cursor:pointer;float:right;font-size:25px;font-weight:700;line-height:1;margin-right:2px;opacity:.5}.twemoji-picker-category .close:hover{opacity:.3}.twemoji-list{//overflow-y:scroll;margin-top:1.5rem;margin-left:1.5rem;overflow-y:auto}.twemoji-list img{margin-top:2px;padding:5px}.twemoji-list img:hover{background-color:#e7e7e7}div.copied{position:fixed;top:100px;left:50%;width:300px;text-align:center;color:#fafafa;background-color:#2196f3;border:1px solid #0d47a1;padding:10px 15px;border-radius:4px;margin-left:-100px;box-shadow:0 0 10px rgba(0,0,0,0.2)}
|
@@ -20,6 +20,8 @@
|
|
20
20
|
var b = 150;
|
21
21
|
var d = {};
|
22
22
|
var twa_database = "/assets/data/twa_v1.json";
|
23
|
+
var responseText;
|
24
|
+
var placeholder;
|
23
25
|
|
24
26
|
$.TwemojiPicker = function (element, options) {
|
25
27
|
var h = this;
|
@@ -30,6 +32,7 @@
|
|
30
32
|
};
|
31
33
|
$.TwemojiPicker.defaults = {
|
32
34
|
init: null,
|
35
|
+
language: "en",
|
33
36
|
size: 25,
|
34
37
|
icon: "grinning",
|
35
38
|
iconSize: 25,
|
@@ -40,7 +43,7 @@
|
|
40
43
|
pickerPosition: null,
|
41
44
|
pickerHeight: 150,
|
42
45
|
pickerWidth: null,
|
43
|
-
placeholder: "",
|
46
|
+
placeholder: "Click on Picker to select Emoji's from a Category",
|
44
47
|
};
|
45
48
|
$.TwemojiPicker.prototype = {
|
46
49
|
_init: function (h) {
|
@@ -67,13 +70,39 @@
|
|
67
70
|
},
|
68
71
|
_initPicker: function () {
|
69
72
|
var h = this;
|
73
|
+
var clearText;
|
74
|
+
var buttonsHTML;
|
75
|
+
|
76
|
+
if (h.options.language == 'en') {
|
77
|
+
clearText = 'Clear';
|
78
|
+
responseText = 'Copied to Clipboard';
|
79
|
+
placeholder = h.options.placeholder;
|
80
|
+
} else if (h.options.language == 'de') {
|
81
|
+
clearText = 'Löschen';
|
82
|
+
responseText = 'Kopiert zur Zwischenablage';
|
83
|
+
placeholder = "Klicken Sie auf Picker zur Auswahl von Emoji's aus einer Kategorie";
|
84
|
+
} else {
|
85
|
+
clearText = 'Clear';
|
86
|
+
responseText = 'in Clipboard';
|
87
|
+
placeholder = h.options.placeholder;
|
88
|
+
}
|
89
|
+
|
90
|
+
buttonsHTML = '<div class="twemoji-icon-picker">';
|
91
|
+
buttonsHTML += '<span id="open-group" class="mr-2" style="width: 2rem; height: 2rem;">';
|
92
|
+
buttonsHTML += '<button type="button" name="open-group" class="btn btn-raised btn-flex btn-primary mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker </button>';
|
93
|
+
buttonsHTML += '</span>';
|
94
|
+
buttonsHTML += '<span id="clear-textarea" style="width: 2rem; height: 2rem;">';
|
95
|
+
buttonsHTML += '<button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-primary"><i class="mdi mdi-close mdi-lg mr-1"></i>' + clearText + '</button>';
|
96
|
+
buttonsHTML += '</span>';
|
97
|
+
buttonsHTML += '</div>';
|
98
|
+
|
70
99
|
h.$id = "#" + h.$el["0"].id;
|
71
100
|
h.$pickerHeigth = h.options.height.replace("px", "");
|
72
101
|
h.$pickerHeigth = Number(h.$pickerHeigth);
|
73
102
|
h.$wrapper = h.$el.wrap('<div class="twemoji-wrap"></div>').parent();
|
74
|
-
h.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="' +
|
103
|
+
h.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="' + placeholder + '"></div>');
|
75
104
|
h.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');
|
76
|
-
h.$wrapper.append(
|
105
|
+
h.$wrapper.append(buttonsHTML);
|
77
106
|
h.$wrapper.append('<div class="twemoji-picker"></div>');
|
78
107
|
h.$el.hide();
|
79
108
|
h.$textarea = h.$wrapper.find(".twemoji-textarea");
|
@@ -161,8 +190,8 @@
|
|
161
190
|
}
|
162
191
|
});
|
163
192
|
this.$clearTextarea.on("click", function () {
|
164
|
-
h.copyTextArea(
|
165
|
-
$(h.$id).val(
|
193
|
+
h.copyTextArea('');
|
194
|
+
$(h.$id).val('');
|
166
195
|
$(".twemoji-textarea > .emoji-span").remove()
|
167
196
|
});
|
168
197
|
this.$pickerCategory.find("span").on("click", function () {
|
@@ -187,7 +216,7 @@
|
|
187
216
|
document.execCommand('copy');
|
188
217
|
var copied = document.createElement('div');
|
189
218
|
copied.setAttribute('class', 'copied');
|
190
|
-
copied.appendChild(document.createTextNode(
|
219
|
+
copied.appendChild(document.createTextNode(responseText));
|
191
220
|
document.body.appendChild(copied);
|
192
221
|
setTimeout(function () {
|
193
222
|
document.body.removeChild(copyFrom);
|
@@ -16,4 +16,4 @@
|
|
16
16
|
# For details, https://github.com/xLs51/Twemoji-Picker
|
17
17
|
# -----------------------------------------------------------------------------
|
18
18
|
*/
|
19
|
-
(function(
|
19
|
+
(function(c,h,a){var k=150;var i={};var e="/assets/data/twa_v1.json";var j;var l;c.TwemojiPicker=function(d,b){var f=this;c.when(this._loadDatabase()).done(function(m){f.$el=c(d);f._init(b)})};c.TwemojiPicker.defaults={init:null,language:"en",size:25,icon:"grinning",iconSize:25,height:100,width:null,category:["smile","cherry-blossom","video-game","oncoming-automobile","symbols"],categorySize:20,pickerPosition:null,pickerHeight:150,pickerWidth:null,placeholder:"Click on Picker to select Emoji's from a Category",};c.TwemojiPicker.prototype={_init:function(b){this.options=c.extend(true,{},c.TwemojiPicker.defaults,b);this._initPicker();this._initCategory();this._initTwemoji();this._initText();this._initStyle();this._initEvents()},_loadDatabase:function g(){return c.ajax({url:e,success:function(b){if(typeof b=="string"){i=JSON.parse(b)}if(typeof b=="object"){i=b}}})},_initPicker:function(){var f=this;var b;var d;if(f.options.language=="en"){b="Clear";j="Copied to Clipboard";l=f.options.placeholder}else{if(f.options.language=="de"){b="Löschen";j="Kopiert zur Zwischenablage";l="Klicken Sie auf Picker zur Auswahl von Emoji's aus einer Kategorie"}else{b="Clear";j="in Clipboard";l=f.options.placeholder}}d='<div class="twemoji-icon-picker">';d+='<span id="open-group" class="mr-2" style="width: 2rem; height: 2rem;">';d+='<button type="button" name="open-group" class="btn btn-raised btn-flex btn-primary mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker </button>';d+="</span>";d+='<span id="clear-textarea" style="width: 2rem; height: 2rem;">';d+='<button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-primary"><i class="mdi mdi-close mdi-lg mr-1"></i>'+b+"</button>";d+="</span>";d+="</div>";f.$id="#"+f.$el["0"].id;f.$pickerHeigth=f.options.height.replace("px","");f.$pickerHeigth=Number(f.$pickerHeigth);f.$wrapper=f.$el.wrap('<div class="twemoji-wrap"></div>').parent();f.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="'+l+'"></div>');f.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');f.$wrapper.append(d);f.$wrapper.append('<div class="twemoji-picker"></div>');f.$el.hide();f.$textarea=f.$wrapper.find(".twemoji-textarea");f.$textareaDuplicate=f.$wrapper.find(".twemoji-textarea-duplicate").hide();f.$iconPicker=f.$wrapper.find("#open-group");f.$clearTextarea=f.$wrapper.find("#clear-textarea");f.$picker=f.$wrapper.find(".twemoji-picker").hide()},_initCategory:function(){var d=this;var b=this.options.category;this.categoryName=["people","nature","object","place","symbol"];this.$picker.append('<div class="twemoji-picker-category"></div>');this.$pickerCategory=this.$picker.find(".twemoji-picker-category");c.each(this.categoryName,function(m,f){d.$pickerCategory.append('<span data-category="'+f+'">'+d.imageFromName(b[m])+"</span>")});this.$pickerCategory.find("span:first").addClass("active")},_initTwemoji:function(){var b=this;c.each(this.categoryName,function(f,d){b.$picker.append('<div class="twemoji-list '+d+'"></div>');c.each(i,function(n,m){if(m.category===d){b.$wrapper.find(".twemoji-picker ."+d).append('<span><img class="emoji" draggable="false" src="'+m.base64+'" alt="'+m.value+'" title="'+m.name+'"></span>')}})});this.$twemojiList=this.$picker.find(".twemoji-list");this.$twemojiList.not(":first").hide()},_initText:function(){if(this.options.init){var b=this.options.init;var d=/:([\w-]+):/g;var f;while(f==d.exec(b)){b=b.replace(f[0],this.imageFromName(f[1],true))}this.$textarea.html(b);this.copyTextArea(this.$textarea.html())}},_initStyle:function(){this.$wrapper.css({width:this.options.width?this.options.width:"100%",height:this.options.height?this.options.height:"",});this.$wrapper.find("img").css({width:this.options.size,height:this.options.size,});this.$iconPicker.css({width:this.options.iconSize,height:this.options.iconSize,});this.$pickerCategory.find("img").css({width:this.options.categorySize,height:this.options.categorySize,});this.$twemojiList.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",height:this.options.pickerHeight,});this.$picker.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",top:this.options.pickerPosition==="top"?"-"+this.$picker.outerHeight()+"px":"",})},_initEvents:function(){var b=this;this.$textarea.on("keyup",function(){b.copyTextArea(c(this).html())});this.$iconPicker.on("click",function(){var d=c(".twemoji-picker").height()+k;c("#picker").height(d);c(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");if(!b.openedPicker){b.openPicker()}else{b.closePicker();c("#picker").height(b.$pickerHeigth)}});this.$clearTextarea.on("click",function(){b.copyTextArea("");c(b.$id).val("");c(".twemoji-textarea > .emoji-span").remove()});this.$pickerCategory.find("span").on("click",function(){var d=c(this).data("category");b.openCategory(c(this),d)});this.$pickerCategory.find(".close").on("click",function(){if(b.openedPicker){b.closePicker()}});this.$twemojiList.find("img").on("click",function(){b.copyTwemoji(c(this))})},copyText:function(f){var d=document.createElement("textarea");d.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");d.value=f;document.body.appendChild(d);d.select();document.execCommand("copy");var b=document.createElement("div");b.setAttribute("class","copied");b.appendChild(document.createTextNode(j));document.body.appendChild(b);setTimeout(function(){document.body.removeChild(d);document.body.removeChild(b)},1500)},openPicker:function(){this.$picker.show();this.openedPicker=true},closePicker:function(){this.$picker.hide();this.openedPicker=false},openCategory:function(d,b){this.$pickerCategory.find("span").removeClass("active");d.addClass("active");this.$twemojiList.not(".twemoji-picker ."+b).hide();this.$twemojiList.filter(".twemoji-picker ."+b).show()},copyTwemoji:function(b){var m=b.attr("alt");var d=b.attr("src");var f=b.attr("title");var n="emoji:"+f+"[]";this.copyText(n);this.$textarea.focus();this.pasteAtCursor('<span class="emoji-span"><img class="emoji" src="'+d+'" title="'+f+'" alt="'+m+'" width="'+this.options.size+'" height="'+this.options.size+'"> '+n+"</span> ");this.copyTextArea(this.$textarea.html())},copyTextArea:function(b){var f=this.$textareaDuplicate.html(b);f.find("img").replaceWith(function(){return this.alt});var d=f.html();this.$el.text(d)},imageFromName:function(d,b){var f=c.grep(i,function(m){return m.name==d});if(b){return'<img class="emoji" src="'+f[0].base64+'" alt="'+f[0].value+'" width="'+this.options.size+'" height="'+this.options.size+'">'}return'<img class="emoji" draggable="false" src="'+f[0].base64+'" alt="'+d+'">'},pasteAtCursor:function(b){var d,q;if(h.getSelection){d=h.getSelection();if(d.getRangeAt&&d.rangeCount){q=d.getRangeAt(0);q.deleteContents();var p=document.createElement("div");p.innerHTML=b;var r=document.createDocumentFragment(),f,o;while((f=p.firstChild)){o=r.appendChild(f)}q.insertNode(r);if(o){q=q.cloneRange();q.setStartAfter(o);q.collapse(true);d.removeAllRanges();d.addRange(q)}}}else{if(document.selection&&document.selection.type!="Control"){document.selection.createRange().pasteHTML(b)}}}};c.fn.twemojiPicker=function(b){var d=c.data(this,"twemojiPicker");this.each(function(){d?d._init():d=c.data(this,"twemojiPicker",new c.TwemojiPicker(this,b))});return d}})(jQuery,window);
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/Gemfile
CHANGED
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
53
53
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
55
55
|
#
|
56
|
-
gem 'j1-template', '~> 2021.1.
|
56
|
+
gem 'j1-template', '~> 2021.1.22'
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,13 +53,13 @@ environment: production
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2021.1.
|
56
|
+
version: 2021.1.22
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
60
60
|
# Sets the build version of J1 Template
|
61
61
|
#
|
62
|
-
copyright: J1 ·
|
62
|
+
copyright: © 2021 J1 · All rights reserved
|
63
63
|
|
64
64
|
# ==============================================================================
|
65
65
|
# 2. THEME configuration
|
@@ -362,9 +362,7 @@ resources:
|
|
362
362
|
|
363
363
|
]
|
364
364
|
files: [
|
365
|
-
modules/util/js/
|
366
|
-
modules/util/js/lite-url.js,
|
367
|
-
modules/util/js/platform.js,
|
365
|
+
modules/util/js/gtag-opt-in.js,
|
368
366
|
adapter/js/j1.js
|
369
367
|
]
|
370
368
|
js: [
|
@@ -460,9 +458,9 @@ resources:
|
|
460
458
|
init_function: [ j1.adapter.navigator.init ]
|
461
459
|
|
462
460
|
# ----------------------------------------------------------------------------
|
463
|
-
#
|
461
|
+
# Mobile Menu (Light)
|
464
462
|
#
|
465
|
-
- name:
|
463
|
+
- name: MMenu
|
466
464
|
resource:
|
467
465
|
id: mmenu
|
468
466
|
enabled: true
|
@@ -476,8 +474,8 @@ resources:
|
|
476
474
|
pass_init_data: false
|
477
475
|
data:
|
478
476
|
css: [
|
479
|
-
modules/mmenuLight/css/mmenu,
|
480
|
-
modules/mmenuLight/css/theme/uno
|
477
|
+
modules/mmenuLight/css/mmenu-light,
|
478
|
+
modules/mmenuLight/css/theme/uno/mmenu
|
481
479
|
]
|
482
480
|
files: [
|
483
481
|
modules/mmenuLight/js/mmenu.js,
|
@@ -676,7 +674,7 @@ resources:
|
|
676
674
|
dependencies: false
|
677
675
|
pass_init_data: false
|
678
676
|
data:
|
679
|
-
css: [ modules/rtable/css/theme/uno ]
|
677
|
+
css: [ modules/rtable/css/theme/uno/rtable ]
|
680
678
|
files: [ adapter/js/rtable.js ]
|
681
679
|
js: [ modules/rtable/js/rtable ]
|
682
680
|
init_function: [ j1.adapter.rtable.init ]
|
@@ -1180,16 +1178,14 @@ resources:
|
|
1180
1178
|
dependencies: false
|
1181
1179
|
pass_init_data: true
|
1182
1180
|
data:
|
1183
|
-
css: []
|
1181
|
+
css: [ modules/fam/css/theme/uno/fam ] # styles for (J1) theme Uno]
|
1184
1182
|
files: [
|
1185
|
-
modules/fam/css/uno/fam.css, # styles for (J1) theme Uno
|
1186
1183
|
# modules/cash/js/cash.js, # current version|s of Cash NOT usable
|
1187
1184
|
modules/materialize/js/cash.js, # adapted|old (1.3.5) version from Materialize
|
1188
1185
|
modules/fam/js/fam.js, # modified version for J1 (former: button.js)
|
1189
1186
|
adapter/js/fam.js # adapter adopted from ssm module
|
1190
1187
|
]
|
1191
1188
|
js: []
|
1192
|
-
init_function: []
|
1193
1189
|
init_function: [ j1.adapter.fam.init ]
|
1194
1190
|
|
1195
1191
|
# ----------------------------------------------------------------------------
|
@@ -1242,5 +1238,27 @@ resources:
|
|
1242
1238
|
js: [ modules/datatables/js/datatables ]
|
1243
1239
|
init_function: []
|
1244
1240
|
|
1241
|
+
# ----------------------------------------------------------------------------
|
1242
|
+
# rtextResizer
|
1243
|
+
# NOTE: This module is in state EXPERIMENTAL
|
1244
|
+
#
|
1245
|
+
- name: rtextResizer
|
1246
|
+
resource:
|
1247
|
+
id: rtextresizer
|
1248
|
+
enabled: false
|
1249
|
+
comment: J1 rtextResizer
|
1250
|
+
region: head
|
1251
|
+
layout: [ home, page, post, collection ]
|
1252
|
+
required: always # always | ondemand
|
1253
|
+
preload: false # property currently unused
|
1254
|
+
script_load: defer
|
1255
|
+
dependencies: false
|
1256
|
+
pass_init_data: false
|
1257
|
+
data:
|
1258
|
+
css: []
|
1259
|
+
files: [ adapter/js/rtextResizer.js ]
|
1260
|
+
js: []
|
1261
|
+
init_function: [ j1.adapter.rtextResizer.init ]
|
1262
|
+
|
1245
1263
|
# ------------------------------------------------------------------------------
|
1246
1264
|
# END config
|
@@ -374,5 +374,45 @@ settings:
|
|
374
374
|
videojs: true
|
375
375
|
videojsOptions: {}
|
376
376
|
|
377
|
+
# --------------------------------------------------------------------------
|
378
|
+
# TikTok
|
379
|
+
#
|
380
|
+
- gallery:
|
381
|
+
enabled: true
|
382
|
+
type: video-online
|
383
|
+
id: jg_tiktok
|
384
|
+
show_delay: 300
|
385
|
+
title: false
|
386
|
+
css_classes:
|
387
|
+
image_path: /assets/videos/tiktok
|
388
|
+
thumb_path: /assets/videos/tiktok
|
389
|
+
videos: [
|
390
|
+
"https://www.tiktok.com/@octaviaegon/video/6983746143356292357/",
|
391
|
+
"https://www.tiktok.com/@waluschka.w59/video/6984680288114756870/",
|
392
|
+
"https://www.tiktok.com/@octaviaegon/video/6983746143356292357/",
|
393
|
+
]
|
394
|
+
captions_gallery: [
|
395
|
+
"Egon - Einhorn",
|
396
|
+
"Valentina - Mahlzeit!",
|
397
|
+
"Egon - Einhorn",
|
398
|
+
]
|
399
|
+
captions_lightbox: [
|
400
|
+
"<p>Egon - Einhorn</p>",
|
401
|
+
"<p>Valentina - Mahlzeit!</p>",
|
402
|
+
"<p>Egon - Einhorn</p>"
|
403
|
+
]
|
404
|
+
poster: [ # thumbnails taken from https://www.tiktok.com/oembed?url=xxx (thumbnail_url)
|
405
|
+
einhorn.jpg, # https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/dd93b5e1036b47f88ecd38fdc7305c4c~tplv-dmt-logom:tos-maliva-p-0000/a6315c6d8268486c931480b6fb1e3836.image?x-expires=1629579600&x-signature=lWUMEMNw%2Byf3tTX4YOdEGRrh1%2BQ%3D
|
406
|
+
waluschka.jpg, # https://p16-sign-va.tiktokcdn.com/obj/tos-maliva-p-0068/03a05accd4ec443aba51f4ec8a07d3a0?x-expires=1629583200&x-signature=t%2FvV5z4I9mdjtwAzH4FOF%2Fkm9fs%3D
|
407
|
+
einhorn.jpg
|
408
|
+
]
|
409
|
+
gallery_options:
|
410
|
+
rowHeight: 400
|
411
|
+
margins: 5
|
412
|
+
|
413
|
+
lightbox_options:
|
414
|
+
lightbox: lg
|
415
|
+
|
416
|
+
|
377
417
|
# ------------------------------------------------------------------------------
|
378
418
|
# END config
|
@@ -137,8 +137,9 @@ settings:
|
|
137
137
|
animate: fadeInUp
|
138
138
|
title: Jekyll One Template
|
139
139
|
tagline: <b>powerful modern static websites</b>
|
140
|
+
description_properties: mr-3 mb-3
|
140
141
|
description: >
|
141
|
-
<p>
|
142
|
+
<p class="dropcap">
|
142
143
|
Jekyll One Template is the first toolbox to create modern webs and a
|
143
144
|
learning platform to experience what is behind current Internet
|
144
145
|
Technologies for the World Wide Web. J1 provides creative people
|
@@ -160,9 +161,8 @@ settings:
|
|
160
161
|
button:
|
161
162
|
title: Roundtrip
|
162
163
|
tagline: learn top features
|
163
|
-
class: btn btn-raised btn-xl btn-primary text-uppercase mr-2 mb-2
|
164
|
-
|
165
|
-
style:
|
164
|
+
class: btn btn-raised btn-xl btn-primary text-uppercase text-left mr-2 mb-2
|
165
|
+
style: "min-width: 250px"
|
166
166
|
icon: briefcase-search-outline
|
167
167
|
icon_color:
|
168
168
|
icon_size: 3x
|
@@ -173,8 +173,8 @@ settings:
|
|
173
173
|
button:
|
174
174
|
title: Download
|
175
175
|
tagline: get on rubygems
|
176
|
-
class: btn btn-raised btn-xl btn-primary text-uppercase mr-2 mb-2
|
177
|
-
style:
|
176
|
+
class: btn btn-raised btn-xl btn-primary text-uppercase text-left mr-2 mb-2
|
177
|
+
style: "min-width: 250px"
|
178
178
|
icon: briefcase-download-outline
|
179
179
|
icon_color:
|
180
180
|
icon_size: 3x
|
@@ -185,8 +185,8 @@ settings:
|
|
185
185
|
button:
|
186
186
|
title: Quickstart
|
187
187
|
tagline: finished in 15 minutes
|
188
|
-
class: btn btn-raised btn-xl btn-primary text-uppercase mr-2 mb-2
|
189
|
-
style:
|
188
|
+
class: btn btn-raised btn-xl btn-primary text-uppercase text-left mr-2 mb-2
|
189
|
+
style: "min-width: 250px"
|
190
190
|
icon: briefcase-check-outline
|
191
191
|
icon_color:
|
192
192
|
icon_size: 3x
|
@@ -74,10 +74,10 @@ settings:
|
|
74
74
|
enabled: true
|
75
75
|
type: copyright
|
76
76
|
en:
|
77
|
-
statement:
|
77
|
+
statement: © 2021 J1 · All rights reserved
|
78
78
|
href: /pages/public/legal/en/copyright/
|
79
79
|
de:
|
80
|
-
statement:
|
80
|
+
statement: © 2021 J1 · Alle Rechte vorbehalten
|
81
81
|
href: /pages/public/legal/de/copyright/
|
82
82
|
|
83
83
|
- name: Impress
|
@@ -162,11 +162,9 @@ settings:
|
|
162
162
|
tagline: <large>powerful modern static websites</large>
|
163
163
|
text: >
|
164
164
|
J1 meets Jekyll and Bootstrap. And makes a lot of friends.
|
165
|
-
The template system combines the best of free software for
|
166
|
-
Jekyll One Template is OpenSource and the modules
|
167
|
-
are free to use as well.
|
168
|
-
<br/><br/>
|
169
|
-
No issues for private or professional use.
|
165
|
+
The template system combines the best of free software for
|
166
|
+
the web. Jekyll One Template is OpenSource and the modules
|
167
|
+
included are free to use as well.
|
170
168
|
|
171
169
|
# --------------------------------------------------------------------
|
172
170
|
# NEWS box
|
@@ -38,13 +38,14 @@ settings:
|
|
38
38
|
id: home_intro_panel
|
39
39
|
comment: Home Intro Panel
|
40
40
|
type: intro
|
41
|
-
animate:
|
41
|
+
animate: fadeInUp
|
42
42
|
properties: mt-3 mr-3 mb-5 ml-3
|
43
43
|
|
44
44
|
title: All in One
|
45
45
|
tagline: top features
|
46
|
+
description_properties: mr-3 mb-3
|
46
47
|
description: >
|
47
|
-
<p>
|
48
|
+
<p class="dropcap">
|
48
49
|
People quite often ask if static websites make sense
|
49
50
|
for anything beyond a one-page website. Some others see in
|
50
51
|
static websites the stone age of the World Wide Web. What's
|
@@ -73,8 +74,10 @@ settings:
|
|
73
74
|
icon_size: 3x
|
74
75
|
icon_color:
|
75
76
|
text: >
|
76
|
-
|
77
|
-
|
77
|
+
<p class="dropcap">
|
78
|
+
The Web is everywhere. J1 Template supports modern web browsers
|
79
|
+
on all devices for best results on PCs, Tablets, and SmartPhones.
|
80
|
+
</p>
|
78
81
|
|
79
82
|
buttons:
|
80
83
|
|
@@ -99,8 +102,10 @@ settings:
|
|
99
102
|
icon_size: 3x
|
100
103
|
icon_color:
|
101
104
|
text: >
|
102
|
-
|
103
|
-
|
105
|
+
<p class="dropcap">
|
106
|
+
Current Technology and Design. Excellent performance in running
|
107
|
+
a website. Use Jekyll One to present your content at its best.
|
108
|
+
</p>
|
104
109
|
|
105
110
|
buttons:
|
106
111
|
- name: Read More
|
@@ -125,9 +130,11 @@ settings:
|
|
125
130
|
icon_size: 3x
|
126
131
|
icon_color:
|
127
132
|
text: >
|
128
|
-
|
129
|
-
|
130
|
-
|
133
|
+
<p class="dropcap">
|
134
|
+
No programming is needed to start using J1. The Template
|
135
|
+
provides a large number of building blocks to create
|
136
|
+
modern web pages in minutes.
|
137
|
+
</p>
|
131
138
|
|
132
139
|
buttons:
|
133
140
|
- name: Read More
|
@@ -154,7 +161,7 @@ settings:
|
|
154
161
|
id: home_service_panel
|
155
162
|
comment: Home Service Panel
|
156
163
|
type: service
|
157
|
-
animate:
|
164
|
+
animate: fadeInUp
|
158
165
|
icon_family: MDI
|
159
166
|
|
160
167
|
style: flat
|
@@ -305,18 +312,21 @@ settings:
|
|
305
312
|
id: home_news_panel
|
306
313
|
comment: Home News Panel
|
307
314
|
type: news
|
308
|
-
animate:
|
315
|
+
animate: fadeInUp
|
309
316
|
properties: mt-5 mr-3 mb-5 ml-3
|
310
317
|
|
311
318
|
title: Creators Blog
|
312
319
|
tagline: latest news
|
320
|
+
description_properties: mr-3 mb-4
|
313
321
|
description: >
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
322
|
+
<p class="dropcap">
|
323
|
+
Explore the blog and find interesting articles around Jekyll and
|
324
|
+
website creation processes in general. And this blog is an excellent
|
325
|
+
example of how J1 and Jekyll can be used for blogging.
|
326
|
+
</p>
|
327
|
+
<p>
|
328
|
+
Have fun!
|
329
|
+
</p>
|
320
330
|
cards:
|
321
331
|
|
322
332
|
- name: Recent Posts
|