Wiki

Clone wiki

khk-independent / Views

Views

Here are the main views, given by URL.

A view describes (usually in HTML) how a page generally looks: its layout with all the changing parts replaced with placeholders (variables) and repeating parts (like table rows) enclosed with loop statements.

/dash


  • Summary of all employees and worked time. Also the form for adding new employees. Dash view mockup

/login


  • Allows the user to log in.

Login view mockup

/employees/view/<employee-id>


  • Shows details about employees tasks.
  • Allows to add a new task or edit/delete an existing task.

Employee view mockup

/tasks/edit/<task-id>


  • Allows to edit an existing task.
  • Same fields as on task creation.

Task edit view mockup

Note: Values like <this> are placeholders.

Moving on


Next up: Basic setup

Updated