CHANGE_UI_FIX - VADIVEL J 2025-08-23

This commit is contained in:
vadivelJ96 2025-08-23 00:29:14 +05:30
parent 3a2f490767
commit c01c272411

View File

@ -51,7 +51,7 @@
} }
.recard-scroll{ .recard-scroll{
overflow-y:auto; overflow-y:auto;
height:295px; height:350px;
} }
.maincard{ .maincard{
@ -62,6 +62,7 @@
.conversation-card, .conversation-card,
.conversation-card .card-header, .conversation-card .card-header,
.conversation-card .card-body { .conversation-card .card-body {
background: #F5FFFF !important; background: #F5FFFF !important;
} }
@ -78,6 +79,13 @@
overflow-y:auto; overflow-y:auto;
box-shadow: 0 2px 4px 0 #00000040; box-shadow: 0 2px 4px 0 #00000040;
} }
hr{
margin-top: 5px;
margin-bottom: 5px;
}
</style> </style>
@ -192,33 +200,36 @@
<!-- Conversation Card --> <!-- Conversation Card -->
<div class="card mb-3 conversation-card"> <div class="card mb-3 conversation-card">
<div class="card-header border-0"> <div class="card-header border-0 p-2 ">
<h5 class="mb-0" style="font-size:15px;">Conversation</h5> <h5 class="mb-2" style="font-size:15px;">Conversation</h5>
<hr/> <hr>
</div> </div>
<div class="card-body pt-0 recard-scroll"> <div class="card-body pt-0 recard-scroll" style="padding-left: 15px !important;">
<?php if(!empty($notes)): ?> <?php if(!empty($notes)): ?>
<?php foreach($notes as $i => $conv): ?> <?php foreach($notes as $i => $conv): ?>
<!-- Top Row: Message + Badge --> <!-- Top Row: Message + Badge -->
<div class="d-flex justify-content-between align-items-start"> <div class="d-flex justify-content-between align-items-start mb-2">
<p class="mb-1 mr-4"><?= $conv['notes'] ?></p> <div class="flex-grow-1 text-break">
<!-- <?php if(!empty($conv['notes_by'])): ?> <span class="mb-1 mr-4"><?= $conv['notes'] ?></span>
<span class="badge bg-warning text-dark"><?= $conv['notes_by'] ?></span> </div>
<?php endif; ?> -->
<?php if (!empty($conv['notes_type']) && $conv['notes_type'] === "Internal"): ?> <?php if (!empty($conv['notes_type']) && $conv['notes_type'] === "Internal"): ?>
<span class="badge bg-warning text-dark"><?= $conv['notes_type'] ?></span> <div>
<?php endif; ?> <span class="badge" style="background-color:#E26828 ;color: white!important;"><?= $conv['notes_type'] ?></span>
</div> </div>
<?php endif; ?>
</div>
<!-- Bottom Row: Name + Date --> <!-- Bottom Row: Name + Date -->
<div class="d-flex justify-content-between small text-muted"> <div class="d-flex justify-content-between small text-muted mb-1">
<span><i class="mdi mdi-account"></i> <?= $conv['name'] ?></span> <span><i class="mdi mdi-account"></i> <?= $conv['name'] ?></span>
<span><?= date("j F Y h:i a", strtotime($conv['created_at'])) ?></span> <span><?= date("j F Y h:i a", strtotime($conv['created_at'])) ?></span>
</div> </div>
<?php echo $i < count($notes)-1 ? '<hr/>' : ''; ?> <?php echo $i < count($notes)-1 ? '<hr>' : ''; ?>
<?php endforeach; ?> <?php endforeach; ?>
<?php else: ?> <?php else: ?>