ff-admin-server/src/templates/protocol.body.template.html
2025-01-19 13:42:18 +01:00

76 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Protokoll</title>
</head>
<body>
<h1>{{title}}</h1>
<p>Am {{date}} von {{start}} Uhr bis {{end}} Uhr</p>
<p>Ausdruck Nr {{iteration}}</p>
<br />
<p><b>Zusammenfassung:</b></p>
<p>{{{summary}}}</p>
<br />
<br />
<h2>Anwesenheit ({{presence.length}})</h2>
<p>
{{#each presence}}{{this.firstname}} {{this.lastname}}{{#unless @last}}, {{/unless}}{{/each}}{{#unless
presence.length}}---{{/unless}}
</p>
<h2>Abwesenheit ({{absent.length}})</h2>
<p>
entschuldigt: {{#each excused_absent}}{{this.firstname}} {{this.lastname}}{{#unless @last}},
{{/unless}}{{/each}}{{#unless excused_absent.length}}---{{/unless}}
</p>
<p>
unentschuldigt: {{#each unexcused_absent}}{{this.firstname}} {{this.lastname}}{{#unless @last}},
{{/unless}}{{/each}}{{#unless unexcused_absent.length}}---{{/unless}}
</p>
<br />
<h2>Agenda</h2>
{{#each agenda}}
<div>
<h3>{{this.topic}}</h3>
<span>{{{this.context}}}</span>
</div>
{{/each}}
<br />
<h2>Entscheidungen</h2>
{{#each decisions}}
<div>
<h3>{{this.topic}}</h3>
<span>{{{this.context}}}</span>
</div>
{{/each}}
<br />
<h2>Abstimmungen</h2>
{{#each votings}}
<div>
<h3>{{this.topic}}</h3>
<p><b>Ergebnis:</b> dafür: {{this.favour}} | enthalten: {{this.abstain}} | dagegen: {{this.against}}</p>
<span>{{{this.context}}}</span>
</div>
{{/each}}
</body>
<style>
h2,
h3,
p,
span,
ul,
li {
padding: 0;
margin: 0;
}
h1,
h2 {
color: #990b00;
}
h2 {
margin-bottom: 5px;
}
</style>
</html>