2016-09-17 21:38:37 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<% include head %>
|
2016-09-17 22:01:39 +00:00
|
|
|
<title>Indholdsfortegnelse // Klandr</title>
|
2016-09-17 21:38:37 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>// Indholdsfortegnelse for referater //</h1>
|
|
|
|
<ul>
|
|
|
|
<!-- Print indholdsfortegnelse -->
|
|
|
|
<%
|
|
|
|
for (var i in data) {
|
|
|
|
var holdets_time = data[i]; %>
|
|
|
|
<li><a href="/#<%=holdets_time['date']%>"><%=holdets_time['date']%> - <%=holdets_time['subtitle']%></a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/#<%=holdets_time['date']%>Indledende">Indledende bemærkninger</a></li>
|
|
|
|
<ul>
|
|
|
|
<%
|
|
|
|
var prepost_event = holdets_time["prepost_event"];
|
|
|
|
for (var j in holdets_time["events"]) {
|
|
|
|
if (j <= prepost_event) {
|
|
|
|
var e = holdets_time["events"][j];%>
|
|
|
|
<li><a href="/#<%=(holdets_time['date'] + e['title']).replace(/\s/g,'')%>"><%=e['title']%></a></li>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
} %>
|
|
|
|
</ul>
|
|
|
|
<li><a href="/#<%=holdets_time['date']%>Klandringer">Klandringer</a></li>
|
|
|
|
<ul>
|
|
|
|
<% for (var j in holdets_time["klandringer"]) {
|
|
|
|
var k = holdets_time["klandringer"][j]; %>
|
|
|
|
<li><a href="/#<%=String(k['klandrer'] + k['klandret'] + k['title']).replace(/\s/g,'')%>"><%=k['klandrer']%> v. <%=k['klandret']%> - <i><%=k['title']%></i></a></li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
<li><a href="/#<%=holdets_time['date']%>Afsluttende">Afsluttende bemærkninger</a></li>
|
|
|
|
<ul>
|
|
|
|
<%
|
|
|
|
var prepost_event = holdets_time["prepost_event"];
|
|
|
|
for (var j in holdets_time["events"]) {
|
|
|
|
if (j > prepost_event) {
|
|
|
|
var e = holdets_time["events"][j];%>
|
|
|
|
<li><a href="/#<%=(holdets_time['date'] + e['title']).replace(/\s/g,'')%>"><%=e['title']%></a></li>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
} %>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<% } %>
|
|
|
|
%>
|
|
|
|
</ul>
|
|
|
|
<!-- Slut indholdsfortegnelse -->
|
|
|
|
</body>
|
2016-09-17 22:01:39 +00:00
|
|
|
</html>
|