PAD Showcase
All tags/Timeline

A project plan

Spans from= and to= drawn as bars under a month axis, milestones as cards, coloured by kind with a legend - the rows from the page's PHP.

1 The data timeline/project.php php
<?php

  // A plan of phases - a start and an end - and milestones - a day.

  $plan = [
    [ 'name' => 'Research',      'kind' => 'Phase',     'start' => '2026-01-05', 'end' => '2026-02-13', 'day' => '', 'note' => '' ],
    [ 'name' => 'Design',        'kind' => 'Phase',     'start' => '2026-02-02', 'end' => '2026-03-27', 'day' => '', 'note' => '' ],
    [ 'name' => 'Build',         'kind' => 'Phase',     'start' => '2026-03-16', 'end' => '2026-06-12', 'day' => '', 'note' => '' ],
    [ 'name' => 'Content',       'kind' => 'Phase',     'start' => '2026-04-20', 'end' => '2026-06-19', 'day' => '', 'note' => '' ],
    [ 'name' => 'Testing',       'kind' => 'Phase',     'start' => '2026-05-25', 'end' => '2026-06-26', 'day' => '', 'note' => '' ],
    [ 'name' => 'Kick-off',      'kind' => 'Milestone', 'start' => '', 'end' => '', 'day' => '2026-01-05', 'note' => 'Goals and budget agreed' ],
    [ 'name' => 'Design signed', 'kind' => 'Milestone', 'start' => '', 'end' => '', 'day' => '2026-03-27', 'note' => 'The board approves the look' ],
    [ 'name' => 'Beta',          'kind' => 'Milestone', 'start' => '', 'end' => '', 'day' => '2026-05-15', 'note' => 'Open to staff' ],
    [ 'name' => 'Launch',        'kind' => 'Release',   'start' => '', 'end' => '', 'day' => '2026-07-01', 'note' => 'The new site goes live' ],
  ];

?>
2 The tag timeline/project.pad pad
{timeline data='plan', from='start', to='end', date='day', label='name', text='note', color='kind', title='Website relaunch 2026'}
3 The result rendered on the server
Website relaunch 2026 Jan 5, 2026 – Feb 13, 2026: Research (Phase); Jan 5, 2026: Kick-off - Goals and budget agreed (Milestone); Feb 2, 2026 – Mar 27, 2026: Design (Phase); Mar 16, 2026 – Jun 12, 2026: Build (Phase); Mar 27, 2026: Design signed - The board approves the look (Milestone); Apr 20, 2026 – Jun 19, 2026: Content (Phase); May 15, 2026: Beta - Open to staff (Milestone); May 25, 2026 – Jun 26, 2026: Testing (Phase); Jul 1, 2026: Launch - The new site goes live (Release) Phase Milestone Release Jan 2026 Feb 2026 Mar 2026 Apr 2026 May 2026 Jun 2026 Jul 2026 Jan 5, 2026: Kick-off - Goals and budget agreed (Milestone) Jan 5, 2026 Kick-off Goals and budget agreed Mar 27, 2026: Design signed - The board approves the look (Milestone) Mar 27, 2026 Design signed The board approves the look May 15, 2026: Beta - Open to staff (Milestone) May 15, 2026 Beta Open to staff Jul 1, 2026: Launch - The new site goes live (Release) Jul 1, 2026 Launch The new site goes live Jan 5, 2026 – Feb 13, 2026: Research (Phase) Research Feb 2, 2026 – Mar 27, 2026: Design (Phase) Design Mar 16, 2026 – Jun 12, 2026: Build (Phase) Build Apr 20, 2026 – Jun 19, 2026: Content (Phase) Content May 25, 2026 – Jun 26, 2026: Testing (Phase) Testing