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/base/templates/multi_approval_condition/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/erp/base/templates/multi_approval_condition/condition_create_form.html
{% load i18n %} {% if messages %}
<div class="oh-wrapper">
  {% for message in messages %}
  <div class="oh-alert-container">
    <div class="oh-alert oh-alert--animated {{message.tags}}">
      {{ message }}
    </div>
  </div>
  {% endfor %}
  <script>
    setTimeout(function () {
      $(".oh-modal__close").click();
    }, 1000);
  </script>
</div>
{% endif %}
<div class="oh-modal__dialog-header pb-0">
  <h2 class="oh-modal__dialog-title" id="objectUpdateModalLabel">
    {% trans "Multiple Approval Condition" %}
  </h2>
  <button
    class="oh-modal__close"
    aria-label="Close"
    {% if messages %}
      hx-get="{% url 'hx-multiple-approval-condition' %}"
      hx-target="#multipleApproveCondition"
    {% endif %}
  >
    <ion-icon name="close-outline"></ion-icon>
  </button>
</div>
<div class="oh-modal__dialog-body">
  <form
    hx-post="{% url 'multiple-level-approval-create' %}"
    hx-target="#objectCreateModalTarget"
    class="oh-profile-section pt-0"
  >
    <div class="row">
      <div class="col-12 col-sm-12 col-md-6 col-lg-6">
        <div class="oh-input__group">
          <label class="oh-input__label" for="{{form.department.id_for_label}}"
            >{% trans "Department" %}</label
          >
          {{form.department }} {{form.department.errors }}
        </div>
      </div>
      <div class="col-12 col-sm-12 col-md-6 col-lg-6">
        <div class="oh-input__group">
          <label
            class="oh-input__label"
            for="{{form.condition_field.id_for_label}}"
            >{% trans "Condition Field" %}</label
          >
          {{form.condition_field }} {{form.condition_field.errors}}
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-12 col-sm-12 col-md-6 col-lg-6">
        <div class="oh-input__group">
          <label
            class="oh-input__label"
            for="{{ form.condition_operator.id_for_label }}"
          >
            {% trans "Condition Operator" %}
          </label>
          {{ form.condition_operator }} {{ form.condition_operator.errors }}
        </div>
      </div>
      <div class="col-12 col-sm-12 col-md-6 col-lg-6" id="conditionValueDiv">
        <div class="oh-input__group">
          <label
            class="oh-input__label"
            for="{{ form.condition_value.id_for_label }}"
          >
            {% trans "Condition Value" %}
          </label>
          {{ form.condition_value }} {{ form.condition_value.errors }}
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-12 col-sm-12 col-md-6 col-lg-6">
        <div class="oh-input__group">
          <label
            class="oh-input__label"
            for="{{ form.company_id.id_for_label }}"
          >
            {% trans "Company" %}
          </label>
          {{ form.company_id }} {{ form.company_id.errors }}
        </div>
      </div>
    </div>
    <div class="oh-input__group">
      <label
        class="oh-input__label"
        for="{{ form.multi_approval_manager.id_for_label }}"
      >
        {% trans "Approval Managers" %}
      </label>
      {{ form.multi_approval_manager }} {{ form.multi_approval_manager.errors }}
    </div>
    <div id="multiApprovalManager_0" class="pt-2" style="text-align: end">
      <a
        hx-target="#multiApprovalManager_0"
        hx-swap="outerHTML"
        hx-get="{% url 'add-more-approval-managers' %}"
        role="button"
        style="color: green"
        >{% trans "Add more managers.." %}</a
      >
    </div>
    <div class="oh-modal__dialog-footer pb-0" style="padding: 1rem 0.2rem 1rem">
      <button type="submit" class="oh-btn oh-btn--secondary">
        {% trans "Apply" %}
      </button>
    </div>
  </form>
</div>
<script>
  $(document).ready(function () {
    $("select").on("select2:select", function (e) {
      $(this).closest("select")[0].dispatchEvent(new Event("change"));
    });
  });
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit