2024-02-27 15:05:20 +01:00
<!DOCTYPE html> < html lang = "cs" > < head > < meta charset = "utf-8" > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" > < meta name = "viewport" content = "width=device-width,initial-scale=1" > < title > Synchronizace kalendářů - NoLogWeb< / title > < meta name = "description" content = "Nakonec jsem dospěl k závěru, že nejlepší bude používat co by datové zdroje kalendáře Google, zatímco pro můj interní kalendář databázi SQLite." > < meta name = "generator" content = "Publii Open-Source CMS for Static Site" > < link rel = "canonical" href = "https://jsem.nudista.online/synchronizace-kalendaru/" > < link rel = "alternate" type = "application/atom+xml" href = "https://jsem.nudista.online/feed.xml" > < link rel = "alternate" type = "application/json" href = "https://jsem.nudista.online/feed.json" > < meta property = "og:title" content = "Synchronizace kalendářů" > < meta property = "og:image" content = "https://jsem.nudista.online/media/website/logo.svg" > < meta property = "og:image:width" content = "80" > < meta property = "og:image:height" content = "84" > < meta property = "og:site_name" content = "Jsem · Nudista · Online" > < meta property = "og:description" content = "Nakonec jsem dospěl k závěru, že nejlepší bude používat co by datové zdroje kalendáře Google, zatímco pro můj interní kalendář databázi SQLite." > < meta property = "og:url" content = "https://jsem.nudista.online/synchronizace-kalendaru/" > < meta property = "og:type" content = "article" > < link rel = "shortcut icon" href = "https://jsem.nudista.online/media/website/favicon.ico" type = "image/x-icon" > < link rel = "preload" href = "https://jsem.nudista.online/assets/dynamic/fonts/publicsans/publicsans.woff2" as = "font" type = "font/woff2" crossorigin > < link rel = "stylesheet" href = "https://jsem.nudista.online/assets/css/style.css?v=e247c1a38a5bd75a1a2d434fcb884e4a" > < script type = "application/ld+json" > { "@context" : "http://schema.org" , "@type" : "Article" , "mainEntityOfPage" : { "@type" : "WebPage" , "@id" : "https://jsem.nudista.online/synchronizace-kalendaru/" } , "headline" : "Synchronizace kalendářů" , "datePublished" : "2024-02-23T21:36" , "dateModified" : "2024-02-25T15:40" , "image" : { "@type" : "ImageObject" , "url" : "https://jsem.nudista.online/media/website/logo.svg" , "height" : 84 , "width" : 80 } , "description" : "Nakonec jsem dospěl k závěru, že nejlepší bude používat co by datové zdroje kalendáře Google, zatímco pro můj interní kalendář databázi SQLite." , "author" : { "@type" : "Person" , "name" : "Jan Rippl 🇨🇿" , "url" : "https://jsem.nudista.online/autor/jan-rippl-cz/" } , "publisher" : { "@type" : "Organization" , "name" : "Jan Rippl 🇨🇿" , "logo" : { "@type" : "ImageObject" , "url" : "https://jsem.nudista.online/media/website/logo.svg" , "height" : 84 , "width" : 80 } } } < / script > < noscript > < style > i m g [ l o a d i n g ] {
2024-02-23 21:44:17 +01:00
opacity: 1;
}< / style > < / noscript > < script src = "https://obec-mokriny.cz/kalendar-novy/dist/index.global.js" > < / script > < script src = "https://obec-mokriny.cz/kalendar-novy/packages/list/index.global.js" > < / script > < script src = "https://obec-mokriny.cz/kalendar-novy/packages/core/locales/cs.global.js" > < / script > < script src = "https://obec-mokriny.cz/kalendar-novy/packages/google-calendar/index.global.js" > < / script > < script type = "text/javascript" > d o c u m e n t . a d d E v e n t L i s t e n e r ( ' D O M C o n t e n t L o a d e d ' , f u n c t i o n ( ) {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
headerToolbar: {
left: 'title',
center: '',
right: ''
},
footerToolbar: {
start: '',
center: '',
end: 'today prevYear,prev,next,nextYear'
},
2024-02-27 00:31:43 +01:00
initialView: 'listDay',
2024-02-23 21:44:17 +01:00
locale: 'cs',
2024-02-27 14:12:02 +01:00
timeZone: 'Europe/Prague',
2024-02-23 21:44:17 +01:00
displayEventTime: true, // don't show the time column in list view
googleCalendarApiKey: 'AIzaSyD0IpA16TFEGbQNqUaD5MNmVm364DpHlqU',
eventSources: [
{
googleCalendarId: 'b4742c190c0f07274f2d3b8d0646db4b8dd98289c8159113bdda029514286bf3@group.calendar.google.com'
},
{
googleCalendarId: 'o8sn1cursjbacb729ulb4c50og@group.calendar.google.com',
className: 'nice-event'
},
{
googleCalendarId: 'uqu50taoqg4gi4jrl7pu7kknfs@group.calendar.google.com',
className: 'nice-event'
},
{
googleCalendarId: 'cs.czech#holiday@group.v.calendar.google.com',
className: 'nice-event'
2024-02-27 14:04:14 +01:00
},
{
googleCalendarId: 'janrippl@gmail.com',
className: 'nice-event'
2024-02-23 21:44:17 +01:00
}
]
});
calendar.render();
2024-02-27 22:25:31 +01:00
});< / script > < link rel = "stylesheet" href = "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" > < style > . fi { fill : none ; stroke-linecap : round ; stroke-linejoin : round ; vertical-align : middle } < / style > < style > : root { --flb-container-gap : 0.8 rem ; --flb-container-direction : row ; --flb-btn-hover-effect : translate3d ( 0 , -2 px , 0 ) ; --flb-btn-gap : 0.4 rem ; --flb-btn-transition : all 0.24 s ease-out ; --flb-btn-border-radius : 6 px ; --flb-btn-font-family : var ( - - body - font ) ; --flb-btn-font-size : 0.875 rem ; --flb-btn-line-height : inherit ; --flb-icon-size : 24 px ; --flb-link-color : #404258 ; --flb-link-color-hover : #EC1037 ; --flb-link-icon-color : #404258 ; --flb-link-icon-color-hover : #EC1037 ; } . flb-container { display : inline-flex ; flex-direction : var ( - - flb - container - direction ) ; flex-wrap : wrap ; gap : var ( - - flb - container - gap ) ; justify-content : center ; } a . tltp tltp--top { all : unset ; align-items : center ; color : var ( - - flb - link - color ) ; cursor : pointer ; display : inline-flex ; font-family : var ( - - flb - btn - font - family ) ; font-size : var ( - - flb - btn - font - size ) ; gap : var ( - - flb - btn - gap ) ; line-height : var ( - - flb - btn - line - height ) ; transition : var ( - - flb - btn - transition ) ; text-decodration : none ; will-change : transform ; } a . tltp tltp--top : hover { color : var ( - - flb - link - color - hover ) ; transform : var ( - - flb - btn - hover - effect ) ; } a . tltp tltp--top svg { fill : var ( - - flb - link - icon - color ) ; height : var ( - - flb - icon - size ) ; margin : unset ; opacity : unset ; pointer-events : none ; transition : var ( - - flb - btn - transition ) ; width : var ( - - flb - icon - size ) ; } a . tltp tltp--top : hover svg { fill : var ( - - flb - link - icon - color - hover ) ; } a . tltp tltp--top svg { fill : hsla ( var ( - - s - platform - h ) , var ( - - s - platform - s ) , var ( - - s - platform - l ) , var ( - - s - platform - a ) ) ; } a . tltp tltp--top : hover svg { fill : hsla ( var ( - - s - platform - h ) , var ( - - s - platform - s ) , var ( - - s - platform - l ) , var ( - - s - platform - a ) ) ; } a . tltp tltp--top . p-mastodon { --s-platform-h : 252 ; --s-platform-s : 59 % ; --s-platform-l : 51 % ; --s-platform-a : 1 ; } a . tltp tltp--top . p-twitter { --s-platform-h : 0 ; --s-platform-s : 0 % ; --s-platform-l : 0 % ; --s-platform-a : 1 ; } < / style > < / head > < body > < div class = "content" > < div class = "left-bar" > < div class = "left-bar__inner" > < header class = "header" > < a class = "logo" href = "https://jsem.nudista.online/" > < img src = "https://jsem.nudista.online/media/website/logo.svg" alt = "NoLogWeb" width = "80" height = "84" > < / a > < nav class = "navbar" > < button class = "navbar__toggle" aria-label = "Nabídka" aria-haspopup = "true" aria-expanded = "false" > < span class = "navbar__toggle__box" > < span class = "navbar__toggle__inner" > Nabídka< / span > < / span > < / button > < ul class = "navbar__menu" > < li > < a class = "tltp" href = "https://jsem.nudista.online/vypracovat/" target = "_self" aria-label = "Vypracovat" > < svg class = "fi fi-square" width = "24px" height = "24px" fill = "none" stroke = "currentColor" stroke-width = "2" aria-hidden = "true" viewBox = "0 0 24 24" > < g > < rect x = "3" y = "3" width = "18" height = "18" rx = "2" ry = "2" > < / rect > < / g > < / svg > < span > Vypracovat< / span > < / a > < / li > < li > < a class = "tltp" href = "https://jsem.nudista.online/akce/" target = "_self" aria-label = "Hotovo" > < svg class = "fi fi-check-square" width = "24px" height = "24px" fill = "none" stroke = "currentColor" stroke-width = "2" aria-hidden = "true" viewBox = "0 0 24 24" > < g > < polyline points = "9 11 12 14 22 4" > < / polyline > < path d = "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" > < / path > < / g > < / svg > < span > Hotovo< / span > < / a > < / li > < li > < a class = "tltp" href = "https://jsem.nudista.online/vypracovat/" target = "_self" aria-label = "Harmonogram" > < svg class = "fi fi-clipboard" width = "24px" height = "24px" fill = "none" stroke = "currentColor" stroke-width = "2" aria-hidden = "true" viewBox = "0 0 24 24" > < g > < path d = "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" > < / path > < rect x = "8" y = "2" width = "8" height = "4" rx = "1" ry = "1" > < / rect > < / g > < / svg > < span > Harmonogram< / span > < / a > < / li > < li > < a class = "tltp" href = "https://jsem.nudista.online/kategorie/" target = "_self" aria-label = "Kategorie" > < svg class = "fi fi-tag" width = "24px" height = "24px" fill = "none" stroke = "currentColor" stroke-width = "2" aria-hidden = "true" viewBox = "0 0 24 24" > < g > < path d = "M20.59 13 . 41l-7 . 17 7 . 17a2 2 0 0 1-2 . 83 0L2 12V2h10l8 . 59 8 . 59a2 2 0 0
2024-02-23 21:44:17 +01:00
//var countDownDate = new Date("<?php echo($row['mesic'] . " " . $row['den'] . ", " . $row['rok'] . " " . $row['hodina'] . ":" . $row['minuta'] . ":" . $row['sekunda']); ?> ").getTime();
var countDownDate = new Date("June 9, 2026 00:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Display the result in the element with id="demo"
document.getElementById("demo").innerHTML = "< button title = 'Dny' > " + days + "< / button > < button title = 'Hodiny' > " + hours + "< / button > < button title = 'Minuty' > "
+ minutes + "< / button > < button title = 'Vteřiny' > " + seconds + "< / button > ";
// If the count down is finished, write some text
if (distance < 0 ) {
clearInterval(x);
document.getElementById("demo").innerHTML = "< button title = 'Dny' > 00< / button > :< button title = 'Hodiny' > 00< / button > :< button title = 'Minuty' > 00< / button > :< button title = 'Vteřiny' > 00< / button > ";
}
2024-02-25 16:03:22 +01:00
}, 1000);< / script > < / div > < p > < small > Vyprší dne: 26. června 2026< / small > < / p > < / section > < div class = "follow" > < div class = "flb-container" > < a href = "https://witter.cz/@janrippl" target = "_blank" class = "tltp tltp--top p-mastodon" > < svg width = "24" height = "24" aria-hidden = "false" > < use xlink:href = "https://jsem.nudista.online/media/plugins/followButtons/svg-map.svg#mastodon" / > < / svg > < / a > < a href = "https://twitter.com/NudistaOnline" target = "_blank" class = "tltp tltp--top p-twitter" > < svg width = "24" height = "24" aria-hidden = "false" > < use xlink:href = "https://jsem.nudista.online/media/plugins/followButtons/svg-map.svg#twitter" / > < / svg > < / a > < / div > < / div > < div class = "box copyright" > Powered by Publii - Open-Source CMS for Static Websites< / div > < / div > < / div > < / div > < / div > < script defer = "defer" src = "https://jsem.nudista.online/assets/js/scripts.min.js?v=12d8fcd46db8fdc7af6797ec26849875" > < / script > < script > v a r i m a g e s = d o c u m e n t . q u e r y S e l e c t o r A l l ( ' i m g [ l o a d i n g ] ' ) ;
2024-02-23 21:44:17 +01:00
for (var i = 0; i < images.length ; i + + ) {
if (images[i].complete) {
images[i].classList.add('is-loaded');
} else {
images[i].addEventListener('load', function () {
this.classList.add('is-loaded');
}, false);
}
}< / script > < / body > < / html >