A project management app derived from Mind-Vision-Code
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

53 linhas
2.3KB

  1. <section class="stack">
  2. <div class="section-title">
  3. <span class="eyebrow">Activity feed</span>
  4. <h1>What changed across the portfolio</h1>
  5. <p>A chronological log of project creation, status changes, and task movement.</p>
  6. </div>
  7. <div class="layout-two">
  8. <div class="stack">
  9. <?php foreach ($activity as $item): ?>
  10. <article class="feed-item" data-filter-item>
  11. <header>
  12. <div>
  13. <strong><?= e($item['headline']) ?></strong>
  14. <p class="fineprint"><?= e($item['project_name'] ? $item['project_name'] . ' · ' . $item['project_code'] : 'Portfolio event') ?></p>
  15. </div>
  16. <span class="kicker"><?= e(format_date($item['created_at'], 'M j · H:i')) ?></span>
  17. </header>
  18. <p><?= e($item['detail']) ?></p>
  19. </article>
  20. <?php endforeach; ?>
  21. </div>
  22. <aside class="stack">
  23. <section class="panel">
  24. <span class="eyebrow">Snapshot</span>
  25. <h2><?= e((string) count($projects)) ?> projects in rotation</h2>
  26. <p>Use this feed to see what is changing right now, then jump into the project board to move work forward.</p>
  27. </section>
  28. <section class="panel">
  29. <div class="block-title">
  30. <div>
  31. <span class="eyebrow">Short list</span>
  32. <h2>Latest projects</h2>
  33. </div>
  34. </div>
  35. <div class="list">
  36. <?php foreach ($projects as $project): ?>
  37. <div class="feed-item">
  38. <header>
  39. <strong><a href="/projects/<?= e((string) $project['id']) ?>"><?= e($project['name']) ?></a></strong>
  40. <span class="status-pill <?= e($project['health_class']) ?>"><?= e($project['status_label']) ?></span>
  41. </header>
  42. <p><?= e($project['task_traffic']) ?> · <?= e($project['code']) ?></p>
  43. </div>
  44. <?php endforeach; ?>
  45. </div>
  46. </section>
  47. </aside>
  48. </div>
  49. </section>

Powered by TurnKey Linux.