-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
249 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,148 +1,147 @@ | ||
{% extends "templates/web.html" %} | ||
{% block page_content %} | ||
<div class="py-12"> | ||
<div class="flex"> | ||
<div class="mb-8 mr-40"> | ||
<h1 class="mt-0 mb-3" style="font-size: 3rem">{{ job_title }}</h1> | ||
<div class="flex align-items-center"> | ||
<div> | ||
<span class="font-weight-bold">{{ company }}</span> | ||
{{ " · " }} | ||
{{ posted_on }} | ||
</div> | ||
<div class="py-12"> | ||
<div class="flex"> | ||
<div class="mb-8 mr-40"> | ||
<h1 class="mt-0 mb-3" style="font-size: 3rem">{{ job_title }}</h1> | ||
<div class="flex align-items-center"> | ||
<div> | ||
<span class="font-weight-bold">{{ company }}</span> | ||
{{ " · " }} | ||
{{ posted_on }} | ||
</div> | ||
</div> | ||
<div class="ml-auto"> | ||
{%- if job_application_route -%} | ||
<a class="btn btn-primary btn-lg" | ||
href="/{{ job_application_route }}/new?job_title={{ name }}">{{ _("Apply Now") }}</a> | ||
{% else %} | ||
<a class="btn btn-primary btn-lg" | ||
href="/job_application/new?job_title={{ name }}">{{ _("Apply Now") }}</a> | ||
{% endif %} | ||
</div> | ||
</div> | ||
<div class="mb-4"> | ||
<div class="m-4"> | ||
<div class="row"> | ||
{%- if location -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--purple-50)"> | ||
<svg class="icon" | ||
style="height: 28px; | ||
width: 28px" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 16 16"> | ||
<g stroke="var(--purple-700)" stroke-miterlimit="10"> | ||
<path d="M11.467 3.458c1.958 1.957 1.958 5.088.027 7.02L7.97 14l-3.523-3.523a4.945 4.945 0 010-6.993l.026-.026a4.922 4.922 0 016.993 0zm0 0c-.026-.026-.026-.026 0 0z"> | ||
</path> | ||
<path d="M7.971 8.259a1.305 1.305 0 100-2.61 1.305 1.305 0 000 2.61z"></path> | ||
</g> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Location") }}</div> | ||
<div class="font-weight-bold">{{ location }}</div> | ||
</div> | ||
</div> | ||
<div class="ml-auto"> | ||
{%- if job_application_route -%} | ||
<a class="btn btn-primary btn-lg" href="/{{ job_application_route }}/new?job_title={{ name }}">{{ _("Apply | ||
Now") }}</a> | ||
{% else %} | ||
<a class="btn btn-primary btn-lg" href="/job_application/new?job_title={{ name }}">{{ _("Apply Now") }}</a> | ||
{% endif %} | ||
</div> | ||
</div> | ||
<div class="mb-4"> | ||
<div class="m-4"> | ||
<div class="row"> | ||
{%- if location -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--purple-50)"> | ||
<svg class="icon" style="height: 28px; | ||
width: 28px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> | ||
<g stroke="var(--purple-700)" stroke-miterlimit="10"> | ||
<path | ||
d="M11.467 3.458c1.958 1.957 1.958 5.088.027 7.02L7.97 14l-3.523-3.523a4.945 4.945 0 010-6.993l.026-.026a4.922 4.922 0 016.993 0zm0 0c-.026-.026-.026-.026 0 0z"> | ||
</path> | ||
<path d="M7.971 8.259a1.305 1.305 0 100-2.61 1.305 1.305 0 000 2.61z"></path> | ||
</g> | ||
</svg> | ||
</div> | ||
{% endif %} | ||
{%- if department -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--blue-50)"> | ||
<svg class="icon" | ||
style="height: 28px; | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Location") }}</div> | ||
<div class="font-weight-bold">{{ location }}</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
{%- if department -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--blue-50)"> | ||
<svg class="icon" style="height: 28px; | ||
width: 28px; | ||
--icon-stroke: var(--blue-700)"> | ||
<use href="#icon-branch"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Department") }}</div> | ||
<div class="font-weight-bold">{{ department }}</div> | ||
</div> | ||
</div> | ||
<use href="#icon-branch"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Department") }}</div> | ||
<div class="font-weight-bold">{{ department }}</div> | ||
</div> | ||
{% endif %} | ||
{%- if publish_salary_range -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--green-50)"> | ||
<svg class="icon" | ||
style="height: 28px; | ||
</div> | ||
</div> | ||
{% endif %} | ||
{%- if publish_salary_range -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--green-50)"> | ||
<svg class="icon" style="height: 28px; | ||
width: 28px; | ||
--icon-stroke: var(--green-700)"> | ||
<use href="#icon-income"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Salary Range") }}</div> | ||
<div class="font-weight-bold"> | ||
{{ frappe.format_value(frappe.utils.flt(lower_range) , | ||
currency=currency) }} - {{ frappe.format_value(frappe.utils.flt(upper_range) , | ||
currency=currency) }} / {{ salary_per.lower() }} | ||
</div> | ||
</div> | ||
<use href="#icon-income"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Salary Range") }}</div> | ||
<div class="font-weight-bold"> | ||
{%- if lower_range -%} | ||
{{ frappe.format_value(frappe.utils.flt(lower_range), currency=currency) }} | ||
{% endif %} | ||
{%- if lower_range and upper_range -%} | ||
- | ||
{% endif %} | ||
{%- if upper_range -%} | ||
{{ frappe.format_value(frappe.utils.flt(upper_range), currency=currency) }} | ||
{% endif %} | ||
/ {{ salary_per.lower() }} | ||
</div> | ||
</div> | ||
{% endif %} | ||
{%- if employment_type -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--yellow-50)"> | ||
<svg class="icon" | ||
style="height: 28px; | ||
</div> | ||
</div> | ||
{% endif %} | ||
{%- if employment_type -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--yellow-50)"> | ||
<svg class="icon" style="height: 28px; | ||
width: 28px; | ||
--icon-stroke: var(--yellow-700)"> | ||
<use href="#icon-hr"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Employment Type") }}</div> | ||
<div class="font-weight-bold">{{ employment_type }}</div> | ||
</div> | ||
</div> | ||
<use href="#icon-hr"></use> | ||
</svg> | ||
</div> | ||
{% endif %} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--orange-50)"> | ||
<svg class="icon" | ||
style="height: 28px; | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Employment Type") }}</div> | ||
<div class="font-weight-bold">{{ employment_type }}</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--orange-50)"> | ||
<svg class="icon" style="height: 28px; | ||
width: 28px; | ||
--icon-stroke: var(--orange-700)"> | ||
<use href="#icon-users"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Applications Received") }}</div> | ||
<div class="font-weight-bold">{{ no_of_applications }}</div> | ||
</div> | ||
<use href="#icon-users"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Applications Received") }}</div> | ||
<div class="font-weight-bold">{{ no_of_applications }}</div> | ||
</div> | ||
</div> | ||
{%- if closes_on -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--red-50)"> | ||
<svg class="icon" | ||
style="height: 28px; | ||
</div> | ||
{%- if closes_on -%} | ||
<div class="col-4 mb-8"> | ||
<div class="flex flex-row align-items-center"> | ||
<div class="rounded-circle p-4" style="background: var(--red-50)"> | ||
<svg class="icon" style="height: 28px; | ||
width: 28px; | ||
--icon-stroke: var(--red-700)"> | ||
<use href="#icon-calendar"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Closes On") }}</div> | ||
<div class="font-weight-bold">{{ frappe.format_date(closes_on, "d MMM, YYYY") }}</div> | ||
</div> | ||
</div> | ||
<use href="#icon-calendar"></use> | ||
</svg> | ||
</div> | ||
<div class="ml-5"> | ||
<div class="text-secondary" style="font-size: 14px">{{ _("Closes On") }}</div> | ||
<div class="font-weight-bold">{{ frappe.format_date(closes_on, "d MMM, YYYY") }}</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{%- if description -%}<p>{{ description }}</p>{% endif %} | ||
</div> | ||
{% endblock page_content %} | ||
{%- if description -%}<p>{{ description }}</p>{% endif %} | ||
</div> | ||
{% endblock page_content %} |
Oops, something went wrong.