diff --git a/hrms/www/jobs/index.css b/hrms/www/jobs/index.css index 3ca4010a8f..78041d41a6 100644 --- a/hrms/www/jobs/index.css +++ b/hrms/www/jobs/index.css @@ -14,13 +14,24 @@ p { font-size: 18px; } -/* .card { - -webkit-transition: transform 0.1s ease-in-out; +.smol-text { + font-size: 13px; } -.card:hover { - transform: scale(1.01); -} */ -.closes-on { - font-size: 13px; +.full-time-badge { + background: var(--bg-green); + color: var(--text-on-green); + border-radius: var(--border-radius) } + +.part-time-badge { + background: var(--bg-orange); + color: var(--text-on-orange); + border-radius: var(--border-radius) +} + +.other-badge { + background: var(--bg-blue); + color: var(--text-on-blue); + border-radius: var(--border-radius) +} \ No newline at end of file diff --git a/hrms/www/jobs/index.html b/hrms/www/jobs/index.html index 677d5fdf52..28415cd7a7 100644 --- a/hrms/www/jobs/index.html +++ b/hrms/www/jobs/index.html @@ -1,6 +1,6 @@ {% extends "templates/web.html" %} {% block page_content %} -
+
@@ -18,11 +18,11 @@
{% for jo in job_openings %} -
+
-
+

{{ jo.job_title }}

-
+
@@ -46,18 +46,39 @@

{{ jo.job_title }}

{{ jo.location }}

{% endif %}
- {{ _("Learn More →") }} -
-
{%- if jo.publish_salary_range -%} -

- {{ frappe.format_value(frappe.utils.flt(jo.lower_range) , - currency=jo.currency) }} - {{ frappe.format_value(frappe.utils.flt(jo.upper_range) , - currency=jo.currency) }} -

-

{{ jo.salary_type.lower() }}

+
+

+ + {{ frappe.format_value(frappe.utils.flt(jo.lower_range) , + currency=jo.currency) }} - {{ frappe.format_value(frappe.utils.flt(jo.upper_range) , + currency=jo.currency) }} + + {{ jo.salary_type.lower() }} +

+
+ {% endif %} +
+ {%- if job_application_route -%} + {{ _("Apply Now →") }} + {% else %} + {{ _("Apply Now →") }} + {% endif %} +
+
+
+ {%- if jo.employment_type -%} + {%- if jo.employment_type == "Full-time" -%} + {{ jo.employment_type }} + {%- elif jo.employment_type == "Part-time" -%} + {{ jo.employment_type }} + {%- else -%} + {{ jo.employment_type }} + {% endif %} {% endif %} -

+

{%- if jo.closes_on -%} {{ _("Closes on " + frappe.format_date(jo.closes_on, "d MMM, YYYY") ) }} {% endif %}