[UPDT] ONBOARDING: Updated onboarding app by adding empty page styles
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
{% if offboardings %}
|
||||
{% include 'offboarding/pipeline/offboardings.html' %}
|
||||
{% else %}
|
||||
<div style="display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%;">
|
||||
<img style="display: block; width: 15%; margin: 20px auto; filter: opacity(0.5);" src="{% static 'images/ui/notice.png' %}" class="" alt="Page not found. 404." />
|
||||
<h5 class="oh-404__subtitle">{% trans "There is no offboardings at this moment." %}</h5>
|
||||
<div class="oh-empty">
|
||||
<img src="{% static 'images/ui/search.svg' %}" class="oh-404__image" alt="Page not found. 404." />
|
||||
<h1 class="oh-empty__title">{% trans "No Records found." %}</h1>
|
||||
<p class="oh-empty__subtitle">{% trans "There is no offboardings at this moment." %}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -263,26 +263,10 @@
|
||||
{% include 'onboarding/candidates.html' %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div
|
||||
style="
|
||||
height: 70vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
"
|
||||
class=""
|
||||
>
|
||||
<div style="" class="">
|
||||
<img
|
||||
style="width: 190px; height: 190px; margin: 0 auto"
|
||||
src="{% static 'images/ui/candidate.png' %}"
|
||||
class="oh-404__image d-block mb-4"
|
||||
alt="Page not found. 404."
|
||||
/>
|
||||
<h5 class="oh-404__subtitle">
|
||||
{% trans "At present, There are no Candidates onboarding." %}
|
||||
</h5>
|
||||
</div>
|
||||
<div class="oh-empty">
|
||||
<img src="{% static 'images/ui/search.svg' %}" class="oh-404__image" alt="Page not found. 404." />
|
||||
<h1 class="oh-empty__title">{% trans "No Records found." %}</h1>
|
||||
<p class="oh-empty__subtitle">{% trans "At present, There are no Candidates onboarding." %}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div
|
||||
|
||||
@@ -8,14 +8,17 @@
|
||||
.select2-container {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.select2-container .select2-selection {
|
||||
padding: 10px;
|
||||
height: 50px !important; /* Adjust the height value as needed */
|
||||
height: 50px !important;
|
||||
/* Adjust the height value as needed */
|
||||
}
|
||||
|
||||
.oh-dot--color-done {
|
||||
background-color: hsl(148deg, 71%, 44%)
|
||||
}
|
||||
|
||||
.oh-dot--color-scheduled {
|
||||
background-color: hsl(40deg, 100%, 60%)
|
||||
}
|
||||
@@ -23,6 +26,7 @@
|
||||
.oh-dot--color-stuck {
|
||||
background-color: #ff0400
|
||||
}
|
||||
|
||||
.oh-dot--color-ongoing {
|
||||
background-color: hsl(204deg, 70%, 53%)
|
||||
}
|
||||
@@ -30,6 +34,7 @@
|
||||
.oh-dot--color-todo {
|
||||
background-color: #e3b75f80
|
||||
}
|
||||
|
||||
.oh-dot--color-None {
|
||||
background-color: hsla(270, 5%, 48%, 0.709)
|
||||
}
|
||||
@@ -37,7 +42,6 @@
|
||||
.oh-dot--color- {
|
||||
background-color: hsla(270, 5%, 48%, 0.709)
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="oh-alert-container messages">
|
||||
|
||||
@@ -76,27 +80,17 @@
|
||||
</div>
|
||||
<!-- Paginator Section -->
|
||||
<div class="oh-pagination">
|
||||
<span
|
||||
class="oh-pagination__page"
|
||||
data-toggle="modal"
|
||||
data-target="#addEmployeeModal"
|
||||
>
|
||||
<span class="oh-pagination__page" data-toggle="modal" data-target="#addEmployeeModal">
|
||||
{% trans "Page" %} {{ recruitments.number }} {% trans "of" %} {{ recruitments.paginator.num_pages }}.
|
||||
</span
|
||||
>
|
||||
</span>
|
||||
|
||||
<nav class="oh-pagination__nav">
|
||||
<div class="oh-pagination__input-container me-3">
|
||||
<span class="oh-pagination__label me-1">{% trans "Page" %}</span>
|
||||
|
||||
<input
|
||||
type="number"
|
||||
name="page"
|
||||
class="oh-pagination__input"
|
||||
value="{{recruitments.number}}"
|
||||
<input type="number" name="page" class="oh-pagination__input" value="{{recruitments.number}}"
|
||||
{% comment %} hx-get="{% url 'recruitment-search' %}?{{pd}}" hx-target="#tab_rec_{{rec.id}}" {% endcomment %}
|
||||
min="1"
|
||||
/>
|
||||
min="1" />
|
||||
<span class="oh-pagination__label">{% trans "of" %} {{recruitments.paginator.num_pages}}</span>
|
||||
</div>
|
||||
|
||||
@@ -106,15 +100,21 @@
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page=1" class="oh-pagination__link">{% trans "First" %}</a>
|
||||
</li>
|
||||
<li class="oh-pagination__item oh-pagination__item--wide">
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page={{ recruitments.previous_page_number }}" class="oh-pagination__link">{% trans "Previous" %}</a>
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page={{ recruitments.previous_page_number }}"
|
||||
class="oh-pagination__link">{% trans "Previous" %}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if recruitments.has_next %}
|
||||
<li class="oh-pagination__item oh-pagination__item--wide">
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page={{ recruitments.next_page_number }}" class="oh-pagination__link">{% trans "Next" %}</a>
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page={{ recruitments.next_page_number }}"
|
||||
class="oh-pagination__link">{% trans "Next" %}
|
||||
</a>
|
||||
</li>
|
||||
<li class="oh-pagination__item oh-pagination__item--wide">
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page={{ recruitments.paginator.num_pages }}" class="oh-pagination__link">{% trans "Last" %}</a>
|
||||
<a href="{% url 'onboarding-view' %}?{{pd}}&page={{ recruitments.paginator.num_pages }}"
|
||||
class="oh-pagination__link">{% trans "Last" %}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
@@ -123,30 +123,25 @@
|
||||
</div>
|
||||
{% else %}
|
||||
{% if request.GET.closed == 'true' %}
|
||||
<div style="height: 70vh; display:flex;align-items: center;justify-content: center;" class="">
|
||||
<div style="" class="">
|
||||
<img style="width: 190px;height: 190px; margin:0 auto;" src="{% static 'images/ui/recruitment.png' %}" class="oh-404__image d-block mb-4" alt="Page not found. 404."/>
|
||||
<h5 class="oh-404__subtitle">{% trans "At present, There are no closed recruitments." %}</h5>
|
||||
</div>
|
||||
<div class="oh-empty">
|
||||
<img src="{% static 'images/ui/search.svg' %}" class="oh-404__image" alt="Page not found. 404." />
|
||||
<h1 class="oh-empty__title">{% trans "No Records found." %}</h1>
|
||||
<p class="oh-empty__subtitle">{% trans "At present, There are no closed recruitments." %}</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<div style="height: 70vh; display:flex;align-items: center;justify-content: center;" class="">
|
||||
<div style="" class="">
|
||||
<img style="width: 190px;height: 190px; margin:0 auto;" src="{% static 'images/ui/recruitment.png' %}" class="oh-404__image d-block mb-4" alt="Page not found. 404."/>
|
||||
<h5 class="oh-404__subtitle">{% trans "At present, There is no ongoing recruitment." %}</h5>
|
||||
</div>
|
||||
<div class="oh-empty">
|
||||
<img src="{% static 'images/ui/search.svg' %}" class="oh-404__image" alt="Page not found. 404." />
|
||||
<h1 class="oh-empty__title">{% trans "No Records found." %}</h1>
|
||||
<p class="oh-empty__subtitle">{% trans "At present, There is no ongoing recruitment." %}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- stage-form -->
|
||||
<div class="oh-modal" id="editModal1" role="dialog" aria-hidden="true">
|
||||
<div class="oh-modal__dialog" style="max-width: 550px">
|
||||
<div class="oh-modal__dialog-header">
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans "Close" %}">
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans 'Close' %}">
|
||||
<ion-icon name="close-outline"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
@@ -159,7 +154,7 @@
|
||||
<div class="oh-modal" id="editModal3" role="dialog" aria-hidden="true">
|
||||
<div class="oh-modal__dialog" style="max-width: 550px">
|
||||
<div class="oh-modal__dialog-header">
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans "Close" %}">
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans 'Close' %}">
|
||||
<ion-icon name="close-outline"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
@@ -173,7 +168,7 @@
|
||||
<div class="oh-modal__dialog oh-modal__dialog--timeoff">
|
||||
<div class="oh-modal__dialog-header">
|
||||
<span class="oh-modal__dialog-title" id="editDialogDialog">{% trans "Create Task" %}</span>
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans "Close" %}">
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans 'Close' %}">
|
||||
<ion-icon name="close-outline"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
@@ -188,7 +183,7 @@
|
||||
<div class="oh-modal__dialog oh-modal__dialog--timeoff">
|
||||
<div class="oh-modal__dialog-header">
|
||||
<span class="oh-modal__dialog-title" id="editDialogDialog">{% trans "Update Task" %}</span>
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans "Close" %}">
|
||||
<button class="oh-modal__close" aria-label="Close" title="{% trans 'Close' %}">
|
||||
<ion-icon name="close-outline"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user