search fixes
This commit is contained in:
parent
d4844a80c4
commit
834ca81296
@ -6,7 +6,7 @@
|
|||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
{% block vendors %}<a class="nav-link active">{{ _("Customers") |capfirst }}</a>{% endblock %}
|
{% block vendors %}<a class="nav-link active">{{ _("Customers") |capfirst }}</a>{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if customers or request.GET.q%}
|
{% if customers or request.GET.q %}
|
||||||
<div class="row g-3 mt-4">
|
<div class="row g-3 mt-4">
|
||||||
<h2 class="mb-2">
|
<h2 class="mb-2">
|
||||||
{{ _("Customers") |capfirst }}
|
{{ _("Customers") |capfirst }}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
{{ _("Bank Accounts") }}
|
{{ _("Bank Accounts") }}
|
||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if bank_accounts %}
|
{% if bank_accounts or request.GET.q%}
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
<div class="d-flex justify-content-between mb-2">
|
<div class="d-flex justify-content-between mb-2">
|
||||||
<h3 class="">{% trans "Bank Accounts" %}<span class="fas fa-bank ms-2 text-primary"></span></h3>
|
<h3 class="">{% trans "Bank Accounts" %}<span class="fas fa-bank ms-2 text-primary"></span></h3>
|
||||||
|
|||||||
@ -2,38 +2,7 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
{% comment %} .empty-state-container {
|
|
||||||
background-color: #ffffff;
|
|
||||||
padding: 50px;
|
|
||||||
border-radius: 5px; /* Rounded corners */
|
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); /* Subtle shadow */
|
|
||||||
text-align: center;
|
|
||||||
max-width: 70rem; /* Max width for content - made wider */
|
|
||||||
width: 90%; /* Fluid width */
|
|
||||||
margin: 0px auto; /* Added margin-top and auto for horizontal centering */
|
|
||||||
max-height: 40vh; /* Added min-height to control the height */
|
|
||||||
display: flex; /* Use flexbox for vertical centering of content */
|
|
||||||
flex-direction: column; /* Stack children vertically */
|
|
||||||
justify-content: center; /* Center content vertically */
|
|
||||||
align-items: center; /* Center content horizontally */
|
|
||||||
}
|
|
||||||
.empty-state-image {
|
|
||||||
max-width: 90%; /* Responsive image size */
|
|
||||||
height: 90%;
|
|
||||||
|
|
||||||
border-radius: 10px; /* Rounded corners for image */
|
|
||||||
}
|
|
||||||
.empty-state-title {
|
|
||||||
color: #343a40; /* Dark text for title */
|
|
||||||
font-weight: 600;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
.empty-state-text {
|
|
||||||
color: #6c757d; /* Muted text for description */
|
|
||||||
margin-bottom: 30px;
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
/* No specific styles for .btn-add-new or .message-box are needed here as per previous updates */ {% endcomment %}
|
|
||||||
|
|
||||||
.empty-state-container {
|
.empty-state-container {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
{{ _("Quotations") }}
|
{{ _("Quotations") }}
|
||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if estimates %}
|
{% if estimates or request.GET.q %}
|
||||||
<div class="row g-3 mt-4 mb-4">
|
<div class="row g-3 mt-4 mb-4">
|
||||||
<div class="row g-3 justify-content-between mb-4">
|
<div class="row g-3 justify-content-between mb-4">
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
{%block title%} {%trans 'Sale Orders'%} {%endblock%}
|
{%block title%} {%trans 'Sale Orders'%} {%endblock%}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if txs %}
|
{% if txs or request.GET.q%}
|
||||||
<section class="mt-2">
|
<section class="mt-2">
|
||||||
<div class="row overflow-x-auto whitespace-nowrap -mx-2 sm:mx-0">
|
<div class="row overflow-x-auto whitespace-nowrap -mx-2 sm:mx-0">
|
||||||
|
|
||||||
|
|||||||
2
templates/vendors/vendors_list.html
vendored
2
templates/vendors/vendors_list.html
vendored
@ -7,7 +7,7 @@
|
|||||||
{% block vendors %}<a class="nav-link active">{{ _("Vendors") |capfirst }}</a>{% endblock %}
|
{% block vendors %}<a class="nav-link active">{{ _("Vendors") |capfirst }}</a>{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% if vendors %}
|
{% if vendors or request.GET.q%}
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
<div class="d-flex justify-content-between mb-2">
|
<div class="d-flex justify-content-between mb-2">
|
||||||
<h3 class="">
|
<h3 class="">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user