caldav-client

standalone CalDAV web client
git clone https://git.ce9e.org/caldav-client.git

commit
82f071918fba64fdbf9b09338f18ef4e99d2af58
parent
29b6a9ac851605093792f15eba6534c664b0bf94
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-02-06 08:53
Revert "display links to calendars"

This reverts commit a6ee5e682da7eca48ef0c326e6aecb8d39e909a6.

Diffstat

M main.js 6 ------
M style.css 5 -----

2 files changed, 0 insertions, 11 deletions


diff --git a/main.js b/main.js

@@ -138,19 +138,13 @@ dav.getCalendars(config.rootUrl).then(calendars => {
  138   138         var el = document.createElement('label');
  139   139         var checkbox = document.createElement('input');
  140   140         var circle = document.createElement('span');
  141    -1         var link = document.createElement('a');
  142   141         checkbox.type = 'checkbox';
  143   142         checkbox.checked = true;
  144   143         circle.className = 'fc-daygrid-event-dot';
  145   144         circle.style.borderColor = cal.color;
  146    -1         link.href = cal.href;
  147    -1         link.className = 'no-link';
  148    -1         link.textContent = '🔗';
  149   145         el.append(checkbox);
  150   146         el.append(circle);
  151   147         el.append(cal.name);
  152    -1         el.append(' ');
  153    -1         el.append(link);
  154   148         document.querySelector('.calendars').append(el);
  155   149 
  156   150         var option = document.createElement('option');

diff --git a/style.css b/style.css

@@ -49,8 +49,3 @@ body {
   49    49     0% { transform: rotate(0deg) }
   50    50     100% { transform: rotate(360deg) }
   51    51 }
   52    -1 
   53    -1 .no-link {
   54    -1     color: inherit;
   55    -1     text-decoration: none;
   56    -1 }