+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/program/Index.html b/program/Index.html new file mode 100644 index 0000000..02c25a8 --- /dev/null +++ b/program/Index.html @@ -0,0 +1,157 @@ + + +
+ + +${n.subtitle}
${n.desc}
Autor: ${b.author}
+Genre: ${b.genre}
Verfügbar: ${avail}/${b.quantity}
+Fällig: ${formatDate(rec.dueDate)}
` : (avail > 0 ? `` : '')}Autor: ${b.author}
+Ausgeliehen: ${formatDate(b.record.borrowDate)}
+Fällig: ${formatDate(b.record.dueDate)}
+ ${overdue ? 'ÜBERFÄLLIG
' : ''} + +| Datum | Titel | Aktion | Fällig |
|---|---|---|---|
| ${formatDate(e.timestamp)} | ${e.bookTitle} | ${e.action === 'BORROWED' ? 'Ausgeliehen' : 'Zurückgegeben'} | ${e.dueDate ? formatDate(e.dueDate) : '-'} |
${x.user} (${formatDate(x.dueDate)}) ${new Date(x.dueDate) < new Date() ? 'ÜBERFÄLLIG' : ''}
`).join(''); + return `Autor: ${b.author}
+Genre: ${b.genre}
Gesamt: ${b.quantity} | Verfügbar: ${getAvailable(b)} | Ausgeliehen: ${borrowed}
+ ${details ? `