Skip to content
forms-raw_singleitemedit-icon
navigation
modification_btn
docs
messages
flatprojectmap.handlebars
Landing Page - Main Panel
modificationbutton
docs_htmltables.handlebars

Landing Page - Main Panel

docs_html.handlebars
documentation.handlebars

Landing Page – Main Panel

The main panel of the landing page displays the core content for the selected section. When the task list is selected, this panel provides a way to create new tasks and shows a summary of existing tasks.

Create New Task

A form allows users to create a new task by entering fields such as code, title, phase, work type, discipline and duration. In keeping with documentation guidelines, we present only the markup of the form without embedding interactive elements:

<form action="/lynx/tasks" method="POST">
                      <label for="code">Code:</label>
                      <input type="text" id="code" name="code" required />
                      <label for="title">Title:</label>
                      <input type="text" id="title" name="title" required />
                      <label for="phase">Phase:</label>
                      <select id="phase" name="phase">
                        <option value="Concept">Concept</option>
                        <option value="Design">Design</option>
                        <option value="Build">Build</option>
                      </select>
                      <label for="workType">Work Type:</label>
                      <select id="workType" name="workType">
                        <option value="PM">PM</option>
                        <option value="Engineering">Engineering</option>
                        <option value="QA/QC">QA/QC</option>
                      </select>
                      <label for="discipline">Discipline:</label>
                      <select id="discipline" name="discipline">
                        <option value="Project Management">Project Management</option>
                        <option value="Mechanical">Mechanical</option>
                        <option value="Electrical">Electrical</option>
                      </select>
                      <label for="duration">Duration (weeks):</label>
                      <input type="number" id="duration" name="duration" min="1" value="1" />
                      <button type="submit">Create Task</button>
                    </form>

At runtime, your client code should collect these values and submit them to POST /api/tasks. After the server persists the task and recalculates totals, refresh the task list.

Existing Tasks

The panel also displays a table summarising existing tasks. Each row shows basic attributes and includes actions for editing or deleting the task. The markup below demonstrates the structure:

<table>
                      <thead>
                        <tr>
                          <th>Code</th>
                          <th>Title</th>
                          <th>Phase</th>
                          <th>Work Type</th>
                          <th>Discipline</th>
                          <th>Duration (W)</th>
                          <th>Actions</th>
                        </tr>
                      </thead>
                      <tbody>
                        <tr>
                          <td>DD-001</td>
                          <td>Design Review – Structure</td>
                          <td>Design</td>
                          <td>Engineering</td>
                          <td>Mechanical</td>
                          <td>8</td>
                          <td>
                            <a href="/lynx/tasks/60d6ab/edit">Edit</a>
                            <form action="/lynx/tasks/60d6ab/delete" method="POST" style="display:inline;">
                              <button type="submit">Delete</button>
                            </form>
                          </td>
                        </tr>
                      </tbody>
                    </table>

Extending the Panel

You can enrich the main panel with tabs or accordion sections for additional details. For example:

  • Add a tab for non‑labour cost items or a timeline view of the task schedule.
  • When editing a task, display a schedule grid powered by Handsontable and a list of cost items.
  • Include charts or summaries of labour versus non‑labour costs to provide a quick visual overview.

Ensure that each input field binds to the corresponding property in the task schema and that changes are sent to the relevant API endpoint. Always call POST /api/tasks/:id/recalc after updating a task to recalculate totals.

This documentation describes the structure of the main panel without including interactive logic. Client‑side code is required to submit forms, handle responses and refresh the UI.

modal1
modal2
modal3
docs_javascript
new_issue_button.handlebars
shortcut_edit