more updates
This commit is contained in:
parent
2be0ab083d
commit
f992861947
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -77,8 +77,8 @@ urlpatterns = [
|
|||||||
path('htmx/<slug:slug>/candidate_set_exam_date/', views.candidate_set_exam_date, name='candidate_set_exam_date'),
|
path('htmx/<slug:slug>/candidate_set_exam_date/', views.candidate_set_exam_date, name='candidate_set_exam_date'),
|
||||||
path('htmx/bulk_candidate_move_to_exam/', views.bulk_candidate_move_to_exam, name='bulk_candidate_move_to_exam'),
|
path('htmx/bulk_candidate_move_to_exam/', views.bulk_candidate_move_to_exam, name='bulk_candidate_move_to_exam'),
|
||||||
|
|
||||||
# path('forms/form/<int:template_id>/submit/', views.submit_form, name='submit_form'),
|
path('forms/form/<int:template_id>/submit/', views.submit_form, name='submit_form'),
|
||||||
# path('forms/form/<int:template_id>/', views.form_wizard_view, name='form_wizard'),
|
path('forms/form/<int:template_id>/', views.form_wizard_view, name='form_wizard'),
|
||||||
path('forms/<int:template_id>/submissions/<slug:slug>/', views.form_submission_details, name='form_submission_details'),
|
path('forms/<int:template_id>/submissions/<slug:slug>/', views.form_submission_details, name='form_submission_details'),
|
||||||
path('forms/template/<slug:slug>/submissions/', views.form_template_submissions_list, name='form_template_submissions_list'),
|
path('forms/template/<slug:slug>/submissions/', views.form_template_submissions_list, name='form_template_submissions_list'),
|
||||||
path('forms/template/<int:template_id>/all-submissions/', views.form_template_all_submissions, name='form_template_all_submissions'),
|
path('forms/template/<int:template_id>/all-submissions/', views.form_template_all_submissions, name='form_template_all_submissions'),
|
||||||
@ -91,6 +91,7 @@ urlpatterns = [
|
|||||||
# path('api/forms/save/', views.save_form_builder, name='save_form_builder'),
|
# path('api/forms/save/', views.save_form_builder, name='save_form_builder'),
|
||||||
# path('api/forms/<int:form_id>/load/', views.load_form, name='load_form'),
|
# path('api/forms/<int:form_id>/load/', views.load_form, name='load_form'),
|
||||||
# path('api/forms/<int:form_id>/update/', views.update_form_builder, name='update_form_builder'),
|
# path('api/forms/<int:form_id>/update/', views.update_form_builder, name='update_form_builder'),
|
||||||
|
|
||||||
path('jobs/<slug:slug>/calendar/', views.interview_calendar_view, name='interview_calendar'),
|
path('jobs/<slug:slug>/calendar/', views.interview_calendar_view, name='interview_calendar'),
|
||||||
path('jobs/<slug:slug>/calendar/interview/<int:interview_id>/', views.interview_detail_view, name='interview_detail'),
|
path('jobs/<slug:slug>/calendar/interview/<int:interview_id>/', views.interview_detail_view, name='interview_detail'),
|
||||||
]
|
]
|
||||||
|
|||||||
@ -923,7 +923,7 @@ def delete_form_template(request, template_id):
|
|||||||
|
|
||||||
def form_wizard_view(request, template_id):
|
def form_wizard_view(request, template_id):
|
||||||
"""Display the form as a step-by-step wizard"""
|
"""Display the form as a step-by-step wizard"""
|
||||||
template = get_object_or_404(FormTemplate, id=template_id, is_active=True)
|
template = get_object_or_404(FormTemplate, pk=template_id, is_active=True)
|
||||||
job_id = template.job.internal_job_id
|
job_id = template.job.internal_job_id
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
|
|||||||
@ -494,13 +494,13 @@
|
|||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
{% comment %} STAGE 1: Applied {% endcomment %}
|
{% comment %} STAGE 1: Applied {% endcomment %}
|
||||||
<a href="{% url 'job_candidates_list' job.slug %}?stage=Applied"
|
<a href="{% url 'candidate_screening_view' job.slug %}"
|
||||||
class="stage-item {% if current_stage == 'Applied' %}active{% endif %} {% if current_stage != 'Applied' and candidate.stage_history_has.Applied %}completed{% endif %}"
|
class="stage-item {% if current_stage == 'Applied' %}active{% endif %} {% if current_stage != 'Applied' and candidate.stage_history_has.Applied %}completed{% endif %}"
|
||||||
data-stage="Applied">
|
data-stage="Applied">
|
||||||
<div class="stage-icon">
|
<div class="stage-icon">
|
||||||
<i class="fas fa-file-signature"></i>
|
<i class="fas fa-file-signature"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="stage-label">{% trans "Applied" %}</div>
|
<div class="stage-label">{% trans "Screened" %}</div>
|
||||||
<div class="stage-count">{{ applied_count|default:"0" }}</div>
|
<div class="stage-count">{{ applied_count|default:"0" }}</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@ -508,7 +508,7 @@
|
|||||||
<div class="stage-connector {% if current_stage != 'Applied' and candidate.stage_history_has.Exam %}completed{% endif %}"></div>
|
<div class="stage-connector {% if current_stage != 'Applied' and candidate.stage_history_has.Exam %}completed{% endif %}"></div>
|
||||||
|
|
||||||
{% comment %} STAGE 2: Exam {% endcomment %}
|
{% comment %} STAGE 2: Exam {% endcomment %}
|
||||||
<a href="{% url 'job_candidates_list' job.slug %}?stage=Exam"
|
<a href="{% url 'candidate_exam_view' job.slug %}"
|
||||||
class="stage-item {% if current_stage == 'Exam' %}active{% endif %} {% if current_stage != 'Exam' and candidate.stage_history_has.Exam %}completed{% endif %}"
|
class="stage-item {% if current_stage == 'Exam' %}active{% endif %} {% if current_stage != 'Exam' and candidate.stage_history_has.Exam %}completed{% endif %}"
|
||||||
data-stage="Exam">
|
data-stage="Exam">
|
||||||
<div class="stage-icon">
|
<div class="stage-icon">
|
||||||
@ -522,7 +522,7 @@
|
|||||||
<div class="stage-connector {% if current_stage != 'Exam' and candidate.stage_history_has.Interview %}completed{% endif %}"></div>
|
<div class="stage-connector {% if current_stage != 'Exam' and candidate.stage_history_has.Interview %}completed{% endif %}"></div>
|
||||||
|
|
||||||
{% comment %} STAGE 3: Interview {% endcomment %}
|
{% comment %} STAGE 3: Interview {% endcomment %}
|
||||||
<a href="{% url 'job_candidates_list' job.slug %}?stage=Interview"
|
<a href="{% url 'candidate_interview_view' job.slug %}"
|
||||||
class="stage-item {% if current_stage == 'Interview' %}active{% endif %} {% if current_stage != 'Interview' and candidate.stage_history_has.Interview %}completed{% endif %}"
|
class="stage-item {% if current_stage == 'Interview' %}active{% endif %} {% if current_stage != 'Interview' and candidate.stage_history_has.Interview %}completed{% endif %}"
|
||||||
data-stage="Interview">
|
data-stage="Interview">
|
||||||
<div class="stage-icon">
|
<div class="stage-icon">
|
||||||
|
|||||||
@ -285,15 +285,17 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="text-end">
|
<td class="text-end">
|
||||||
<div class="btn-group btn-group-sm" role="group">
|
<div class="btn-group btn-group-sm" role="group">
|
||||||
<a href="{% url 'form_wizard' job.form_template.id %}" class="btn btn-outline-primary" title="{% trans 'Preview' %}">
|
{% if job.form_template %}
|
||||||
<i class="fas fa-eye"></i>
|
<a href="{% url 'form_wizard' job.form_template.pk %}" class="btn btn-outline-primary" title="{% trans 'Preview' %}">
|
||||||
</a>
|
<i class="fas fa-eye"></i>
|
||||||
<a href="{% url 'form_builder' job.form_template.id %}" class="btn btn-outline-secondary" title="{% trans 'Edit' %}">
|
</a>
|
||||||
<i class="fas fa-edit"></i>
|
<a href="{% url 'form_builder' job.form_template.id %}" class="btn btn-outline-secondary" title="{% trans 'Edit' %}">
|
||||||
</a>
|
<i class="fas fa-edit"></i>
|
||||||
<a href="{% url 'form_template_submissions_list' job.form_template.slug %}" class="btn btn-outline-secondary" title="{% trans 'Submissions' %}">
|
</a>
|
||||||
<i class="fas fa-file-alt"></i>
|
<a href="{% url 'form_template_submissions_list' job.form_template.slug %}" class="btn btn-outline-secondary" title="{% trans 'Submissions' %}">
|
||||||
</a>
|
<i class="fas fa-file-alt"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user