[UPDT] EMPLOYEE: Offline employee indication

This commit is contained in:
Horilla
2024-01-31 11:58:12 +05:30
parent 91811b39f9
commit a401c145f7
2 changed files with 4 additions and 8 deletions

View File

@@ -1,14 +1,10 @@
{% load static %}{% load i18n %}
<div
class="oh-wrapper-main"
>
<main :class="sidebarOpen ? 'oh-main__sidebar-visible' : ''">
<div class="oh-wrapper">
<div class="oh-404">
<img style=" width: 150px;height: 150px;" src="{% static 'images/ui/employees_empty.png' %}" class="oh-404__image mb-4" alt="Page not found. 404."/>
<h3 class="oh-404__subtitle">{% trans "No employee has been created yet." %}</h3>
<h5 class="oh-404__subtitle">{% trans "There are currently no employees to consider." %}</h5>
</div>
</div>
</main>
</div>
</main>

View File

@@ -11,11 +11,11 @@
<div class="d-flex flex-row-reverse p-0 mb-1">
<span class="ml-3 mr-3" onclick="$('[name=working_today]').val('false'); $('[name=working_today]').first().change(); $('.filterButton').click()" style="cursor: pointer;margin-left: 10px;">
<span class="oh-dot oh-dot--small me-1" style="background-color:rgba(128, 128, 128, 0.482)"></span>
{% trans "Not-working" %}
{% trans "Offline" %}
</span>
<span class="ml-3 mr-3" onclick="$('[name=working_today]').val('true'); $('[name=working_today]').first().change(); $('.filterButton').click()" style="cursor: pointer;margin-left: 10px;">
<span class="oh-dot oh-dot--small me-1" style="background-color:yellowgreen"></span>
{% trans "Now-Working" %}
{% trans "Online" %}
</span>
</div>
{% if perms.employee.view_employee or request.user|is_reportingmanager %}