CHANGE_UI_Issues - VADIVEL J 2025-09-22

This commit is contained in:
vadivelJ96 2025-09-22 17:21:08 +05:30
parent 90b0194bdd
commit 909ded80b4
6 changed files with 24 additions and 16 deletions

View File

@ -676,6 +676,7 @@ class ThzController extends BaseController
$mailTemplate = $this->ticketMailTemplateModel->where('template_name', $templateName)->findAll()[0] ?? []; $mailTemplate = $this->ticketMailTemplateModel->where('template_name', $templateName)->findAll()[0] ?? [];
if (empty($mailTemplate)) { if (empty($mailTemplate)) {
log_message('error','No Template Found');
return; return;
} }

View File

@ -160,12 +160,17 @@
<script> <script>
$(document).ready(function () { $(document).ready(function () {
var defaultTitle = `<h5>Welcome <?= esc(get_session_userdata()->first_name ?? 'NOT SET') ?></h5>`; var defaultTitle = `<h3>Welcome <?= esc(get_session_userdata()->first_name ?? 'NOT SET') ?></h3>`;
var pageName = "<?= esc($page_name ?? '') ?>"; var pageName = "<?= esc($page_name ?? '') ?>";
var titleHtml = (pageName && pageName !== "Dashboard") var titleHtml = (pageName && pageName !== "Dashboard")
? `<h5>${pageName}</h5>` ? `<h3>${pageName}</h3>`
: defaultTitle; : " ";
if(pageName && pageName == "Dashboard"){
titleHtml = `<h3>Welcome <?= esc(get_session_userdata()->first_name ?? 'NOT SET') ?></h3>`;
}
$(".top-navbar-title").html(titleHtml); $(".top-navbar-title").html(titleHtml);

View File

@ -160,6 +160,7 @@
flex-shrink: 1 !important; flex-shrink: 1 !important;
justify-content: space-between; justify-content: space-between;
margin-top: 20px; margin-top: 20px;
margin-left:20px;
} }
@ -207,13 +208,19 @@
background-color: #D4F5F6; background-color: #D4F5F6;
z-index: 700; z-index: 700;
padding: 0 !important; padding: 0 !important;
height: 90% !important; height: 90vh; /* full screen height */
display: flex;
flex-flow:column nowrap;
flex-shrink: 1 !important;
position: fixed !important; position: fixed !important;
display: flex;
flex-direction: column;
} }
/* every <li> inside should be allowed to shrink */
.left-side-menu li {
flex-shrink: 1 !important;
min-height: 0 !important; /* prevents flex bugs */
}
.img-inactive { .img-inactive {
background-color: white; background-color: white;
margin: 0px 12px; margin: 0px 12px;

View File

@ -12,7 +12,7 @@
<h5 class="m-1"> <h5 class="m-1">
<div class="row"> <div class="row">
<div class="col-md-6" style="position: relative;left: 17px;"> <div class="col-md-6" style="position: relative;left: 17px;">
<h4 style="text-align: left; margin-left:30px;">Lead Filter</h4> <h4 style="text-align: left; margin-left:10px;">Filter</h4>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<a style="text-align: right;" id="toggleIcon" class="text-dark float-right" <a style="text-align: right;" id="toggleIcon" class="text-dark float-right"

View File

@ -167,15 +167,12 @@ custom-dropdown-menu {
} }
</style> </style>
<div class="col-12">
<h4 class="ml-1 mb-3"> <span class="font-color-black">Endorsement</span> </h4>
</div>
<div class="col-12" id="endorsement_filter"> <div class="col-12" id="endorsement_filter">
<div id="accordion" class="mb-3"> <div id="accordion" class="mb-3">
<label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center"> <label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center">
<span class="font-color-black">Filters</span> <span class="font-color-black ml-2">Filters</span>
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne" <a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
aria-expanded="true"> aria-expanded="true">
<i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i> <i id="icon" class="mdi mdi-chevron-down mr-1 text-primary" style="font-size: 28px;"></i>

View File

@ -5,14 +5,12 @@
} }
</style> </style>
<div class="col-12">
<h3 class="ml-1 mb-3"> <span class="font-color-black">BDS</span> </h3>
</div>
<div class="col-12" id="bds_filter"> <div class="col-12" id="bds_filter">
<div id="accordion" class="mb-3"> <div id="accordion" class="mb-3">
<label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center"> <label id="filterAccordion" class="m-1 d-flex justify-content-between align-items-center">
<span class="font-color-black">Filters</span> <span class="font-color-black">Filter</span>
<a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne" <a id="toggleIcon" class="text-dark float-right" data-toggle="collapse" href="#collapseOne"
aria-expanded="true"> aria-expanded="true">
<i id="icon" class="mdi mdi-chevron-up mr-1 text-primary" style="font-size: 28px;"></i> <i id="icon" class="mdi mdi-chevron-up mr-1 text-primary" style="font-size: 28px;"></i>