few ui changes'
This commit is contained in:
parent
05e3271152
commit
f0d3218caa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -22,8 +22,8 @@ urlpatterns = [
|
|||||||
# path('', include('recruitment.urls')),
|
# path('', include('recruitment.urls')),
|
||||||
path("ckeditor5/", include('django_ckeditor_5.urls')),
|
path("ckeditor5/", include('django_ckeditor_5.urls')),
|
||||||
|
|
||||||
path('<slug:template_slug>/', views.form_wizard_view, name='form_wizard'),
|
path('form/<slug:template_slug>/', views.form_wizard_view, name='form_wizard'),
|
||||||
path('<slug:template_slug>/submit/', views.submit_form, name='submit_form'),
|
path('form/<slug:template_slug>/submit/', views.submit_form, name='submit_form'),
|
||||||
|
|
||||||
path('api/templates/', views.list_form_templates, name='list_form_templates'),
|
path('api/templates/', views.list_form_templates, name='list_form_templates'),
|
||||||
path('api/templates/save/', views.save_form_template, name='save_form_template'),
|
path('api/templates/save/', views.save_form_template, name='save_form_template'),
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -283,7 +283,7 @@ def create_job(request):
|
|||||||
job_apply_url_relative=reverse('job_detail_candidate',kwargs={'slug':job.slug})
|
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_apply_url_absolute=request.build_absolute_uri(job_apply_url_relative)
|
||||||
job.application_url=job_apply_url_absolute
|
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()
|
job.save()
|
||||||
messages.success(request, f'Job "{job.title}" created successfully!')
|
messages.success(request, f'Job "{job.title}" created successfully!')
|
||||||
return redirect("job_list")
|
return redirect("job_list")
|
||||||
@ -2205,10 +2205,10 @@ def account_toggle_status(request,pk):
|
|||||||
messages.error(f'Please correct the error below')
|
messages.error(f'Please correct the error below')
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
# @login_required
|
||||||
def user_detail(requests,pk):
|
# def user_detail(requests,pk):
|
||||||
user=get_object_or_404(User,pk=pk)
|
# user=get_object_or_404(User,pk=pk)
|
||||||
return render(requests,'user/profile.html')
|
# return render(requests,'user/profile.html')
|
||||||
|
|
||||||
|
|
||||||
@csrf_exempt
|
@csrf_exempt
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
<div class="en text-xs">King Abdullah bin Abdulaziz University Hospital</div>
|
<div class="en text-xs">King Abdullah bin Abdulaziz University Hospital</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<img src="{% static 'image/hospital_logo.png' %}" alt="KAAUH Logo" style="max-height: 40px; max-width: 40px;">
|
<img src="{% static 'image/kaauh.png' %}" alt="KAAUH Logo" style="max-height: 40px; max-width: 40px;">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -55,11 +55,11 @@
|
|||||||
|
|
||||||
{# --- MOBILE BRAND LOGIC: Show small logo on mobile, large on desktop (lg) --- #}
|
{# --- MOBILE BRAND LOGIC: Show small logo on mobile, large on desktop (lg) --- #}
|
||||||
<a class="navbar-brand text-white d-block d-lg-none" href="{% url 'dashboard' %}" aria-label="Home">
|
<a class="navbar-brand text-white d-block d-lg-none" href="{% url 'dashboard' %}" aria-label="Home">
|
||||||
<img src="{% static 'image/hospital_logo_1.png' %}" alt="{% trans 'kaauh logo green bg' %}" class="navbar-brand-mobile">
|
<img src="{% static 'image/kaauh_green1.png' %}" alt="{% trans 'kaauh logo green bg' %}" class="navbar-brand-mobile">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="navbar-brand text-white d-none d-lg-block me-4 pe-4" href="{% url 'dashboard' %}" aria-label="Home">
|
<a class="navbar-brand text-white d-none d-lg-block me-4 pe-4" href="{% url 'dashboard' %}" aria-label="Home">
|
||||||
<img src="{% static 'image/hospital_logo_1.png' %}" alt="{% trans 'kaauh logo green bg' %}" style="width: 60px; height: 60px;">
|
<img src="{% static 'image/kaauh_green1.png' %}" alt="{% trans 'kaauh logo green bg' %}" style="width: 60px; height: 60px;">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{# Toggler: order-lg-0 ensures it's before navigation links on desktop, but it stays where it is on mobile #}
|
{# Toggler: order-lg-0 ensures it's before navigation links on desktop, but it stays where it is on mobile #}
|
||||||
@ -216,21 +216,13 @@
|
|||||||
<li class="nav-item me-lg-4">
|
<li class="nav-item me-lg-4">
|
||||||
<a class="nav-link {% if request.resolver_match.url_name == 'list_meetings' %}active{% endif %}" href="{% url 'list_meetings' %}">
|
<a class="nav-link {% if request.resolver_match.url_name == 'list_meetings' %}active{% endif %}" href="{% url 'list_meetings' %}">
|
||||||
<span class="d-flex align-items-center gap-2">
|
<span class="d-flex align-items-center gap-2">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" d="m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z" />
|
<path stroke-linecap="round" stroke-linejoin="round" d="m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z" />
|
||||||
</svg>
|
</svg>
|
||||||
{% trans "Meetings" %}
|
{% trans "Meetings" %}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item me-lg-4">
|
|
||||||
<a class="nav-link {% if request.resolver_match.url_name == 'source_list' %}active{% endif %}" href="{% url 'source_list' %}">
|
|
||||||
<span class="d-flex align-items-center gap-2">
|
|
||||||
{% include "icons/sources.html" %}
|
|
||||||
{% trans "Sources" %}
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% comment %} <li class="nav-item me-lg-4">
|
{% comment %} <li class="nav-item me-lg-4">
|
||||||
<a class="nav-link {% if request.resolver_match.url_name == 'training_list' %}active{% endif %}" href="{% url 'training_list' %}">
|
<a class="nav-link {% if request.resolver_match.url_name == 'training_list' %}active{% endif %}" href="{% url 'training_list' %}">
|
||||||
<span class="d-flex align-items-center gap-2">
|
<span class="d-flex align-items-center gap-2">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user