Self management
All checks were successful
Deploy / deploy-staging (push) Successful in 24s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-17 22:56:22 +02:00
parent a8853f9fd1
commit 6930a14d6b
15 changed files with 1475 additions and 76 deletions

View File

@@ -0,0 +1,39 @@
<?php
declare(strict_types=1);
require_once dirname(__DIR__, 3) . '/src/App/bootstrap.php';
session_start();
$assetVersion = static function (string $publicPath): string {
$filesystemPath = dirname(__DIR__, 2) . $publicPath;
if (!is_file($filesystemPath)) {
return $publicPath;
}
$mtime = filemtime($filesystemPath);
return $mtime === false ? $publicPath : $publicPath . '?v=' . $mtime;
};
?><!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>User Self Management</title>
<link rel="stylesheet" href="<?= htmlspecialchars($assetVersion('/assets/apps/user-self-management/app.css'), ENT_QUOTES) ?>">
</head>
<body style="margin:0;background:#e5e7eb;">
<div id="user-self-management-app" style="min-height:100vh;"></div>
<script src="<?= htmlspecialchars($assetVersion('/assets/apps/user-self-management/app.js'), ENT_QUOTES) ?>"></script>
<script>
if (typeof window.initUserSelfManagementApp === 'function') {
window.initUserSelfManagementApp(document.getElementById('user-self-management-app'), {
apiBase: '/api/user-self-management/index.php',
});
}
</script>
</body>
</html>