%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/pyxsoft/templates/
Upload File :
Create Path :
Current File : //opt/pyxsoft/templates/codeview.tmpl

<!doctype html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{{ HTMLTitle }}</title>
    <meta name="author" content="Pyxsoft Anti Hackers">
    <link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <!-- Load jQuery -->
    <script src="/js/jquery-3.3.1-min.js"></script>
</head>
<style>
    body {
        background-color: #eeeeee;
    }

    #txt_code {
        background-color: white;
        overflow: auto;
        /* height: 350px; */
        width: 100%;
        font: 12px "Courier New"
    }
</style>

<body >
<div class="container-fluid" id="maindiv">
    <div class="row" id="divheader">
        <table class="table table-bordered table-condensed" style="margin-bottom: 0px;">
            <tr><td>Filename:</td><td>{{ Filename }}</td></tr>
            <tr><td>Malware:</td><td>{{ malware }}</td></tr>
            <tr><td>MD5:</td><td>{{ md5 }}</td></tr>
            <tr><td>SHA256:</td><td>{{ sha256 }}</td></tr>
        </table>
    </div>
    <div class="row">
            <textarea readonly="readonly" id='txt_code' class="form-control" style="resize: none;">{{ Contenido }}</textarea>
    </div>
    <div class="row" id="footer" style="padding-top:2px; padding-left:5px;">
        <a href="javascript:closeWindow();" class="btn btn-primary">Close</a>
    </div>
</div>

<!-- Core scripts -->
<script src="/js/bootstrap.min.js"></script>

<script>
    $(function() {
        rresize();
        $(window).resize(rresize);
    });

    function rresize() {
        var viewportWidth = $(window).width();
        var viewportHeight = $(window).height();
        var th=viewportHeight - $('#footer').height() - $('#divheader').height() -15;
        $('#txt_code').height(th);
        console.log(viewportHeight)
    }

        function closeWindow() {
            window.open('','_parent','');
            window.close();
        }
</script>
</body>
</html>

Zerion Mini Shell 1.0