78 lines
2.6 KiB
PHP
78 lines
2.6 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
@ini_set('display_errors', '1');
|
|
@error_reporting(E_ALL);
|
|
@date_default_timezone_set('UTC');
|
|
|
|
$leftColumn = [
|
|
'Project Controls',
|
|
'ProjectMap Timelines',
|
|
'Timeline for Monday.com',
|
|
'Task Management',
|
|
'Plan vs. Actual',
|
|
'Risk Assessment',
|
|
];
|
|
|
|
$rightColumn = [
|
|
'Agentic AI',
|
|
'Workstream Structure',
|
|
'Timeline for Jira',
|
|
'Portfolio Execution',
|
|
'Resource Management',
|
|
'Dashboards',
|
|
];
|
|
|
|
?>
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Project Management UI</title>
|
|
<?php
|
|
// Read project preview data from environment
|
|
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'A unified interface for advanced project, portfolio, schedule, and resource management.';
|
|
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
|
?>
|
|
<?php if ($projectDescription): ?>
|
|
<!-- Meta description -->
|
|
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
|
<!-- Open Graph meta tags -->
|
|
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<!-- Twitter meta tags -->
|
|
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<?php endif; ?>
|
|
<?php if ($projectImageUrl): ?>
|
|
<!-- Open Graph image -->
|
|
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<!-- Twitter image -->
|
|
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<?php endif; ?>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<div class="module-list-container">
|
|
<div class="module-column">
|
|
<ul class="module-list">
|
|
<?php foreach ($leftColumn as $item): ?>
|
|
<li class="module-item"><a href="#"><?= htmlspecialchars($item) ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<div class="module-column">
|
|
<ul class="module-list">
|
|
<?php foreach ($rightColumn as $item): ?>
|
|
<li class="module-item"><a href="#"><?= htmlspecialchars($item) ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|