FIX_ALIGINMENT_AND_IMAGE_SIZE : RV

This commit is contained in:
VENKATESHWARAN 2024-03-29 12:27:40 +05:30
parent 58aec88033
commit b624365476
3 changed files with 6 additions and 5 deletions

View File

@ -375,6 +375,7 @@ input:checked + .slider:before {
var fileExtension = file.name.split('.').pop().toLowerCase();
if (!allowedExtensions.includes(fileExtension) || file.size > 200 * 1024) {
toastr.warning('Maximum file size allowed is 200KB.', 'File size exceeds limit.');
fileInput.value = ""; // Clear the file input
document.getElementById("uploadPreview").src = "http://ssl.gstatic.com/accounts/ui/avatar_2x.png"; // Remove the preview image
} else {
@ -408,6 +409,7 @@ input:checked + .slider:before {
if (fileSize > 200) {
toastr.warning('Maximum file size allowed is 200KB.', 'File size exceeds limit.');
$("#uploadPreview").attr("src", "http://ssl.gstatic.com/accounts/ui/avatar_2x.png");
input.value = "";
}
// Check image dimensions

View File

@ -375,7 +375,7 @@
<a href="javascript:void(0);" class="dropdown-item notify-item">
<div class="notify-icon bg-secondary">
<i class="mdi mdi-heart"></i>
</div>
</div>composer create-project laravel/laravel:^11.0 example-app
<p class="notify-details">Carlos Crouch liked
<b>Admin</b>
<small class="text-muted">13 days ago</small>
@ -502,7 +502,7 @@
<!-- LOGO -->
<div class="logo-box">
<a href="https://localhost/nhance/dashboard/view" class="logo logo-dark text-center">
<a href="<?= base_url('/dashboard/view')?>" class="logo logo-dark text-center">
<span class="logo-sm">
<img src="<?= base_url()."public"; ?>/assets/images/logo-sm-dark.png" alt="" height="24">
<!-- <span class="logo-lg-text-light">nHance</span> -->
@ -513,7 +513,7 @@
</span>
</a>
<a href="https://localhost/nhance/dashboard/view" class="logo logo-light text-center">
<a href="<?= base_url('/dashboard/view')?>" class="logo logo-light text-center">
<span class="logo-sm">
<img src="<?= base_url()."public"; ?>/assets/images/n.png" alt="" height="24">
</span>

View File

@ -93,8 +93,7 @@
<th class="font-weight-medium">Sub Type</th>
<th class="font-weight-medium">Credit</th>
<th class="font-weight-medium">Debit</th>
<th class="font-weight-medium">Balnce</th>
<th class="font-weight-medium">Balance</th>
</tr>
</thead>