ya-hochu-sozdat-odnostranich/gd.html
2026-11-05 10:14:04 +00:00

142 lines
7.5 KiB
HTML

<!DOCTYPE html>
<!-- Дизайн: Стандартный дизайн. Страница для Генерального директора (только чтение). -->
<html lang="ru" data-theme="light">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>План работы Генерального директора</title>
<link rel="stylesheet" href="design-system/kt-ai-fonts.css">
<link rel="stylesheet" href="design-system/kt-ai-tokens.css">
<link rel="stylesheet" href="design-system/kt-ai-components.css">
<link rel="stylesheet" href="design-system/kt-ai-page.css">
<link rel="stylesheet" href="design-system/vibe-theme.css">
<script src="design-system/icons/kt-ai-icons.js"></script>
<style>
a.kt-ai-btn { text-decoration: none; }
.gd-hero {
padding: 44px 0 28px;
text-align: center;
}
.gd-hero h1 { font-size: 28px; font-weight: 400; margin: 0 0 10px; letter-spacing: -0.02em; color: var(--kt-ai-fg); }
.gd-hero p { font-size: 15px; color: var(--kt-ai-fg-muted); margin: 0 auto; max-width: 540px; line-height: 1.55; }
.gd-badge {
display: inline-flex; align-items: center; gap: 6px;
font-size: 12px; padding: 4px 12px;
border-radius: 999px;
background: var(--kt-ai-primary-subtle);
color: var(--kt-ai-primary);
margin-bottom: 14px;
}
.gd-board { max-width: 760px; margin: 0 auto 40px; }
.gd-card { background: var(--kt-ai-card-bg); border: 1px solid var(--kt-ai-card-border); border-radius: 16px; padding: 24px; box-shadow: var(--kt-ai-card-shadow, none); }
.gd-card-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--kt-ai-divider); }
.gd-card-icon {
width: 34px; height: 34px; flex-shrink: 0;
display: grid; place-items: center;
border-radius: 10px;
background: var(--kt-ai-primary-subtle);
color: var(--kt-ai-primary);
}
.gd-card-icon svg { width: 20px; height: 20px; }
.gd-card-head h2 { font-size: 18px; font-weight: 500; margin: 0 0 2px; color: var(--kt-ai-fg); }
.gd-card-head p { font-size: 13px; color: var(--kt-ai-fg-muted); margin: 0; }
.gd-list { display: flex; flex-direction: column; gap: 8px; }
.gd-row {
display: flex; align-items: center; gap: 12px;
padding: 12px 14px;
border: 1px solid var(--kt-ai-border);
border-radius: 10px;
background: var(--kt-ai-card-bg);
}
.gd-row.done { background: var(--kt-ai-bg-soft); }
.gd-row.done .gd-text { text-decoration: line-through; color: var(--kt-ai-fg-muted); }
.gd-check { width: 22px; height: 22px; flex-shrink: 0; color: var(--kt-ai-fg-faint); }
.gd-row.done .gd-check { color: var(--kt-ai-primary); }
.gd-check svg { width: 22px; height: 22px; }
.gd-text { flex: 1; font-size: 15px; color: var(--kt-ai-fg); }
.gd-due { font-size: 12px; color: var(--kt-ai-fg-muted); white-space: nowrap; }
.gd-status {
display: inline-flex; align-items: center; gap: 5px;
font-size: 11px; padding: 3px 10px;
border-radius: 999px; white-space: nowrap;
}
.gd-status[data-status="todo"] { background: var(--kt-ai-chip-gray-bg); color: var(--kt-ai-chip-gray-fg); }
.gd-status[data-status="doing"] { background: var(--kt-ai-chip-blue-bg); color: var(--kt-ai-chip-blue-fg); }
.gd-status[data-status="done"] { background: var(--kt-ai-chip-green-bg); color: var(--kt-ai-chip-green-fg); }
.gd-empty { padding: 24px 0; text-align: center; font-size: 14px; color: var(--kt-ai-fg-muted); }
.gd-foot { text-align: center; padding: 18px 0 40px; font-size: 12px; color: var(--kt-ai-fg-faint); }
.cal { margin-bottom: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cal-title { font-size: 13px; font-weight: 500; color: var(--kt-ai-fg-muted); }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 22px; height: 22px; border-radius: 5px; border: 1px solid var(--kt-ai-border); background: var(--kt-ai-card-bg); cursor: pointer; color: var(--kt-ai-fg-muted); display: grid; place-items: center; }
.cal-nav button:hover { background: var(--kt-ai-bg-hover); color: var(--kt-ai-fg); }
.cal-nav button svg { width: 12px; height: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.cal-dow { font-size: 10px; color: var(--kt-ai-fg-faint); text-align: center; font-weight: 500; }
.cal-day { height: 28px; border-radius: 5px; border: none; background: transparent; cursor: pointer; font-size: 12px; color: var(--kt-ai-fg-muted); display: grid; place-items: center; position: relative; }
.cal-day:hover { background: var(--kt-ai-bg-hover); color: var(--kt-ai-fg); }
.cal-day.today { color: var(--kt-ai-primary); font-weight: 600; }
.cal-day.selected { background: var(--kt-ai-primary); color: var(--kt-ai-fg-on-fill); font-weight: 600; }
.cal-day.has-tasks::after { content: ""; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 3px; height: 3px; border-radius: 50%; background: var(--kt-ai-primary); }
.cal-day.selected.has-tasks::after { background: var(--kt-ai-fg-on-fill); }
.gd-dayhead { font-size: 14px; color: var(--kt-ai-fg-muted); margin-bottom: 12px; text-transform: capitalize; }
.gd-time { font-size: 11px; font-weight: 500; color: var(--kt-ai-primary); white-space: nowrap; min-width: 28px; font-variant-numeric: tabular-nums; text-align: left; letter-spacing: -0.02em; }
.gd-foot a { color: var(--kt-ai-primary); text-decoration: none; }
</style>
</head>
<body>
<header class="kt-ai-pagehead">
<div class="kt-ai-wrap kt-ai-pagehead-in">
<strong>План Генерального директора</strong>
<span class="kt-ai-spacer"></span>
<a class="kt-ai-btn" data-size="sm" data-variant="ghost" href="index.html">← Вернуться на планшет (только владелец)</a>
</div>
</header>
<section class="gd-hero">
<div class="kt-ai-wrap">
<span class="gd-badge"><svg class="kt-icon" style="width:14px;height:14px;"><use href="#lock"/></svg>только чтение</span>
<h1>План работы<br>Генерального директора</h1>
<p>Здесь отражены актуальные задачи по этой неделе. Обновления появляются автоматически.</p>
</div>
</section>
<div class="gd-board">
<div class="kt-ai-wrap" style="max-width:760px;">
<div class="gd-card">
<div class="gd-card-head">
<span class="gd-card-icon"><svg class="kt-icon"><use href="#clipboard"/></svg></span>
<div>
<h2>План работы по дням</h2>
<p>Выбери день в календаре, чтобы увидеть задачи на этот день</p>
</div>
</div>
<div class="cal">
<div class="cal-head">
<span class="cal-title" id="calTitle"></span>
<div class="cal-nav">
<button type="button" id="calPrev" title="Предыдущий месяц"><svg class="kt-icon" style="width:14px;height:14px;"><use href="#chevronLeft"/></svg></button>
<button type="button" id="calNext" title="Следующий месяц"><svg class="kt-icon" style="width:14px;height:14px;"><use href="#chevronRight"/></svg></button>
</div>
</div>
<div class="cal-grid" id="calGrid"></div>
</div>
<div class="gd-dayhead" id="gdDayHead"></div>
<div class="gd-list" id="gd-list"></div>
</div>
</div>
</div>
<div class="gd-foot">
<p>Создано во владельческом рабочем планшете. Источник данных: <a href="index.html">рабочий планшет</a>.</p>
</div>
<script src="gd.js"></script>
</body>
</html>