Feat/evaluation #2
@@ -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' }}>
|
||||||
|
|||||||
Reference in new issue
Block a user