diff --git a/NorahUniversity/__pycache__/__init__.cpython-312.pyc b/NorahUniversity/__pycache__/__init__.cpython-312.pyc index 2c0dca1..06da1f4 100644 Binary files a/NorahUniversity/__pycache__/__init__.cpython-312.pyc and b/NorahUniversity/__pycache__/__init__.cpython-312.pyc differ diff --git a/NorahUniversity/__pycache__/celery.cpython-312.pyc b/NorahUniversity/__pycache__/celery.cpython-312.pyc index 82f0ca8..59a6502 100644 Binary files a/NorahUniversity/__pycache__/celery.cpython-312.pyc and b/NorahUniversity/__pycache__/celery.cpython-312.pyc differ diff --git a/NorahUniversity/__pycache__/settings.cpython-312.pyc b/NorahUniversity/__pycache__/settings.cpython-312.pyc index 160b1cf..de5ab87 100644 Binary files a/NorahUniversity/__pycache__/settings.cpython-312.pyc and b/NorahUniversity/__pycache__/settings.cpython-312.pyc differ diff --git a/NorahUniversity/__pycache__/urls.cpython-312.pyc b/NorahUniversity/__pycache__/urls.cpython-312.pyc index df79ce7..cac990a 100644 Binary files a/NorahUniversity/__pycache__/urls.cpython-312.pyc and b/NorahUniversity/__pycache__/urls.cpython-312.pyc differ diff --git a/NorahUniversity/__pycache__/wsgi.cpython-312.pyc b/NorahUniversity/__pycache__/wsgi.cpython-312.pyc index f5f09cb..d4b64ec 100644 Binary files a/NorahUniversity/__pycache__/wsgi.cpython-312.pyc and b/NorahUniversity/__pycache__/wsgi.cpython-312.pyc differ diff --git a/NorahUniversity/urls.py b/NorahUniversity/urls.py index d4a3203..5990780 100644 --- a/NorahUniversity/urls.py +++ b/NorahUniversity/urls.py @@ -22,8 +22,8 @@ urlpatterns = [ # path('', include('recruitment.urls')), path("ckeditor5/", include('django_ckeditor_5.urls')), - path('/', views.form_wizard_view, name='form_wizard'), - path('/submit/', views.submit_form, name='submit_form'), + path('form//', views.form_wizard_view, name='form_wizard'), + path('form//submit/', views.submit_form, name='submit_form'), path('api/templates/', views.list_form_templates, name='list_form_templates'), path('api/templates/save/', views.save_form_template, name='save_form_template'), diff --git a/recruitment/__pycache__/__init__.cpython-312.pyc b/recruitment/__pycache__/__init__.cpython-312.pyc index c8fbc2d..3ce41e4 100644 Binary files a/recruitment/__pycache__/__init__.cpython-312.pyc and b/recruitment/__pycache__/__init__.cpython-312.pyc differ diff --git a/recruitment/__pycache__/admin.cpython-312.pyc b/recruitment/__pycache__/admin.cpython-312.pyc index 0b0a860..9901ab4 100644 Binary files a/recruitment/__pycache__/admin.cpython-312.pyc and b/recruitment/__pycache__/admin.cpython-312.pyc differ diff --git a/recruitment/__pycache__/apps.cpython-312.pyc b/recruitment/__pycache__/apps.cpython-312.pyc index f3d65f3..49ed105 100644 Binary files a/recruitment/__pycache__/apps.cpython-312.pyc and b/recruitment/__pycache__/apps.cpython-312.pyc differ diff --git a/recruitment/__pycache__/forms.cpython-312.pyc b/recruitment/__pycache__/forms.cpython-312.pyc index 9725eb3..8def54e 100644 Binary files a/recruitment/__pycache__/forms.cpython-312.pyc and b/recruitment/__pycache__/forms.cpython-312.pyc differ diff --git a/recruitment/__pycache__/linkedin_service.cpython-312.pyc b/recruitment/__pycache__/linkedin_service.cpython-312.pyc index c18ea68..d949652 100644 Binary files a/recruitment/__pycache__/linkedin_service.cpython-312.pyc and b/recruitment/__pycache__/linkedin_service.cpython-312.pyc differ diff --git a/recruitment/__pycache__/models.cpython-312.pyc b/recruitment/__pycache__/models.cpython-312.pyc index 53b4e48..4609063 100644 Binary files a/recruitment/__pycache__/models.cpython-312.pyc and b/recruitment/__pycache__/models.cpython-312.pyc differ diff --git a/recruitment/__pycache__/serializers.cpython-312.pyc b/recruitment/__pycache__/serializers.cpython-312.pyc index fed459d..527ca28 100644 Binary files a/recruitment/__pycache__/serializers.cpython-312.pyc and b/recruitment/__pycache__/serializers.cpython-312.pyc differ diff --git a/recruitment/__pycache__/signals.cpython-312.pyc b/recruitment/__pycache__/signals.cpython-312.pyc index e9aa013..32db21f 100644 Binary files a/recruitment/__pycache__/signals.cpython-312.pyc and b/recruitment/__pycache__/signals.cpython-312.pyc differ diff --git a/recruitment/__pycache__/urls.cpython-312.pyc b/recruitment/__pycache__/urls.cpython-312.pyc index 0baf2e8..082c450 100644 Binary files a/recruitment/__pycache__/urls.cpython-312.pyc and b/recruitment/__pycache__/urls.cpython-312.pyc differ diff --git a/recruitment/__pycache__/utils.cpython-312.pyc b/recruitment/__pycache__/utils.cpython-312.pyc index 83c8083..7a31e49 100644 Binary files a/recruitment/__pycache__/utils.cpython-312.pyc and b/recruitment/__pycache__/utils.cpython-312.pyc differ diff --git a/recruitment/__pycache__/validators.cpython-312.pyc b/recruitment/__pycache__/validators.cpython-312.pyc index 0df3c0e..3a4c27a 100644 Binary files a/recruitment/__pycache__/validators.cpython-312.pyc and b/recruitment/__pycache__/validators.cpython-312.pyc differ diff --git a/recruitment/__pycache__/views.cpython-312.pyc b/recruitment/__pycache__/views.cpython-312.pyc index 4f4ce2a..fc41342 100644 Binary files a/recruitment/__pycache__/views.cpython-312.pyc and b/recruitment/__pycache__/views.cpython-312.pyc differ diff --git a/recruitment/__pycache__/views_frontend.cpython-312.pyc b/recruitment/__pycache__/views_frontend.cpython-312.pyc index 188826c..2a9ae28 100644 Binary files a/recruitment/__pycache__/views_frontend.cpython-312.pyc and b/recruitment/__pycache__/views_frontend.cpython-312.pyc differ diff --git a/recruitment/templatetags/__pycache__/__init__.cpython-312.pyc b/recruitment/templatetags/__pycache__/__init__.cpython-312.pyc index 364ecb7..ce3f161 100644 Binary files a/recruitment/templatetags/__pycache__/__init__.cpython-312.pyc and b/recruitment/templatetags/__pycache__/__init__.cpython-312.pyc differ diff --git a/recruitment/templatetags/__pycache__/form_filters.cpython-312.pyc b/recruitment/templatetags/__pycache__/form_filters.cpython-312.pyc index 479f42f..679c68d 100644 Binary files a/recruitment/templatetags/__pycache__/form_filters.cpython-312.pyc and b/recruitment/templatetags/__pycache__/form_filters.cpython-312.pyc differ diff --git a/recruitment/views.py b/recruitment/views.py index 3565fd1..7689124 100644 --- a/recruitment/views.py +++ b/recruitment/views.py @@ -283,7 +283,7 @@ def create_job(request): job_apply_url_relative=reverse('job_detail_candidate',kwargs={'slug':job.slug}) job_apply_url_absolute=request.build_absolute_uri(job_apply_url_relative) job.application_url=job_apply_url_absolute - FormTemplate.objects.create(job=job, is_active=True, name=job.title,created_by=request.user) + # FormTemplate.objects.create(job=job, is_active=False, name=job.title,created_by=request.user) job.save() messages.success(request, f'Job "{job.title}" created successfully!') return redirect("job_list") @@ -2205,10 +2205,10 @@ def account_toggle_status(request,pk): messages.error(f'Please correct the error below') -@login_required -def user_detail(requests,pk): - user=get_object_or_404(User,pk=pk) - return render(requests,'user/profile.html') +# @login_required +# def user_detail(requests,pk): +# user=get_object_or_404(User,pk=pk) +# return render(requests,'user/profile.html') @csrf_exempt diff --git a/templates/base.html b/templates/base.html index b399ec2..0250f32 100644 --- a/templates/base.html +++ b/templates/base.html @@ -44,7 +44,7 @@
King Abdullah bin Abdulaziz University Hospital
- KAAUH Logo + KAAUH Logo @@ -55,11 +55,11 @@ {# --- MOBILE BRAND LOGIC: Show small logo on mobile, large on desktop (lg) --- #} - {% trans 'kaauh logo green bg' %} + {% trans 'kaauh logo green bg' %} - {% trans 'kaauh logo green bg' %} + {% trans 'kaauh logo green bg' %} {# Toggler: order-lg-0 ensures it's before navigation links on desktop, but it stays where it is on mobile #} @@ -216,21 +216,13 @@ - {% comment %}