You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
990 B

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>User List</title>
  7. </head>
  8. <body>
  9. <h2>Family member dashboard</h2>
  10. <ul>
  11. <li>
  12. {{ user.given_name }} {{ user.surname }}
  13. <a href="{{ url_for('update_user', user_id=user.user_id) }}">Update</a>
  14. </li>
  15. </ul>
  16. <h3>Jobs:</h3>
  17. <ul>
  18. {% for job in jobs %}
  19. <li>
  20. {{ job.required_caregiving_type }} - {{ job.other_requirements }}
  21. <a href="{{ url_for('update_job', job_id=job.job_id) }}">Update</a>
  22. <a href="{{ url_for('delete_job', job_id=job.job_id) }}" onclick="return confirm('Are you sure you want to delete this job?')">Delete</a>
  23. </li>
  24. {% endfor %}
  25. </ul>
  26. <a href="{{ url_for('create_job') }}">Create New Job</a>
  27. <br>
  28. <a href="{{ url_for('logout_user') }}">Logout</a>
  29. </body>
  30. </html>