Feat/evaluation #2

Merged
robin merged 3 commits from feat/evaluation into main 2026-08-04 09:36:39 +00:00
Showing only changes of commit f19babaa68 - Show all commits
@@ -116,7 +116,7 @@ export default async function EvaluationPage({ params }: PageProps) {
<tr key={category} style={{ borderBottom: '1px solid #e5e7eb' }}> <tr key={category} style={{ borderBottom: '1px solid #e5e7eb' }}>
<td style={{ padding: '0.5rem' }}>{category}</td> <td style={{ padding: '0.5rem' }}>{category}</td>
<td style={{ padding: '0.5rem', whiteSpace: 'nowrap' }}> <td style={{ padding: '0.5rem', whiteSpace: 'nowrap' }}>
{Math.floor(minutes / 60)} Std. {Math.round(minutes % 60)} Min. ({Math.round(minutes)} Min. gesamt) {Math.floor(minutes / 60)}:{Math.round(minutes % 60)}h (={Math.round(minutes)} min)
</td> </td>
<td style={{ padding: '0.5rem' }}> <td style={{ padding: '0.5rem' }}>
{total > 0 ? Math.round((minutes / total) * 1000) / 10 : 0}% {total > 0 ? Math.round((minutes / total) * 1000) / 10 : 0}%
@@ -131,7 +131,7 @@ export default async function EvaluationPage({ params }: PageProps) {
<tr style={{ fontWeight: 'bold' }}> <tr style={{ fontWeight: 'bold' }}>
<td style={{ padding: '0.5rem' }}>Total</td> <td style={{ padding: '0.5rem' }}>Total</td>
<td style={{ padding: '0.5rem', whiteSpace: 'nowrap' }}> <td style={{ padding: '0.5rem', whiteSpace: 'nowrap' }}>
{Math.floor(total / 60)} Std. {Math.round(total % 60)} Min. ({Math.round(total)} Min. gesamt) {Math.floor(total / 60)}:{Math.round(total % 60)}h (={Math.round(total)} min)
</td> </td>
<td style={{ padding: '0.5rem' }}>100%</td> <td style={{ padding: '0.5rem' }}>100%</td>
<td style={{ padding: '0.5rem' }}> <td style={{ padding: '0.5rem' }}>