Changeset 2188531
- Timestamp:
- 11/08/2019 04:04:49 PM (6 years ago)
- Location:
- promissa/trunk
- Files:
-
- 4 edited
-
promissa.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
shortcodes/calendar.php (modified) (4 diffs)
-
shortcodes/css/popper.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
promissa/trunk/promissa.php
r2188497 r2188531 4 4 Plugin URI: https://www.promissa.nl/plugins/wordpress 5 5 Description: This plugin will give you shortcodes and widgets with the latest masses and events of Pro Missa. 6 Version: 1.2. 06 Version: 1.2.1 7 7 Author: Kerk en IT 8 8 Author URI: https://www.kerkenit.nl -
promissa/trunk/readme.txt
r2188497 r2188531 9 9 Requires at least: 5.2.1 10 10 Tested up to: 5.2.4 11 Stable tag: 1.2. 011 Stable tag: 1.2.1 12 12 Requires PHP: 5.2.4 13 13 … … 80 80 == Changelog == 81 81 82 = 1.2.1 = 83 84 * Fixed styling calendar 85 * Small fixes 86 82 87 = 1.1.0 = 83 88 -
promissa/trunk/shortcodes/calendar.php
r2188093 r2188531 43 43 wp_enqueue_script( 'fullcalender-daygrid', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/daygrid/main.min.js', array ( 'fullcalender-core' ), FULLCALENDER, true); 44 44 wp_enqueue_script( 'fullcalender-timegrid', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/timegrid/main.min.js', array ( 'fullcalender-core' ), FULLCALENDER, true); 45 wp_enqueue_script( 'fullcalender-list', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/list/main.min.js', array ( 'fullcalender-core' ), FULLCALENDER, true);45 //wp_enqueue_script( 'fullcalender-list', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/list/main.min.js', array ( 'fullcalender-core' ), FULLCALENDER, true); 46 46 wp_enqueue_script( 'popper', 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/umd/popper.min.js', array ( 'jquery' ), '1.15.0', true); 47 47 wp_enqueue_script( 'tooltip', 'https://cdnjs.cloudflare.com/ajax/libs/tooltip.js/1.3.2/umd/tooltip.min.js', array ( 'popper' ), '1.3.2', true); … … 52 52 wp_enqueue_style( 'fullcalender', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/daygrid/main.min.css', false,FULLCALENDER,'all'); 53 53 wp_enqueue_style( 'fullcalender', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/timegrid/main.min.css', false,FULLCALENDER,'all'); 54 wp_enqueue_style( 'fullcalender', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/list/main.min.css', false,FULLCALENDER,'all');54 //wp_enqueue_style( 'fullcalender', 'https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/' . FULLCALENDER . '/list/main.min.css', false,FULLCALENDER,'all'); 55 55 56 56 … … 84 84 'borderColor' => HexBorderColor($mass['color']), 85 85 'textColor' => HexTextColor($mass['color']), 86 'editable' => false, 87 'url' => '#' 86 'editable' => false 88 87 ); 89 88 } … … 101 100 function footer_script(){ 102 101 global $ProMissaEvents; ?> 103 <script type="text/javascript">(function($){document.addEventListener('DOMContentLoaded',function(){var calendarEl=document.getElementById('calendar');var calendar=new FullCalendar.Calendar(calendarEl,{plugins:['dayGrid','timeGrid' ,'list'],header:{left:'prev,next today',center:'title',right:'dayGridMonth,timeGridWeek,timeGridDay,listMonth'},navLinks:true,businessHours:true,editable:false,selectable:false,locale:'<?=substr(get_bloginfo("language"), 0,2)?>',events:<?= json_encode($ProMissaEvents); ?>,eventRender:function(info){var tooltip=new Tooltip(info.el,{title:info.event.extendedProps.tooltip,placement:'top',trigger:'hover',container:'body',html:true})}});calendar.render()})}(jQuery));</script>102 <script type="text/javascript">(function($){document.addEventListener('DOMContentLoaded',function(){var calendarEl=document.getElementById('calendar');var calendar=new FullCalendar.Calendar(calendarEl,{plugins:['dayGrid','timeGrid'],header:{left:'prev,next today',center:'title',right:'dayGridMonth,timeGridWeek,timeGridDay'},navLinks:true,editable:false,selectable:false,locale:'<?=substr(get_bloginfo("language"), 0,2)?>',events:<?= json_encode($ProMissaEvents); ?>,eventRender:function(info){var tooltip=new Tooltip(info.el,{title:info.event.extendedProps.tooltip,placement:'top',trigger:'hover',container:'body',html:true})}});calendar.render()})}(jQuery));</script> 104 103 <?php } 105 104 -
promissa/trunk/shortcodes/css/popper.css
r2188087 r2188531 1 .popper,.tooltip{position:absolute;z-index:9999;background:rgba(0,0,0,.75);color:#FFFFFF;min-width:150px;border-radius:3px;box-shadow:0 0 2px rgba(0,0,0,0.5);padding:10px;text-align:left}.style5 .tooltip{background:#333;color:#FFFFFF;max-width:200px;width:auto;font-size:0.8rem;padding:0.5em 1em}.popper .popper__arrow,.tooltip .tooltip-arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px}.popper .popper__arrow,.tooltip .tooltip-arrow{border-color:#333}.style5 .tooltip .tooltip-arrow{border-color:#222}.popper[x-placement^="top"],.tooltip[x-placement^="top"]{margin-bottom:5px}.popper[x-placement^="top"] .popper__arrow,.tooltip[x-placement^="top"] .tooltip-arrow{border-width:5px 5px 0 5px;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.popper[x-placement^="bottom"],.tooltip[x-placement^="bottom"]{margin-top:5px}.tooltip[x-placement^="bottom"] .tooltip-arrow,.popper[x-placement^="bottom"] .popper__arrow{border-width:0 5px 5px 5px;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^="right"],.popper[x-placement^="right"]{margin-left:5px}.popper[x-placement^="right"] .popper__arrow,.tooltip[x-placement^="right"] .tooltip-arrow{border-width:5px 5px 5px 0;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.popper[x-placement^="left"],.tooltip[x-placement^="left"]{margin-right:5px}.popper[x-placement^="left"] .popper__arrow,.tooltip[x-placement^="left"] .tooltip-arrow{border-width:5px 0 5px 5px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip-inner table tr th{font-size:125%;text-align:center}.tooltip-inner table,.tooltip-inner table tr,.tooltip-inner table tr > td,.tooltip-inner table tr > th{border:none !important} 2 3 .fc-timeGridWeek-view .fc-content-skeleton, 4 .fc-timeGridDay-view .fc-content-skeleton { 5 position: absolute; 6 top: 0; 7 } 8 9 .fc-list-view .fc-list-heading-alt { 10 margin-left: 3px; 11 } 1 .popper,.tooltip{position:absolute;z-index:9999;background:rgba(0,0,0,.75);color:#FFFFFF;min-width:150px;border-radius:3px;box-shadow:0 0 2px rgba(0,0,0,0.5);padding:10px;text-align:left}.style5 .tooltip{background:#333;color:#FFFFFF;max-width:200px;width:auto;font-size:0.8rem;padding:0.5em 1em}.popper .popper__arrow,.tooltip .tooltip-arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px}.popper .popper__arrow,.tooltip .tooltip-arrow{border-color:#333}.style5 .tooltip .tooltip-arrow{border-color:#222}.popper[x-placement^="top"],.tooltip[x-placement^="top"]{margin-bottom:5px}.popper[x-placement^="top"] .popper__arrow,.tooltip[x-placement^="top"] .tooltip-arrow{border-width:5px 5px 0 5px;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.popper[x-placement^="bottom"],.tooltip[x-placement^="bottom"]{margin-top:5px}.tooltip[x-placement^="bottom"] .tooltip-arrow,.popper[x-placement^="bottom"] .popper__arrow{border-width:0 5px 5px 5px;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^="right"],.popper[x-placement^="right"]{margin-left:5px}.popper[x-placement^="right"] .popper__arrow,.tooltip[x-placement^="right"] .tooltip-arrow{border-width:5px 5px 5px 0;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.popper[x-placement^="left"],.tooltip[x-placement^="left"]{margin-right:5px}.popper[x-placement^="left"] .popper__arrow,.tooltip[x-placement^="left"] .tooltip-arrow{border-width:5px 0 5px 5px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip-inner table tr th{font-size:125%;text-align:center}.tooltip-inner table,.tooltip-inner table tr,.tooltip-inner table tr > td,.tooltip-inner table tr > th{border:none !important}#calendar .fc-timeGridDay-view .fc-content-skeleton,#calendar .fc-timeGridWeek-view .fc-content-skeleton{position:absolute;top:0}#calendar .fc-list-view .fc-list-heading-alt{margin-left:3px}#calendar table,#calendar table tbody,#calendar table tbody tr,#calendar table tbody tr td,#calendar table thead,#calendar table thead tr,#calendar table thead tr td{background:transparent !important}#calendar table tbody tr td{border:1px solid #ddd !important}#calendar table{margin-bottom:0 !important}
Note: See TracChangeset
for help on using the changeset viewer.