- Implemented WorkUnitEditorModal.razor for creating and editing work units. - Added necessary services and parameters for data handling. - Included computed values for calculated hours, gross income, and net income. - Enhanced UI with modal structure and styling. fix: update _Imports.razor to include Shared components - Added reference to WorkUnitEditorModal in _Imports.razor for accessibility. feat: extend CalendarEventDocument with StartDate and EndDate properties - Updated CalendarEventDocument.cs to include StartDate and EndDate for better event management. feat: create CalendarEventFormatter for event description formatting - Introduced CalendarEventFormatter.cs to handle display logic for calendar events. fix: enhance CouchbaseLiteWorkDayService for calendar event management - Updated methods to handle new StartDate and EndDate properties in calendar events. - Improved event saving and deletion logic. test: add Playwright tests for date locale functionality - Created date-locale.spec.ts to verify date picker behavior and formatting. style: enhance app.css with modal and date input styles - Added styles for calendar modal, date input, and related components for improved UI.
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
<!DOCTYPE html>
|
|
<html lang="it-IT">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<base href="/" />
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var storageKey = "worktracker.themeMode";
|
|
var mode = localStorage.getItem(storageKey) || "system";
|
|
if (mode !== "light" && mode !== "dark" && mode !== "system") {
|
|
mode = "system";
|
|
}
|
|
|
|
var prefersDark = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
var effectiveMode = mode === "system"
|
|
? (prefersDark ? "dark" : "light")
|
|
: mode;
|
|
|
|
document.documentElement.setAttribute("data-bs-theme", effectiveMode);
|
|
document.documentElement.setAttribute("data-theme-mode", mode);
|
|
document.documentElement.style.colorScheme = effectiveMode;
|
|
}
|
|
catch {
|
|
}
|
|
})();
|
|
</script>
|
|
<link rel="stylesheet" href="@Assets["lib/bootstrap/dist/css/bootstrap.min.css"]" />
|
|
<link rel="stylesheet" href="@Assets["app.css"]" />
|
|
<link rel="stylesheet" href="@Assets["WorkTracker.styles.css"]" />
|
|
<ImportMap />
|
|
<link rel="icon" type="image/png" href="favicon.png" />
|
|
<HeadOutlet />
|
|
</head>
|
|
|
|
<body>
|
|
<Routes @rendermode="InteractiveServer" />
|
|
<script src="@Assets["theme.js"]"></script>
|
|
<script src="_framework/blazor.web.js"></script>
|
|
</body>
|
|
|
|
</html>
|