jekyll-theme-conference 3.2.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +107 -25
  3. data/_includes/js/conference.js +28 -17
  4. data/_includes/js/init.js +37 -0
  5. data/_includes/js/{bootstrap.js → lib/bootstrap.js} +0 -0
  6. data/_includes/js/{jquery-3.5.1.min.js → lib/jquery-3.5.1.min.js} +0 -0
  7. data/_includes/js/{leaflet-easybutton.js → lib/leaflet-easybutton.js} +0 -0
  8. data/_includes/js/{leaflet-locatecontrol.js → lib/leaflet-locatecontrol.js} +0 -0
  9. data/_includes/js/{leaflet-providers.js → lib/leaflet-providers.js} +0 -0
  10. data/_includes/js/{leaflet.js → lib/leaflet.js} +0 -0
  11. data/_includes/js/{popper.min.js → lib/popper.min.js} +0 -0
  12. data/_includes/js/{syncscroll.js → lib/syncscroll.js} +0 -0
  13. data/_includes/js/live.js +718 -0
  14. data/_includes/js/map.js +38 -0
  15. data/_includes/js/{conference-modal.js → modal.js} +13 -15
  16. data/_includes/js/{conference-program.js → program.js} +10 -17
  17. data/_includes/partials/checks.html +1 -1
  18. data/_includes/partials/footer.html +1 -1
  19. data/_includes/partials/get_enable_map.html +11 -0
  20. data/_includes/partials/get_live_timestamps.html +1 -1
  21. data/_includes/partials/get_page_description.html +23 -0
  22. data/_includes/partials/get_page_title.html +33 -0
  23. data/_includes/partials/get_talk_timestamp.html +2 -2
  24. data/_includes/partials/header.html +7 -4
  25. data/_includes/partials/list_page_meta.html +23 -0
  26. data/_includes/partials/list_speakers.html +11 -5
  27. data/_includes/partials/modal_live.html +3 -2
  28. data/_includes/partials/navbar.html +1 -1
  29. data/_includes/partials/navbar_rooms.html +5 -1
  30. data/_includes/partials/show_live_button.html +2 -2
  31. data/_layouts/config.html +78 -0
  32. data/_layouts/data.html +20 -2
  33. data/_layouts/home.html +1 -1
  34. data/_layouts/location.html +1 -1
  35. data/_layouts/page.html +4 -0
  36. data/_layouts/stream-overview.html +1 -1
  37. data/assets/js/config.json +3 -0
  38. metadata +24 -17
  39. data/_includes/js/conference-live.js +0 -701
  40. data/_includes/js/conference-map.js +0 -45
@@ -1,45 +0,0 @@
1
- window.conference.mapConfig = (function() {
2
-
3
- let map;
4
-
5
- let mapProvider = "{{ site.conference.location.map.map_provider | default: 'OpenStreetMap.Mapnik' }}";
6
- let homeCoord = [{{ site.conference.location.map.home_coord }}];
7
- let zoomLevel = {{ site.conference.location.map.default_zoom | default: 17 }};
8
-
9
- let setup = function (elId) {
10
- map = L.map(elId).setView(homeCoord, zoomLevel);
11
-
12
- L.tileLayer.provider(mapProvider).addTo(map);
13
-
14
- L.easyButton('far fa-star', function(){
15
- map.flyTo(homeCoord, zoomLevel);
16
- }, '{{ site.data.lang[site.conference.lang].location.focus_conf | default: "Center map on conference location" }}').addTo(map);
17
-
18
- L.control.locate({
19
- flyTo: true,
20
- strings: {
21
- title: '{{ site.data.lang[site.conference.lang].location.focus_me | default: "Show me where I am" }}'
22
- }
23
- }).addTo(map);
24
- };
25
-
26
- let init = function () {
27
- let elId = 'map';
28
-
29
- if (document.getElementById(elId)) {
30
- setup(elId);
31
- window.conference.map = map;
32
- }
33
- };
34
-
35
- return {
36
- init: init,
37
- default: {
38
- mapProvider: mapProvider,
39
- homeCoord: homeCoord,
40
- zoomLevel: zoomLevel
41
- }
42
- };
43
- })();
44
-
45
- window.conference.mapConfig.init();