Info tab: show the changes, age out old downtimes, link GitHub
Three things in the info tab.
The note about the changed scores sat inside the downtime list, where
nobody could read it: insertCalendarEvents() calls replaceChildren() on
that list and fills it from the iCal feed, so any static content there is
only a placeholder until the calendar loads. It is now a section of its
own, above the downtimes, and the thanks to Tim Feldmüller is dropped
from it again - he belongs in the Readme and the changelog, not in a
notice to users.
Downtimes older than a week are no longer listed. The maxAgeDays
parameter of insertCalendarEvents() defaulted to 100, which kept
maintenance windows from months ago on the page.
The dd elements of that list had no indent of their own and fell back to
the browser default of 40px, which is inside the 21ex that the floated dt
occupies, so their text wrapped around the float instead of starting
after it.
The source code links point to the published GitHub repositories now,
and collocatordb is listed alongside dereko2vec. derekovecs itself has no
GitHub repository yet, so its link still goes to gitiles.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Change-Id: I178cad2586db0ef07f6e76671c3c35e050b1bf60
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 1d16c4c..9322028 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -58,7 +58,7 @@
}
$(document).ready(function() {
- insertCalendarEvents(document.getElementById('downtimes'), '/derekovecs/getDowntimeCalendar' );
+ insertCalendarEvents(document.getElementById('downtimes'), '/derekovecs/getDowntimeCalendar', 7);
$('#firstable').hide();
//Set up a callback to hear back when MathJax is done rendering the equations
@@ -994,7 +994,8 @@
% }
<h3>Source Code</h3>
<ul>
- <li><a href="https://korap.ids-mannheim.de/gerrit/plugins/gitiles/ids-kl/dereko2vec">dereko2vec</a></li>
+ <li><a href="https://github.com/kupietz/dereko2vec">dereko2vec</a></li>
+ <li><a href="https://github.com/kupietz/collocatordb">collocatordb</a></li>
<li><a href="https://korap.ids-mannheim.de/gerrit/plugins/gitiles/ids-kl/derekovecs">derekovecs</a></li>
</ul>
<h3><%== loc 'references' %></h3>