job-listing.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. ---
  2. title: Search for Jobs
  3. page-header: Search for Jobs
  4. page-header-actions: add-job
  5. menu: extra.job-listing
  6. ---
  7. {% assign types = 'Programming,Design,Management / Finance,Customer Support,Sales / Marketing' | split: ',' %}
  8. {% assign salaries = '$20K - $50K,$50K - $100K,> $100K,Drawing / Painting' | split: ',' %}
  9. <div class="row g-4">
  10. <div class="col-md-3">
  11. <form action="./" method="get" autocomplete="off" novalidate class="sticky-top">
  12. <div class="form-label">Job Types</div>
  13. <div class="mb-4">
  14. {% for type in types %}
  15. <label class="form-check">
  16. <input type="checkbox" class="form-check-input" name="form-type[]" value="{{ forloop.index }}"{% if forloop.index <= 2 %} checked{% endif %}>
  17. <span class="form-check-label">{{ type }}</span>
  18. </label>
  19. {% endfor %}
  20. </div>
  21. <div class="form-label">Remote</div>
  22. <div class="mb-4">
  23. {% include ui/form/check.html switch=true title-on="On" title-off="Off" %}
  24. </div>
  25. <div class="form-label">Salary Range</div>
  26. <div class="mb-4">
  27. {% for salary in salaries %}
  28. <label class="form-check">
  29. <input type="radio" class="form-check-input" name="form-salary" value="{{ forloop.index }}"{% if forloop.index <= 2 %} checked{% endif %}>
  30. <span class="form-check-label">{{ salary }}</span>
  31. </label>
  32. {% endfor %}
  33. </div>
  34. <div class="form-label">Immigration</div>
  35. <div class="mb-4">
  36. {% include ui/form/check.html switch=true title-on="On" title-off="Off" %}
  37. <div class="small text-secondary">Only show companies that can sponsor a visa</div>
  38. </div>
  39. <div class="form-label">Location</div>
  40. <div class="mb-4">
  41. <select class="form-select">
  42. <option>Anywhere</option>
  43. <option>London</option>
  44. <option>San Francisco</option>
  45. <option>New York</option>
  46. <option>Berlin</option>
  47. </select>
  48. </div>
  49. <div class="mt-5">
  50. <button class="btn btn-primary w-100">
  51. Confirm changes
  52. </button>
  53. <a href="#" class="btn btn-link w-100">
  54. Reset to defaults
  55. </a>
  56. </div>
  57. </form>
  58. </div>
  59. <div class="col-md-9">
  60. <div class="row row-cards">
  61. <div class="space-y">
  62. {% for job in site.data.jobs %}
  63. <div class="card">
  64. <div class="row g-0">
  65. <div class="col-auto">
  66. <div class="card-body">
  67. <div class="avatar avatar-md" style="background-image: url({{ site.base }}/static/jobs/{{ job.image }})"></div>
  68. </div>
  69. </div>
  70. <div class="col">
  71. <div class="card-body ps-0">
  72. <div class="row">
  73. <div class="col"><h3 class="mb-0"><a href="#">{{ job.title }}</a></h3></div>
  74. {% if job.salary %}<div class="col-auto fs-3 text-green">{{ job.salary }}</div>{% endif %}
  75. </div>
  76. <div class="row">
  77. <div class="col-md">
  78. <div class="mt-3 list-inline list-inline-dots mb-0 text-secondary d-sm-block d-none">
  79. <div class="list-inline-item">{% include ui/icon.html icon="building-community" class="icon-inline" %} {{ job.company }}</div>
  80. <div class="list-inline-item">{% include ui/icon.html icon="license" class="icon-inline" %} {{ job.type }}</div>
  81. <div class="list-inline-item">{% include ui/icon.html icon="map-pin" class="icon-inline" %} {{ job.location }}</div>
  82. </div>
  83. <div class="mt-3 list mb-0 text-secondary d-block d-sm-none">
  84. <div class="list-item">{% include ui/icon.html icon="building-community" class="icon-inline" %} {{ job.company }}</div>
  85. <div class="list-item">{% include ui/icon.html icon="license" class="icon-inline" %} {{ job.type }}</div>
  86. <div class="list-item">{% include ui/icon.html icon="map-pin" class="icon-inline" %} {{ job.location }}</div>
  87. </div>
  88. </div>
  89. <div class="col-md-auto">
  90. <div class="mt-3 badges">
  91. {% for tag in job.tags %}
  92. <a href="#" class="badge badge-outline text-secondary fw-normal badge-pill">{{ tag }}</a>
  93. {% endfor %}
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. {% endfor %}
  102. </div>
  103. </div>
  104. </div>
  105. </div>