j1-template 2024.3.14 → 2024.3.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/amplitude.html +111 -58
  3. data/assets/data/cookieconsent.html +8 -8
  4. data/assets/data/panel.html +4 -3
  5. data/assets/data/speak2me.html +11 -11
  6. data/assets/data/translator.html +29 -29
  7. data/assets/theme/j1/adapter/js/amplitude.js +112 -88
  8. data/assets/theme/j1/adapter/js/j1.js +4 -4
  9. data/assets/theme/j1/adapter/js/masonry.js +2 -2
  10. data/assets/theme/j1/adapter/js/themes.js +42 -4
  11. data/assets/theme/j1/adapter/js/videojs.js +212 -0
  12. data/assets/theme/j1/core/css/icon-fonts/mdib.css +24 -4
  13. data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -1
  14. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +1 -1
  15. data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -1
  16. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +9 -6
  17. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -1
  18. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  19. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -1
  20. data/assets/theme/j1/core/js/template.js +262 -275
  21. data/assets/theme/j1/core/js/template.min.js +7 -7
  22. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  23. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +131 -24
  24. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
  25. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +102 -76
  26. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  27. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +109 -78
  28. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
  29. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/artist.svg +78 -0
  30. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/mute.svg +52 -20
  31. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/next.svg +20 -39
  32. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg +24 -38
  33. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg +85 -0
  34. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-music.svg +85 -0
  35. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg +85 -0
  36. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist.svg +85 -0
  37. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/previous.svg +18 -37
  38. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +33 -30
  39. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +33 -29
  40. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/next.svg +55 -14
  41. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/previous.svg +56 -14
  42. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg +38 -21
  43. data/assets/theme/j1/modules/amplitudejs/js/amplitude.map +20 -20
  44. data/assets/theme/j1/modules/amplitudejs/js/tech/youtube_example.js +211 -0
  45. data/assets/theme/j1/modules/gemini/js/gemini.js.map +1 -1
  46. data/assets/theme/j1/modules/jquery/js/jquery.min.map +1 -1
  47. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +206 -122
  48. data/assets/theme/j1/modules/videojs/assets/icons/custom-icons/next.svg +82 -0
  49. data/assets/theme/j1/modules/videojs/css/font/README.md +151 -0
  50. data/assets/theme/j1/modules/videojs/css/font/VideoJS.svg +150 -0
  51. data/assets/theme/j1/modules/videojs/css/font/video-js-cdn.css +2012 -0
  52. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +32 -0
  53. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +31 -0
  54. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.css +31 -0
  55. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.min.css +21 -0
  56. data/assets/theme/j1/modules/videojs/css/themes/uno.css +14 -3
  57. data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
  58. data/assets/theme/j1/modules/videojs/css/videojs.css +1 -0
  59. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/LICENSE +13 -0
  60. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/README.md +75 -0
  61. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.js +149 -0
  62. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.min.js +21 -0
  63. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/README.md +76 -30
  64. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.js +64 -53
  65. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.min.js +1 -1
  66. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/README.md +133 -0
  67. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.js +137 -0
  68. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.min.js +21 -0
  69. data/assets/theme/j1/modules/videojs/js/plugins/controls/zoom/zoom.js +15 -12
  70. data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.js +2 -2
  71. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.js +43 -16
  72. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/fastfilereaderext.so +0 -0
  73. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/rubyeventmachine.so +0 -0
  74. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/fastfilereaderext.so +0 -0
  75. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/rubyeventmachine.so +0 -0
  76. data/lib/j1/version.rb +1 -1
  77. data/lib/j1_app/j1_auth_manager/config.rb +0 -4
  78. data/lib/starter_web/Gemfile +45 -22
  79. data/lib/starter_web/README.md +5 -5
  80. data/lib/starter_web/_config.yml +4 -6
  81. data/lib/starter_web/_data/modules/amplitude.yml +67 -37
  82. data/lib/starter_web/_data/modules/defaults/amplitude.yml +1 -0
  83. data/lib/starter_web/_data/modules/defaults/gallery.yml +42 -0
  84. data/lib/starter_web/_data/modules/defaults/videojs.yml +107 -0
  85. data/lib/starter_web/_data/modules/gallery.yml +30 -14
  86. data/lib/starter_web/_data/modules/lazyLoader.yml +8 -8
  87. data/lib/starter_web/_data/modules/masonry.yml +15 -0
  88. data/lib/starter_web/_data/modules/masterslider.yml +6 -6
  89. data/lib/starter_web/_data/modules/videojs.yml +57 -0
  90. data/lib/starter_web/_data/resources.yml +9 -26
  91. data/lib/starter_web/_data/templates/feed.xml +1 -1
  92. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -0
  93. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +2 -1
  94. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +4 -1
  95. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
  96. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
  97. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +2 -1
  98. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +145 -24
  99. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +4 -1
  100. data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +313 -0
  101. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +192 -17
  102. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  103. data/lib/starter_web/assets/audio/cover/spontanorama/spontanorama.jpg +0 -0
  104. data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.png +0 -0
  105. data/lib/starter_web/assets/audio/cover/spontanorama/src/spontanorama.psd +0 -0
  106. data/lib/starter_web/package.json +1 -1
  107. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +20 -7
  108. data/lib/starter_web/pages/public/manuals/integrations/amplitudejs/amplitudejs-api.adoc +1 -1
  109. data/lib/starter_web/pages/public/manuals/integrations/videojs/youtube-api.adoc +1638 -0
  110. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -6
  111. data/lib/starter_web/pages/public/tools/previewer/preview_videojs.adoc +203 -0
  112. data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +1 -1
  113. data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +1 -1
  114. data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +1 -1
  115. data/lib/starter_web/pages/public/tour/modal_extentions.adoc +1 -1
  116. data/lib/starter_web/pages/public/tour/play_audio.adoc +30 -29
  117. data/lib/starter_web/pages/public/tour/play_video.adoc +65 -39
  118. data/lib/starter_web/pages/public/tour/present_images.adoc +17 -16
  119. data/lib/starter_web/pages/public/tour/quicksearch.adoc +1 -1
  120. data/lib/starter_web/pages/public/tour/responsive_tables.adoc +1 -1
  121. data/lib/starter_web/pages/public/tour/typography.adoc +1 -1
  122. metadata +37 -20
  123. data/assets/data/amplitude.28.html +0 -887
  124. data/assets/data/amplitude.29.html +0 -923
  125. data/assets/theme/j1/adapter/js/amplitude.23.js +0 -1165
  126. data/assets/theme/j1/adapter/js/amplitude.24.js +0 -1164
  127. data/assets/theme/j1/adapter/js/amplitude.25.js +0 -1268
  128. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_pause.svg +0 -19
  129. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_play.svg +0 -18
  130. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/show-playlist.svg +0 -15
  131. data/assets/theme/j1/modules/jqueryScrollbar/LICENSE +0 -20
  132. data/assets/theme/j1/modules/jqueryScrollbar/README.md +0 -28
  133. data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.css +0 -939
  134. data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.min.css +0 -20
  135. data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.js +0 -851
  136. data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.min.js +0 -36
  137. data/assets/theme/j1/modules/jqueryScrollbar/sass/scrollbar.scss +0 -806
  138. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +0 -794
  139. data/lib/starter_web/_data/modules/lazyLoader.0.yml +0 -118
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5be7836bc33acb8bf5f1b59fec31b90911672b3ef04b852c17cd24b67ae3bad
4
- data.tar.gz: dca09ed5424070053b2c02d61e8693dab770e985d766a2d39f88eaf749611794
3
+ metadata.gz: 251fb8bf58d0e8b429cc9977024e2cdb33ed2fdbe3c4fd40bee91071a4cfbde7
4
+ data.tar.gz: 4a29a03ae20e9929dcf8750b57199d1307d2061657414ee1f1bca619f7cb1ea7
5
5
  SHA512:
6
- metadata.gz: 0e48f1e2eb39763739bcbcaa8c691c0aa86007fb8d6d6642bf03262b431e2c07434e19eb8f81a73a10e5df1aa29ee2d844777a2b4fe0eff9ed7fc192de37ce3c
7
- data.tar.gz: 38cc045d0abf8a18225ae76917e8be24a3460150922a6c26f67d05dd66371eb679a0d1f86d986b3dcc26490369b3fb79c828f5c96c34501217c397c46d0bf485
6
+ metadata.gz: 0a4be674066ffc6b70b91cc8a6c8db8b3e6cf50dbe3810a363049bd6e69fd0523c353900271a3c4fb32a9accd359885f9d8d66da4b4c18a720af9f481ed01f56
7
+ data.tar.gz: 0b89aeade5c213100a07267077fdff3391443ac3b13c7a9580c0fe8563a8395f1dd69eed1ffd7d64e9a0b80aaedf3d314825d9c1dee1eb958bd759c5a8d5050d
@@ -87,6 +87,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
87
87
  ---------------------------------------------------------------------------- {% endcomment %}
88
88
  {% assign source_media = amplitude_defaults.player.source %}
89
89
  {% assign song_progress_bar = amplitude_defaults.player.song_progress_bar %}
90
+ {% assign audio_rating = amplitude_defaults.player.audio_rating %}
90
91
  {% assign display_hours = amplitude_defaults.player.display_hours %}
91
92
  {% assign volume_slider = amplitude_defaults.player.volume_slider.enabled %}
92
93
  {% assign volume_slider_min = amplitude_defaults.player.volume_slider.min_value %}
@@ -149,6 +150,13 @@ amplitude_defaults: {{amplitude_defaults | debug}}
149
150
  {% assign player_audio_info = player.playlist.audio_info %}
150
151
  {% endif %}
151
152
 
153
+ {% if player.audio_rating %}
154
+ {% assign player_audio_rating = player.audio_rating %}
155
+ {% else %}
156
+ {% assign player_audio_rating = audio_rating %}
157
+ {% endif %}
158
+
159
+
152
160
  {% comment %} unused
153
161
  ----------------------------------------------------------------------------
154
162
  {% unless player.playlist.scrollbar %}
@@ -319,11 +327,10 @@ amplitude_defaults: {{amplitude_defaults | debug}}
319
327
  <div id="playlist_screen_{{player_id}}" class="compact-player-playlist slide-in-top">
320
328
 
321
329
  <div id="hide_playlist_{{player_id}}" class="compact-player-header hide-playlist">
322
- <img class="compact-player-header-arrows" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/up.svg" alt="Up Arrow">
323
- Hide Playlist
330
+ <img class="compact-player-header-arrows" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg" alt="Hide Playlist">
331
+ Playlist
324
332
  </div> <!-- END playlist-screen header (toggle playlist) -->
325
333
 
326
- <!-- jadams, 2024-07-06: controls configurable in player -->
327
334
  {% if playlist_controls %}
328
335
  <div class="playlist-screen-controls">
329
336
  <div class="playlist-screen-meta-container">
@@ -333,9 +340,16 @@ amplitude_defaults: {{amplitude_defaults | debug}}
333
340
  data-amplitude-song-info="name"></span>
334
341
  <div class="song-artist-album">
335
342
  <span
336
- data-amplitude-playlist="{{player_playlist}}"
337
- data-amplitude-source="{{source_media_attribute}}"
338
- data-amplitude-song-info="artist" data-amplitude-song-index="0"></span>
343
+ data-amplitude-source="{{source_media_attribute}}"
344
+ data-amplitude-playlist="{{player_playlist}}"
345
+ data-amplitude-song-info="artist">
346
+ </span>
347
+ <!-- span class="song-artist-album-delimiter">·</span>
348
+ <span
349
+ data-amplitude-source="audio"
350
+ data-amplitude-playlist="{{player_playlist}}"
351
+ data-amplitude-song-info="album">
352
+ </span -->
339
353
  </div>
340
354
  </div>
341
355
  <div class="list-controls">
@@ -358,10 +372,10 @@ amplitude_defaults: {{amplitude_defaults | debug}}
358
372
  </div> <!-- END playlist controls -->
359
373
  {% endif %}
360
374
 
361
- <!-- START playlist items -->
375
+ <!-- START playlist items (COMPACT player )-->
362
376
  <div
363
377
  id="compact_player_title_list_{{player_playlist}}"
364
- class="compact-player-title-list">
378
+ class="amplitude-scroller-gradient compact-player-title-list">
365
379
  {% for item in playlist_items %} {% if item.enabled %}
366
380
  <!-- START list item -->
367
381
  <div
@@ -385,24 +399,37 @@ amplitude_defaults: {{amplitude_defaults | debug}}
385
399
  data-amplitude-source="{{source_media_attribute}}"
386
400
  data-amplitude-playlist="{{player_playlist}}">
387
401
  <span class="song-name">{{item.title}}</span>
388
- <span class="song-artist-album">
402
+
403
+ {% if player_audio_rating %}
404
+ <span class="audio-rating">
405
+ {{item.rating}}
406
+ <i class="mdib mdib-star md-gray-400 mdib-18px"></i>
407
+ </span>
408
+ {% endif %}
409
+
410
+ <!-- span class="song-artist-album">
389
411
  <span>{{item.name}}</span>
390
412
  <span class="song-artist-album-delimiter">·</span>
391
413
  <span>{{item.artist}}</span>
414
+ </span -->
415
+
416
+ <span class="song-artist-album">
417
+ <span>{{item.artist}}</span>
392
418
  </span>
393
- </div>
394
419
 
395
- <a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
396
420
  {% if player_audio_info %}
397
- <img class="audio-info-blue" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-blue.svg" alt="audio-info" style="display: block">
398
- <img class="audio-info-white" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-white.svg" alt="audio-info" style="display: none">
399
- {% else %}
400
- <img class="audio-info-blue" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-blue.svg" alt="audio-info" style="display: none">
401
- <img class="audio-info-white" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-white.svg" alt="audio-info" style="display: none">
421
+ <span class="audio-info">
422
+ <a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
423
+ <i class="mdib mdib-information md-gray-400 mdib-24px"></i>
424
+ </a>
425
+ </span>
402
426
  {% endif %}
403
- </a>
404
427
 
405
- <span class="audio-duration">{{item.duration}}</span>
428
+ <span class="audio-duration">{{item.duration}}</span>
429
+
430
+ </div> <!-- END song-meta-container -->
431
+
432
+
406
433
  </div>
407
434
  <!-- END list item -->
408
435
  {% endif %} {% endfor %}
@@ -431,18 +458,21 @@ amplitude_defaults: {{amplitude_defaults | debug}}
431
458
  </span>
432
459
  <img
433
460
  class="compact-player-header-arrows"
434
- src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/down.svg"
435
- alt="Down Arrow">
461
+ src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg"
462
+ alt="Show Playlist">
436
463
  </div> <!-- END compact player header (toggle playlist) -->
437
464
 
438
465
  <div class="player-top">
439
- <!-- jadams, DEFAULT album cover image replaced by AmplidudeJS (based on playlist) -->
440
- <img
441
- src="/assets/audio/cover/default/placeholder-blue.jpg"
442
- data-amplitude-source="{{source_media_attribute}}"
443
- data-amplitude-playlist="{{player_playlist}}"
444
- data-amplitude-song-info="cover_art_url"
445
- alt="album cover">
466
+ <!-- NOTE: album cover image (replaced by AJS API based on playlist) -->
467
+ <div class="album-cover-image">
468
+ <img
469
+ src="/assets/audio/cover/default/placeholder-blue.jpg"
470
+ data-amplitude-playlist="{{player_playlist}}"
471
+ data-amplitude-source="{{source_media_attribute}}"
472
+ data-amplitude-song-info="cover_art_url"
473
+ alt="album cover image"
474
+ >
475
+ </div>
446
476
  </div>
447
477
 
448
478
  <!-- START progress bar -->
@@ -639,7 +669,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
639
669
  <!-- START create player instance on ID: {{player_id}} of type: {{player_type}} -->
640
670
  {% capture large_player_left_side %}
641
671
  <!-- START LARGE player left TOP -->
642
- <div div class="player-left-top">
672
+ <div class="player-left-top">
643
673
 
644
674
  <div class="large-player-playlist-header">
645
675
  <span class="audio-artist">
@@ -657,15 +687,17 @@ amplitude_defaults: {{amplitude_defaults | debug}}
657
687
  </span>
658
688
  </div>
659
689
 
660
- <!-- NOTE: DEFAULT album cover image (replaced by AJS API based on playlist) -->
661
- <img
662
- src="/assets/audio/cover/default/placeholder-blue.jpg"
663
- width="500" height="500"
664
- data-amplitude-playlist="{{player_playlist}}"
665
- data-amplitude-source="{{source_media_attribute}}"
666
- data-amplitude-song-info="cover_art_url"
667
- alt="album cover"
668
- >
690
+ <!-- NOTE: album cover image (replaced by AJS API based on playlist) -->
691
+ <div class="album-cover-image">
692
+ <img
693
+ src="/assets/audio/cover/default/placeholder-blue.jpg"
694
+ data-amplitude-playlist="{{player_playlist}}"
695
+ data-amplitude-source="{{source_media_attribute}}"
696
+ data-amplitude-song-info="cover_art_url"
697
+ alt="album cover image"
698
+ >
699
+ </div>
700
+
669
701
  <!-- START progress bar -->
670
702
  {% if song_progress_bar %}
671
703
  <progress
@@ -793,7 +825,7 @@ amplitude_defaults: {{amplitude_defaults | debug}}
793
825
  data-amplitude-source="{{source_media_attribute}}"
794
826
  data-amplitude-playlist="{{player_playlist}}">
795
827
  </span>
796
- :
828
+ :
797
829
  {% endif %}
798
830
  <span
799
831
  class="amplitude-duration-minutes"
@@ -856,7 +888,6 @@ amplitude_defaults: {{amplitude_defaults | debug}}
856
888
  class="large-player-playlist-header">Playlist
857
889
  </div>
858
890
 
859
- <!-- jadams, 2024-07-06: controls configurable in player -->
860
891
  {% if playlist_controls %}
861
892
  <div class="playlist-screen-controls large-player">
862
893
  <div class="playlist-screen-meta-container">
@@ -870,9 +901,14 @@ amplitude_defaults: {{amplitude_defaults | debug}}
870
901
  <span
871
902
  data-amplitude-source="{{source_media_attribute}}"
872
903
  data-amplitude-playlist="{{player_playlist}}"
873
- data-amplitude-song-info="artist"
874
- data-amplitude-song-index="0">
904
+ data-amplitude-song-info="artist">
875
905
  </span>
906
+ <!-- span class="song-artist-album-delimiter">·</span>
907
+ <span
908
+ data-amplitude-source="audio"
909
+ data-amplitude-playlist="{{player_playlist}}"
910
+ data-amplitude-song-info="album">
911
+ </span -->
876
912
  </div>
877
913
  </div>
878
914
  <div class="list-controls">
@@ -894,10 +930,10 @@ amplitude_defaults: {{amplitude_defaults | debug}}
894
930
  </div> <!-- END playlist controls -->
895
931
  {% endif %}
896
932
 
897
- <!-- START playlist items -->
933
+ <!-- START playlist items (Large Player) -->
898
934
  <div
899
935
  id="large_player_title_list_{{player_playlist}}"
900
- class="large-player-title-list">
936
+ class="amplitude-scroller-gradient large-player-title-list">
901
937
  {% for item in playlist_items %}{% if item.enabled %}
902
938
  <!-- START list item -->
903
939
  <div
@@ -907,11 +943,14 @@ amplitude_defaults: {{amplitude_defaults | debug}}
907
943
  data-amplitude-playlist="{{player_playlist}}">
908
944
 
909
945
  <div
910
- class="song-now-playing-icon-container"
946
+ class="song-number-now-playing"
911
947
  data-amplitude-source="{{source_media_attribute}}"
912
948
  data-amplitude-playlist="{{player_playlist}}">
913
949
  <span class="title-number">{{forloop.index}}
914
- <img class="now-playing" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg" alt="now-playing">
950
+ <img
951
+ class="now-playing"
952
+ src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg"
953
+ alt="now-playing">
915
954
  </span>
916
955
  </div>
917
956
 
@@ -919,29 +958,43 @@ amplitude_defaults: {{amplitude_defaults | debug}}
919
958
  class="audio-meta-data"
920
959
  data-amplitude-playlist="{{player_playlist}}">
921
960
  <span class="audio-title">{{item.title}}</span>
961
+
962
+ {% if player_audio_rating %}
963
+ <span class="audio-rating">
964
+ {{item.rating}}
965
+ <i class="mdib mdib-star md-gray-400 mdib-18px"></i>
966
+ </span>
967
+ {% endif %}
968
+
922
969
  <span class="audio-artist">
923
- <span>{{item.name}}</span>
924
- <span class="song-artist-album-delimiter">·</span>
925
970
  <span>{{item.artist}}</span>
971
+ <!-- span class="song-artist-album-delimiter">·</span>
972
+ <span>{{item.name}}</span -->
973
+
974
+ {% if player_audio_info %}
975
+ <span class="audio-info">
976
+ <a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
977
+ <i class="mdib mdib-information md-gray-400 mdib-24px"></i>
978
+ </a>
979
+ </span>
980
+ {% endif %}
926
981
  </span>
927
982
  </div>
928
983
 
929
- <a href="{{item.audio_info}}" class="audio-info-link" target="_blank">
930
- {% if player_audio_info %}
931
- <img class="audio-info-blue" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-blue.svg" alt="audio-info" style="display: block">
932
- <img class="audio-info-white" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-white.svg" alt="audio-info" style="display: none">
933
- {% else %}
934
- <img class="audio-info-blue" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-blue.svg" alt="audio-info" style="display: none">
935
- <img class="audio-info-white" src="/assets/theme/j1/modules/amplitudejs/icons/player/dark/audio-info-white.svg" alt="audio-info" style="display: none">
936
- {% endif %}
937
- </a>
938
-
984
+ <!-- jadams, 2024-11-05: workaround -->
985
+ {% if player.display_hours %}
939
986
  <span class="audio-duration">{{item.duration}}</span>
987
+ {% else %}
988
+ <span class="audio-duration" style="margin-left: 50px;">{{item.duration}}</span>
989
+ <!-- span class="audio-duration">{{item.duration}}</span -->
990
+ {% endif %}
991
+
992
+
940
993
  </div>
941
994
  <!-- END list item -->
942
995
  {% endif %}{% endfor %}
943
996
  </div>
944
- <!-- EBD playlist items -->
997
+ <!-- END playlist items (Large Player) -->
945
998
 
946
999
  </div> <!-- END Large Player|Right Side -->
947
1000
 
@@ -147,16 +147,16 @@ exclude_from_search: true
147
147
  </div>
148
148
 
149
149
  <div class="modal-footer">
150
- <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
150
+ <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-danger mb-1 mr-2" style="min-width: 20rem">
151
151
  I Do not Agree
152
152
  </button>
153
- <button id="bccs-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
153
+ <button id="bccs-buttonAgree" type="button" class="btn btn-success mb-1 mr-2" style="min-width: 20rem">
154
154
  I Agree
155
155
  </button>
156
- <button id="bccs-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display: none; min-width: 20rem">
156
+ <button id="bccs-buttonSave" type="button" class="btn btn-warning mb-1 mr-2" style="display: none; min-width: 20rem">
157
157
  Save selection
158
158
  </button>
159
- <button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display: none; min-width: 20rem">
159
+ <button id="bccs-buttonAgreeAll" type="button" class="btn btn-success mb-1 mr-2" style="display: none; min-width: 20rem">
160
160
  Agree on all
161
161
  </button>
162
162
  </div>
@@ -242,16 +242,16 @@ exclude_from_search: true
242
242
  </div>
243
243
 
244
244
  <div class="modal-footer">
245
- <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
245
+ <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-warning mb-1 mr-2" style="min-width: 20rem">
246
246
  Ich stimme nicht zu
247
247
  </button>
248
- <button id="bccs-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
248
+ <button id="bccs-buttonAgree" type="button" class="btn btn-success mb-1 mr-2" style="min-width: 20rem">
249
249
  Ich stimme zu
250
250
  </button>
251
- <button id="bccs-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display: none; min-width: 20rem">
251
+ <button id="bccs-buttonSave" type="button" class="btn btn-warning mb-1 mr-2" style="display: none; min-width: 20rem">
252
252
  Auswahl speichern
253
253
  </button>
254
- <button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display: none; min-width: 20rem">
254
+ <button id="bccs-buttonAgreeAll" type="button" class="btn btn-success mb-1 mr-2" style="display: none; min-width: 20rem">
255
255
  Stimme allen zu
256
256
  </button>
257
257
  </div>
@@ -21,7 +21,7 @@ exclude_from_search: true
21
21
  # NOTE: All panel id's are prefixed by 'panel_'
22
22
  #
23
23
  # -----------------------------------------------------------------------------
24
- # Test data:
24
+ # Test data:More articles can be found
25
25
  # {{ variable | debug }}
26
26
  # -----------------------------------------------------------------------------
27
27
  {% endcomment %}
@@ -853,12 +853,13 @@ exclude_from_search: true
853
853
 
854
854
  <div id="previewer" class="previewer-headline">
855
855
  <div class="post-headline">
856
- <h2 id="post-headline" class="notoc notranslate mt-3">Vorschau</h2>
856
+ <h2 id="post-headline" class="notoc notranslate mt-3">Preview</h2>
857
857
  </div>
858
858
  </div>
859
859
 
860
860
  <!-- [INFO ] [~/assets/data/panel.html ] [ blocktype detected as: {{card_block}} ] -->
861
861
  {% if card_block == 'card-list' %}
862
+ <!-- Recent posts (card-list) -->
862
863
  <div id="{{panel_settings.id}}" class="preview_content">
863
864
  <ul id="{{panel_settings.id}}-scroll-group" class="scroll-group scroll-group-horizontal align-items-stretch flex-wrap">
864
865
  <!-- [INFO ] [~/assets/data/panel.html ] [ write post items (card_block == 'card-list')] -->
@@ -929,7 +930,7 @@ exclude_from_search: true
929
930
  {% endif %}
930
931
 
931
932
  {% if card_block == 'card-deck' %}
932
- <!-- Recent posts -->
933
+ <!-- Recent posts (card-deck) -->
933
934
  <div id="{{panel_settings.id}}" class="row card-deck">
934
935
  <!-- [INFO ] [~/assets/data/panel.html ] [ write post items (card_block == 'card-deck')] -->
935
936
  {% for post in site.posts %} {% for category in post.categories %}
@@ -144,17 +144,6 @@ exclude_from_search: true
144
144
  <!-- start control buttons -->
145
145
  <div class="ml-2">
146
146
 
147
- <!-- speak button -->
148
- <button type="button"
149
- id="speak_button"
150
- class="btn btn-{{speak2me_options.modal.settings.speak_button_style}} btn-sm"
151
- style="min-width: 180px;"
152
- onclick="j1.adapter.speak2me.speak('{{speak2me_options.speechSelector}}')"
153
- data-bs-dismiss="modal">
154
- <i class="mdib mdib-speaker mdib-sm mr-2"></i>
155
- {{speak2me_options.modal.settings.speak_button_text}}
156
- </button>
157
-
158
147
  <!-- stop button -->
159
148
  <button type="button"
160
149
  id="stop_button"
@@ -166,6 +155,17 @@ exclude_from_search: true
166
155
  {{speak2me_options.modal.settings.stop_button_text}}
167
156
  </button>
168
157
 
158
+ <!-- speak button -->
159
+ <button type="button"
160
+ id="speak_button"
161
+ class="btn btn-{{speak2me_options.modal.settings.speak_button_style}} btn-sm"
162
+ style="min-width: 180px;"
163
+ onclick="j1.adapter.speak2me.speak('{{speak2me_options.speechSelector}}')"
164
+ data-bs-dismiss="modal">
165
+ <i class="mdib mdib-speaker mdib-sm mr-2"></i>
166
+ {{speak2me_options.modal.settings.speak_button_text}}
167
+ </button>
168
+
169
169
  <!-- pause button -->
170
170
  <button type="button"
171
171
  id="pause_button"
@@ -149,40 +149,40 @@ exclude_from_search: true
149
149
  <button
150
150
  id="translator-buttonDoNotAgree"
151
151
  type="button"
152
- class="btn btn-outline-secondary mb-1 mr-2"
152
+ class="btn btn-danger mb-1 mr-2"
153
153
  style="min-width: 20rem">
154
- No, disable translation
154
+ No, disable translation
155
155
  </button>
156
156
 
157
157
  <button
158
- id="translator-buttonAgree"
158
+ id="translator-buttonExit"
159
159
  type="button"
160
- class="btn btn-primary mb-1 mr-2"
161
- style="min-width: 20rem">
162
- Yes, please translate
160
+ class="btn btn-info mb-1 mr-2"
161
+ style="min-width: 20rem"
162
+ data-bs-dismiss="modal">
163
+ Do nothing
163
164
  </button>
164
165
 
165
166
  <button
166
- id="translator-buttonExit"
167
+ id="translator-buttonAgree"
167
168
  type="button"
168
- class="btn btn-warning mb-1 mr-2"
169
- style="min-width: 20rem"
170
- data-bs-dismiss="modal">
171
- Do nothing
169
+ class="btn btn-success mb-1 mr-2"
170
+ style="min-width: 20rem">
171
+ Yes, please translate
172
172
  </button>
173
173
 
174
174
  <button
175
175
  id="translator-buttonSave"
176
176
  type="button"
177
- class="btn btn-outline-secondary mb-1 mr-2"
177
+ class="btn btn-warning mb-1 mr-2"
178
178
  style="display:none; min-width: 20rem">
179
- Save selection
179
+ Save selection
180
180
  </button>
181
181
 
182
182
  <button
183
183
  id="translator-buttonAgreeAll"
184
184
  type="button"
185
- class="btn btn-primary mb-1 mr-2"
185
+ class="btn btn-success mb-1 mr-2"
186
186
  style="display:none; min-width: 20rem">
187
187
  I Agree on all
188
188
  </button>
@@ -272,42 +272,42 @@ exclude_from_search: true
272
272
  <button
273
273
  id="translator-buttonDoNotAgree"
274
274
  type="button"
275
- class="btn btn-outline-secondary mb-1 mr-2"
275
+ class="btn btn-danger mb-1 mr-2"
276
276
  style="min-width: 20rem">
277
- Nein, Übersetzung deaktivieren
277
+ Nein, Übersetzung deaktivieren
278
278
  </button>
279
279
 
280
280
  <button
281
- id="translator-buttonAgree"
281
+ id="translator-buttonExit"
282
282
  type="button"
283
- class="btn btn-primary mb-1 mr-2"
284
- style="min-width: 20rem">
285
- Ja, bitte übersetzen Sie
283
+ class="btn btn-info mb-1 mr-2"
284
+ style="min-width: 20rem"
285
+ data-bs-dismiss="modal">
286
+ Nichts tun
286
287
  </button>
287
288
 
288
289
  <button
289
- id="translator-buttonExit"
290
+ id="translator-buttonAgree"
290
291
  type="button"
291
- class="btn btn-warning mb-1 mr-2"
292
- style="min-width: 20rem"
293
- data-bs-dismiss="modal">
294
- Nichts tun
292
+ class="btn btn-success mb-1 mr-2"
293
+ style="min-width: 20rem">
294
+ Ja, bitte übersetzen Sie
295
295
  </button>
296
296
 
297
297
  <button
298
298
  id="translator-buttonSave"
299
299
  type="button"
300
- class="btn btn-outline-secondary mb-1 mr-2"
300
+ class="btn btn-warning mb-1 mr-2"
301
301
  style="display:none; min-width: 20rem">
302
- Auswahl speichern
302
+ Auswahl speichern
303
303
  </button>
304
304
 
305
305
  <button
306
306
  id="translator-buttonAgreeAll"
307
307
  type="button"
308
- class="btn btn-primary mb-1 mr-2"
308
+ class="btn btn-success mb-1 mr-2"
309
309
  style="display:none; min-width: 20rem">
310
- Stimme allen zu
310
+ Stimme allen zu
311
311
  </button>
312
312
  </div>
313
313