| Server IP : 138.197.107.151 / Your IP : 216.73.217.7 Web Server : Apache/2.4.58 (Ubuntu) System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : wpbetasites_mrakzqskir ( 1022) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/silversharkdev/storage/framework/views/ |
Upload File : |
<?php if(session('success') || session('status') || session('error') || $errors->any()): ?>
<div aria-live="polite" aria-atomic="true" class="position-relative">
<div class="toast-container position-fixed top-0 end-0 p-3" style="z-index:1080">
<?php if(session('status')): ?>
<div class="toast bg-success text-white border-0" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="5000">
<div class="d-flex justify-content-between align-items-center">
<div class="toast-body">
<?php echo e(session('status')); ?>
</div>
<button type="button" class="btn-close btn-close-white ms-2 me-1 toast-close" data-bs-dismiss="toast" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<?php endif; ?>
<?php if(session('success')): ?>
<div class="toast bg-success text-white border-0" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="5000">
<div class="d-flex justify-content-between align-items-center">
<div class="toast-body">
<?php echo e(session('success')); ?>
</div>
<button type="button" class="btn-close btn-close-white ms-2 me-1 toast-close" data-bs-dismiss="toast" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<?php endif; ?>
<?php if(session('message')): ?>
<div class="toast bg-danger text-white border-0" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="5000">
<div class="d-flex justify-content-between align-items-center">
<div class="toast-body">
<?php echo e(session('message')); ?>
</div>
<button type="button" class="btn-close btn-close-white ms-2 me-1 toast-close" data-bs-dismiss="toast" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<?php endif; ?>
<?php if(session('error')): ?>
<div class="toast bg-danger text-white border-0" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="5000">
<div class="d-flex justify-content-between align-items-center">
<div class="toast-body">
<?php echo e(session('error')); ?>
</div>
<button type="button" class="btn-close btn-close-white ms-2 me-1 toast-close" data-bs-dismiss="toast" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<?php endif; ?>
<?php if($errors->any()): ?>
<div class="toast bg-danger text-white border-0" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="7000">
<div class="d-flex justify-content-between align-items-center">
<div class="toast-body">
<ul class="mb-0">
<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li><?php echo e($error); ?></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<button type="button" class="btn-close btn-close-white ms-2 me-1 toast-close" data-bs-dismiss="toast" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php $__env->startPush('scripts'); ?>
<script>
document.addEventListener("DOMContentLoaded", function () {
const toastElList = [].slice.call(document.querySelectorAll('.toast'));
toastElList.forEach(function (toastEl) {
// Bootstrap toast instance
const toast = new bootstrap.Toast(toastEl, { delay: 5000 });
// Entry animation
setTimeout(() => toastEl.classList.add('toast-enter'), 50);
toast.show();
// Exit animation before hiding
toastEl.addEventListener('hide.bs.toast', () => {
toastEl.classList.remove('toast-enter');
toastEl.classList.add('toast-exit');
});
// Remove from DOM after animation
toastEl.addEventListener('hidden.bs.toast', () => {
toastEl.remove();
});
});
});
</script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/bloxby/resources/views/partials/messages/messages.blade.php ENDPATH**/ ?>