VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /var/www/html/libs/absol-card/demo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/libs/absol-card/demo/dashboard.html
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dashboard</title>
    <link rel="stylesheet"
          href="//cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/5.3.45/css/materialdesignicons.css">
    <link rel="stylesheet" href="https://absol.cf/hightlight/styles/default.css">
    <script src="https://absol.cf/hightlight/highlight.pack.js"></script>
    <script src="../dist/absol-card.js?timestamp=<?php  echo stat('../dist/absol-card.js')['mtime'];?>"></script>
</head>
<body>
<style>
    html, body {
        margin: 0;
        font-family: Roboto, sans-serif;
        font-size: 14px;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    body {
        padding: 5px;
        /**/
    }


</style>
<script class="viewable" type="text/javascript">
    /* global absol*/
    (function () {
        if (absol.BrowserDetector.isMobile) {
            document.body.classList.add('am-mobile-theme');
        }
        var _ = absol._;
        var $ = absol.$;
        var screenSize = absol.Dom.getScreenSize();


        var mGridster = _({
            tag: 'dbgridster',
            style: {
                width: '100%',
                height: '100%'
            },
            props: {
                cellSize: 50
            },
            on: {
                positionlistchange: function (event) {
                    console.log(event.newPositionList);
                }
            }
        }).addTo(document.body);
        while (true) {
            var position = mGridster.findAvailableNewRect(8, 8);
            if (position.y + position.height > mGridster.nRow) break;
            var widget = _({
                tag: 'dbwidget',
                props: {
                    title: 'Report ' + [position.x, position.y].join(','),
                    gridX: position.x,
                    gridY: position.y,
                    gridWidth: 8,
                    gridHeight: 8,
                    waiting: true
                },
                on: {
                    pressfilter: function () {
                        alert('pressfilter event of ' + this.id);
                    }
                },
                child: [
                    {
                        style: {
                            textAlign: 'center'
                        },
                        child: { text: 'Browser' }
                    },
                    {
                        tag: 'piechart',
                        style: {
                            width: '90%',
                            height: '90%',
                            minWidth: '300px',
                            minHeight: '300px'
                        },
                        props: {
                            title: "",
                            pieces: [
                                {
                                    name: 'IE',
                                    value: 12,
                                    valueText: '12%'
                                },
                                {
                                    name: 'Firefox',
                                    value: 15,
                                    valueText: '15%'
                                },
                                {
                                    name: 'Other',
                                    value: 11,
                                    valueText: '11%'
                                },
                                {
                                    name: 'Chrome',
                                    value: 61,
                                    valueText: '61%'
                                }
                            ]
                        }
                    }
                ]
            }).addTo(mGridster);
            setTimeout(function (widget) {
                widget.waiting = false;
            }.bind(null, widget), 5000 * Math.random() >> 0);
        }
    })
    ();
</script>
<!--<script src="https://absol.cf/absol/demo/autohightlighting.js"></script>-->
</body>
</html>

VaKeR 2022