2016-11-06 23:38:59 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>
|
|
|
|
Praxisphasenmanager (PPM)
|
|
|
|
</title>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<style type="text/css">
|
2016-11-07 17:59:41 +01:00
|
|
|
@import url("/style.css");
|
2016-11-06 23:38:59 +01:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2016-11-07 17:59:41 +01:00
|
|
|
|
2016-11-06 23:38:59 +01:00
|
|
|
<h1 id="idSiteHeader" class="clSiteHeader">
|
2016-11-16 16:52:00 +01:00
|
|
|
<a href="/index" title="Zurück zur Startseite">Praxisphasenmanager (PPM)</a>
|
2016-11-06 23:38:59 +01:00
|
|
|
</h1>
|
|
|
|
<div id="idContent" class="clContent">
|
|
|
|
<h2 id="idContentHeader" class="clContentHeader">
|
2016-11-17 00:28:30 +01:00
|
|
|
Übersicht: ${data['category']}
|
2016-11-06 23:38:59 +01:00
|
|
|
</h2>
|
|
|
|
<div id="idContentArea" class="clContentArea">
|
|
|
|
|
|
|
|
<table id="idList">
|
|
|
|
<tr>
|
|
|
|
% if data['content']!= None:
|
|
|
|
% for heading in data['headings']:
|
2016-11-17 12:36:16 +01:00
|
|
|
% if heading!='id' and heading!='Status' and heading!='ZeitraumVon' and heading!='ZeitraumBis' and heading!='Student' and heading!='Lehrender':
|
2016-11-06 23:38:59 +01:00
|
|
|
<th>${heading}</th>
|
|
|
|
% endif
|
|
|
|
% endfor
|
|
|
|
% else:
|
|
|
|
<td>Bisher kein Inhalt</td>
|
|
|
|
% endif
|
|
|
|
</tr>
|
|
|
|
% if data['content']!= None:
|
|
|
|
|
|
|
|
% for entries in data['content']:
|
2016-11-07 17:59:41 +01:00
|
|
|
<tr id=${entries}>
|
2016-11-17 12:36:16 +01:00
|
|
|
% if data['category'] == 'Angebote':
|
|
|
|
% if data['content'][entries]['Status'] == 'Angebot':
|
|
|
|
% for entry in data['content'][entries]:
|
|
|
|
% if entry!='id' and entry!='Status' and entry!='ZeitraumVon' and entry!='ZeitraumBis' and entry!='Student' and entry!='Lehrender':
|
|
|
|
<td id=${entries}>${data['content'][entries][entry]}</td>
|
|
|
|
% endif
|
|
|
|
% endfor
|
|
|
|
% endif
|
|
|
|
% else:
|
2016-11-17 00:28:30 +01:00
|
|
|
% for entry in data['content'][entries]:
|
2016-11-17 12:36:16 +01:00
|
|
|
% if entry!='id':
|
2016-11-17 00:28:30 +01:00
|
|
|
<td id=${entries}>${data['content'][entries][entry]}</td>
|
|
|
|
% endif
|
|
|
|
% endfor
|
|
|
|
% endif
|
2016-11-07 17:59:41 +01:00
|
|
|
</tr id=${entries}>
|
2016-11-06 23:38:59 +01:00
|
|
|
% endfor
|
|
|
|
|
|
|
|
% endif
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-11-07 17:59:41 +01:00
|
|
|
|
2016-11-06 23:38:59 +01:00
|
|
|
<div id="idButtonArea" class="clButtonArea">
|
|
|
|
<a href="/index" class="clButton">Startseite</a>
|
2016-11-07 18:07:44 +01:00
|
|
|
<a href="/detail/?cat=${data['category']}" class="clButton">Neu</a>
|
2016-11-16 16:52:00 +01:00
|
|
|
<a class="clButton" onclick="select('${data['category']}', 0)">Bearbeiten</a>
|
|
|
|
<a class="clButton" onclick="select('${data['category']}', 1)">Loeschen</a>
|
2016-11-06 23:38:59 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
2016-11-07 17:59:41 +01:00
|
|
|
<footer>
|
|
|
|
<script src="/functions.js" type="text/javascript"></script>
|
|
|
|
</footer>
|
2016-11-06 23:38:59 +01:00
|
|
|
</html>
|