From 8c38466b75a7348e23dd0b43ce48ae7b2211abd3 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 30 Jul 2024 14:40:33 +0000 Subject: fa2bi continued --- view/tpl/cdav_calendar.tpl | 30 +++++++++++++++--------------- view/tpl/cdav_widget_calendar.tpl | 28 ++++++++++++++-------------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl index 5d8c6115f..fb2c85464 100644 --- a/view/tpl/cdav_calendar.tpl +++ b/view/tpl/cdav_calendar.tpl @@ -106,7 +106,7 @@ $(document).ready(function() { if(! $('#l2s').length) $('#id_title_wrapper').prepend(''); - $('#l2s').html(' ' + event.extendedProps.plink[1] + ''); + $('#l2s').html(' ' + event.extendedProps.plink[1] + ''); } else { $('#l2s').remove(); @@ -349,7 +349,7 @@ $(document).ready(function() { $('.section-content-tools-wrapper, #event_form_wrapper').show(); $('#id_title_wrapper').prepend(''); - $('#l2s').html(' ' + resource.plink[1] + ''); + $('#l2s').html(' ' + resource.plink[1] + ''); event_id = resource.id; event_uri = resource.event_hash; @@ -411,7 +411,7 @@ function add_remove_json_source(source, color, editable, status) { var selector = '#calendar-btn-' + id; if(status === undefined) - status = 'fa-calendar-check-o'; + status = 'bi-calendar-check'; if(status === 'drop') { eventSource.remove(); @@ -419,16 +419,16 @@ function add_remove_json_source(source, color, editable, status) { return; } - if($(selector).hasClass('fa-calendar-o')) { + if($(selector).hasClass('bi-calendar')) { calendar.addEventSource({ id: id, url: source, color: color, editable: editable }); - $(selector).removeClass('fa-calendar-o'); + $(selector).removeClass('bi-calendar'); $(selector).addClass(status); $.get('/cdav/calendar/switch/' + id + '/1'); } else { eventSource.remove(); $(selector).removeClass(status); - $(selector).addClass('fa-calendar-o'); + $(selector).addClass('bi-calendar'); $.get('/cdav/calendar/switch/' + id + '/0'); } } @@ -559,11 +559,11 @@ function reset_form() { function on_more() { if($('#more_block').hasClass('open')) { - $('#event_more').html(' {{$more}}'); + $('#event_more').html(' {{$more}}'); $('#more_block').removeClass('open').hide(); } else { - $('#event_more').html(' {{$less}}'); + $('#event_more').html(' {{$less}}'); $('#more_block').addClass('open').show(); } } @@ -589,12 +589,12 @@ function exportDate() { {{$list_day}}
- - - + + +
- - + +

@@ -643,8 +643,8 @@ function exportDate() {
- - + +
diff --git a/view/tpl/cdav_widget_calendar.tpl b/view/tpl/cdav_widget_calendar.tpl index b076a3320..2f24fc17f 100644 --- a/view/tpl/cdav_widget_calendar.tpl +++ b/view/tpl/cdav_widget_calendar.tpl @@ -3,9 +3,9 @@ {{foreach $channel_calendars as $channel_calendar}}
- {{$channel_calendar.displayname}} + {{$channel_calendar.displayname}}
- +
@@ -18,20 +18,20 @@ {{foreach $my_calendars as $calendar}}
- {{$calendar.displayname}} + {{$calendar.displayname}}
- - - - + + + +