PHP Classes

File: resources/views/backend/layouts/partials/flash-message.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   resources/views/backend/layouts/partials/flash-message.blade.php   Download  
File: resources/views/backend/layouts/partials/flash-message.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: LaraCMS
Content management system based on Laravel
Author: By
Last change:
Date: 1 year ago
Size: 445 bytes
 

Contents

Class file image Download

@if (Session::has('success'))
    <script>
        toastr.success( "{!! Session::get('success') !!}", 'Success',
            { "showMethod": "fadeIn", "hideMethod": "fadeOut", timeOut: 2000 }
        );
    </script>
@endif

@if (Session::has('error'))
    <script>
        toastr.error( "{!! Session::get('error') !!}", 'Error',
            { "showMethod": "fadeIn", "hideMethod": "fadeOut", timeOut: 5000 }
        );
    </script>
@endif