%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/www/admin1/vendor/pcinaglia/laraupdater/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/www/admin1/vendor/pcinaglia/laraupdater/views/notification.blade.php
<!doctype html>
<html lang="{{ app()->getLocale() }}">

<head>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"
        integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"></script>
</head>

<body>
 
    <div id="update_notification" class="toast" style="display:none; position: absolute; bottom: 10px; right: 10px;">
        <div class="toast-header">
            <strong class="me-auto">{{trans("laraupdater.Update_Available")}}</strong>
            <span id="update_version" class="badge rounded-pill bg-info text-dark"></span>
            <button type="button" class="btn-close" data-bs-dismiss="toast"></button>
        </div>
        <div class="toast-body">
            <span id="update_description"></span>
            <hr>
            <button type="button" onclick="update();" class="btn btn-info btn-sm update_btn">{{trans('laraupdater.Update_Now')}}</button>
        </div>
    </div>

    <script>
        $(document).ready(function() {
            $.ajax({
                type: 'GET',
                url: 'updater.check',
                async: false,
                success: function(response) {
                    if(response != ''){
                        $('#update_version').text(response.version);
                        $('#update_description').text(response.description);
                        $('#update_notification').show();
                    }
                }
            });
        });

        function update() {
            $("#update_description").show();
            $(".update_btn").html('{{trans("laraupdater.Updating")}}');
            $.ajax({
                type: 'GET',
                url: 'updater.update',
                success: function(response) {
                    if(response != ''){
                        $('#update_description').append(response);
                        $(".update_btn").html('{{trans("laraupdater.Updated")}}');
                        $(".update_btn").attr("onclick","");
                    }
                },
                error: function(response) {
                    if(response != ''){
                        $('#update_description').append(response);
                        $(".update_btn").html('{{trans("laraupdater.error_try_again")}}');
                    }
                }
            });
        }
    </script>
</body>
</html>

VaKeR 2022