X-Git-Url: https://code.delx.au/comingnext/blobdiff_plain/4f9f9bbe4c4cca4215d90c637863237f8a72e4dd..0a6280623b4716939f1c1b50fa066a84f8e43bb9:/comingNext/index.html diff --git a/comingNext/index.html b/comingNext/index.html index 32b89eb..e5b472c 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -37,6 +37,7 @@ var config = { backgroundImageLocation: { Type: 'Enum', Default: 'internal', Value: 'internal', ValidValues: ['internal', 'external']}, showCombinedDateTime: { Type: 'Bool', Default: false, Value: false,}, showLocation: { Type: 'Bool', Default: true, Value: true,}, + showIcons: { Type: 'Bool', Default: true, Value: true,}, showTodayAsText: { Type: 'Bool', Default: true, Value: true,}, todayText: { Type: 'String', Default: getLocalizedText('settings.default.todayText'), Value: getLocalizedText('settings.default.todayText'),}, tomorrowText: { Type: 'String', Default: getLocalizedText('settings.default.tomorrowText'), Value: getLocalizedText('settings.default.tomorrowText'),}, @@ -67,7 +68,7 @@ var config = { cssStyle_time: { Type: 'String', Default: '', Value: '',}, cssStyle_now: { Type: 'String', Default: 'color:#ff00ff', Value: 'color:#ff00ff',}, cssStyle_description: { Type: 'String', Default: '', Value: '',}, - cssStyle_icon: { Type: 'String', Default: 'width:15px; height:15px', Value: 'width:15px; height:15px',}, + cssStyle_icon: { Type: 'String', Default: '', Value: '',}, cssStyle_overdue: { Type: 'String', Default: 'color:#ffff00', Value: 'color:#ffff00',}, cssStyle_calendar1: { Type: 'String', Default: 'background-color:#0757cf', Value: 'background-color:#0757cf',}, cssStyle_calendar2: { Type: 'String', Default: 'background-color:#579f37', Value: 'background-color:#579f37',}, @@ -897,7 +898,10 @@ function updateData() if (config['showCalendarIndicator'].Value && calendarList.length - config['excludedCalendars'].Value.length > 1) { entriesHtml += ' '; } - entriesHtml += ''; + if (config['showIcons'].Value) + entriesHtml += ''; + else + entriesHtml += ''; if(date == null) { // some languages have very strange locale date formats, can't parse all those. Also some todos don't have dates at all. entriesHtml += '' + entryDate + ' ';