[ADD] Help text in employee

This commit is contained in:
Horilla
2023-09-13 16:56:58 +05:30
parent b4d0378d94
commit 3e6f545f0b
4 changed files with 20 additions and 2 deletions

View File

@@ -108,6 +108,7 @@
hx-get="{% url 'employee-filter-view' %}?view=list"
hx-target="#view-container"
class="oh-btn oh-btn--view"
title='{% trans "List" %}'
><ion-icon name="list-outline"></ion-icon
></a>
</li>
@@ -118,6 +119,7 @@
hx-get="{% url 'employee-filter-view' %}?view=card"
hx-target="#view-container"
class="oh-btn oh-btn--view"
title='{% trans "Card" %}'
><ion-icon name="grid-outline"></ion-icon
></a>
</li>

View File

@@ -44,7 +44,7 @@
</a>
<div class="oh-kanban-card__dots">
<div class="oh-dropdown" x-data="{show: false}">
<button class="oh-btn oh-btn--transparent text-muted p-3" @click="show = !show">
<button class="oh-btn oh-btn--transparent text-muted p-3" @click="show = !show" title='{% trans "Actions" %}'>
<ion-icon name="ellipsis-vertical-sharp" role="img" class="md hydrated" aria-label="ellipsis vertical sharp"></ion-icon>
</button>
<div class="oh-dropdown__menu oh-dropdown__menu--dark-border oh-dropdown__menu--right" x-show="show" @click.outside="show = false" style="display: none;">

View File

@@ -21,6 +21,7 @@
<input
type="checkbox"
class="oh-input oh-input__checkbox mt-1 mr-2 all-employee"
title='{% trans "Select All" %}'
/>
</div>
<div hx-target="#view-container" hx-get="{% url 'employee-view-list' %}?{{pd}}&orderby=employee_first_name">

View File

@@ -14,7 +14,22 @@
}
</style>
<div class="oh-sticky-table mt-4">
<div class="d-flex flex-row-reverse">
<span class="m-3">
<span class="oh-dot oh-dot--small me-1" style="background-color:gray"></span>
{% trans "Cancelled" %}
</span>
<span class="m-3">
<span class="oh-dot oh-dot--small me-1" style="background-color:orange"></span>
{% trans "Requested" %}
</span>
<span class="m-3" >
<span class="oh-dot oh-dot--small me-1" style="background-color:yellowgreen"></span>
{% trans "Approved" %}
</span>
</div>
<div class="oh-sticky-table">
<div class="oh-sticky-table__table oh-table--sortable">
<div class="oh-sticky-table__thead">
<div class="oh-sticky-table__tr">