forked from ti-nuage/site
Support du calendrier NextCloud (fix #7).
This commit is contained in:
19
layouts/calendar.njk
Normal file
19
layouts/calendar.njk
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "base.njk" %}
|
||||
|
||||
{% block head %}
|
||||
<script type='text/javascript' src="/js/calendar.js"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block article %}
|
||||
<h1 class="mt128">Calendrier</h1>
|
||||
<div id="calendar" />
|
||||
<noscript>
|
||||
Le téléchargement des données du calendrier requiert JavaScript.
|
||||
</noscript>
|
||||
<script type='text/javascript'>
|
||||
window.onload = function(event) {
|
||||
Calendar.fill(document.getElementById('calendar'))
|
||||
}
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user