[UPDT] EMPLOYEE: Updated employee app by adding empty page styles for policies and disciplinary pages
This commit is contained in:
@@ -120,16 +120,13 @@
|
||||
{% include 'disciplinary_actions/disciplinary_records.html' %}
|
||||
</div>
|
||||
{% else %}
|
||||
<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/legal.png' %}"
|
||||
class="oh-404__image mb-4" alt="Page not found. 404." />
|
||||
<h5 class="oh-404__subtitle">{% trans "There are currently no disciplinary actions to consider." %}</h5>
|
||||
</div>
|
||||
<div class="oh-wrapper">
|
||||
<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 are currently no disciplinary actions to consider." %}</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
|
||||
@@ -2,19 +2,16 @@
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
{% include 'policies/nav.html' %}
|
||||
<div class="oh-wrapper" id="policyContainer">
|
||||
{% if policies %}
|
||||
{% include 'policies/records.html' %}
|
||||
{% else %}
|
||||
<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/insurance-policy.png' %}" class="oh-404__image mb-4" alt="Page not found. 404."/>
|
||||
<h5 class="oh-404__subtitle">{% trans "There are currently no policies to consider." %}</h5>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% include 'policies/nav.html' %}
|
||||
<div class="oh-wrapper" id="policyContainer">
|
||||
{% if policies %}
|
||||
{% include 'policies/records.html' %}
|
||||
{% else %}
|
||||
<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 are currently no policies to consider." %}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user