linkedin.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. {% include 'hackathon/base.html' %}
  5. <h1 class="text-center"> {{ title }}</h1>
  6. <br>
  7. <div class="col-lg-12">
  8. <div class="table-responsive">
  9. <table class="table table-bordered table-hover table-striped tablesorter">
  10. <thead>
  11. <tr>
  12. <th class="header"> First Name <i class="icon-sort"></i></th>
  13. <th class="header"> Skills <i class="icon-sort"></i></th>
  14. <th class="header"> Education <i class="icon-sort"></i></th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. <tr>
  19. <td>{{ content.firstName }}</td>
  20. <td>
  21. {% if content.skills %}
  22. {% for i in content.skills.values %}
  23. {{i.skill.name}}
  24. {% endfor %}
  25. {% else %}
  26. None
  27. {% endif %}
  28. </td>
  29. <td>
  30. {% if content.educations %}
  31. {% for i in content.educations.values %}
  32. <strong>{{i.schoolName }}</strong> [{{i.degree}}, {{i.fieldOfStudy}}] ({{i.startDate.year}} - {{i.endDate.year}})
  33. {% endfor %}
  34. {% else %}
  35. None
  36. {% endif %}
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </body>
  44. </html>