403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/erp/horilla_audit/templates/horilla_audit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/erp/horilla_audit/templates/horilla_audit/horilla_audit_log.html
{% load i18n %}{% load widget_tweaks %} {% load horillafilters %}
<script>
    function auditDynamicTag(optionElement) {
        var val = optionElement.val();
        $.ajax({
            type: "post",
            url: "/horilla-audit-log",
            data: {
                csrfmiddlewaretoken: getCookie("csrftoken"),
                title: val,
            },
            success: function (response) {
                optionElement.val(response.id);
            },
        });
    }
</script>
<div class="oh-modal" id="historyModal" role="dialog" aria-labelledby="historyModal" aria-hidden="true">
    <div class="oh-modal__dialog">
        <div class="oh-modal__dialog-header">
            <h2 class="oh-modal__dialog-title" id="historyModalLabel">
                {% trans "Why this change?" %}
            </h2>
            <a class="oh-modal__close" aria-label="Close" onclick='$("#historyModal").removeClass("oh-modal--show")'>
                <ion-icon name="close-outline"></ion-icon>
            </a>
        </div>
        <div class="oh-modal__dialog-body" id="historyModalBody">
            {{form.as_p}}
            <div class="d-flex flex-row-reverse">
                <button type="submit"
                    class="oh-btn oh-btn--secondary mt-2 mr-0 pl-4 pr-5 oh-btn--w-100-resp history-modal-button">
                    {% trans "Save" %}
                </button>
            </div>
        </div>
    </div>
</div>
<script>
    $("#historyModalBody").ready(function () {
        $("form[method=post] button").click(function (e) {
            if ($(this).closest("form").find("#historyModal").length && !$(this).closest("form").find("#historyModal.oh-modal--show").length) {
                e.preventDefault();
                $("#historyModal").addClass("oh-modal--show");
            }
        });
    });
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit