{% extends 'base.html'|translate:lang %} {% load exfiltry %} {% load exsyntax %} {% load static %} {% load compress %} {% block head_start %} {% jscript_link 'pytigon_js/pytigon-tools.js' %} {% endblock %} {% block js_scripts_base %} {% if settings.USE_I18N %} {% if user_agent == 'webviewembeded' %} {% jscript_link 'system/jsi18n.js' %} {% else %} {% endif %} {% endif %} {% compress js %} {{ block.super }} {% jscript_link 'pytigon_js/py_runtime.js' %} {% jscript_link 'system/idiomorph.min.js' %} {% jscript_link 'vanillajs_plugins/sprintf/sprintf.min.js' %} {% jscript_link 'vanillajs_plugins/moment.js/moment-with-locales.min.js' %} {% jscript_link 'vanillajs_plugins/lz-string/lz-string.min.js' %} {% jscript_link 'vanillajs_plugins/cookie/js.cookie.js' %} {% jscript_link 'vanillajs_plugins/tether/js/tether.min.js' %} {% jscript_link 'vanillajs_plugins/nunjucks/nunjucks.min.js' %} {% jscript_link 'jquery/jquery-3.2.1.min.js' %} {% jscript_link 'jquery_plugins/select2/js/select2.full.js' %} {% jscript_link 'django_select2/django_select2.js' %} {% jscript_link 'jquery_plugins/form/jquery.form.js' %} {% jscript_link 'jquery_plugins/csrf/csrf.js' %} {% jscript_link 'jquery_plugins/unique-element-id/jquery.unique-element-id.js' %} {% jscript_link 'jquery_plugins/draggable/jquery.draggable.js' %} {% jscript_link 'jquery_plugins/perfect-scrollbar/js/perfect-scrollbar.min.js' %} {% jscript_link 'jquery_plugins/jquery-treegrid/js/jquery.treegrid.min.js' %} {% jscript_link 'jquery_plugins/daterangepicker/daterangepicker.js' %} {% jscript_link 'jquery_plugins/jquery-resizable-columns/jquery.resizableColumns.min.js' %} {% block bootstrap_js %} {% jscript_link 'bootstrap/js/bootstrap.bundle.js' %} {% endblock %} {% jscript_link 'bootstrap_plugins/bootstrap-table/bootstrap-table.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-table/bootstrap-table-locale-all.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap5-editable/js/bootstrap-editable.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-select/js/bootstrap-select.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-ladda/spin.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-ladda/ladda.min.js' %} {% jscript_link 'bootstrap_plugins/twbs-pagination/jquery.twbsPagination.min.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-typeahead/bootstrap-typeahead.js' %} {% jscript_link 'bootstrap_plugins/bootstrap-sweetalert2/sweetalert2.min.js' %} {% block theme_js_scripts %}{% endblock %} {% block ext_js_scripts %} {% endblock %} {% endcompress %} {% if pyodide %} {% endif %} {% module_link 'pytigon_js/pytigon.js' %} {% endblock %} {% block jquery_init %} {% block js_app_init %} function base_fragment_init() {} {% block component_init %} var component_init = null {% endblock %} app_init('{{prj_name}}', '{{application_type}}', '{{app_manager.get_menu_id}}', '{{ lang }}', '{{base_path}}', base_fragment_init, component_init, {% if offline_support %}true{% else %}false{% endif %}, '{{ settings.START_PAGE}}', '{{ gen_time }}' ); {% endblock %} {% endblock %} {% block jquery_ready_start %} jQuery(document).ready(function() { {% endblock %} {% block jquery_ready %} jquery_ready(); base_fragment_init(); {% endblock %} {% block jquery_ready_end %} }); {% endblock %} {% block js_scripts %} {% if form_edit or form_delete or form_info %} {% if form_ext %} {{ block.super }} {% endif %} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block js_extrascipts_init %} {% if form_edit or form_delete or form_info %} {% if form_ext %} {{ block.super }} {% endif %} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block js_script_body %} {% block jquery_ovr %} {% endblock %} {% endblock %} {% block css_links %} {% css_link 'themes/variables.css' %} {% css_link 'themes/variables_'|append_str:client_type|append_str:'.css' %} {% compress css %} {% css_link 'vanillajs_plugins/tether/css/tether.min.css' %} {% css_link 'bootstrap_plugins/bootstrap-table/bootstrap-table.css' %} {% css_link 'bootstrap_plugins/bootstrap5-editable/css/bootstrap-editable.css' %} {% css_link 'fonts/fork-awesome/css/fork-awesome.min.css' %} {% if user_agent == 'webviewembeded' %} {% endif %} {% css_link 'jquery_plugins/daterangepicker/daterangepicker.css' %} {% css_link 'bootstrap_plugins/bootstrap-select/css/bootstrap-select.min.css' %} {% css_link 'bootstrap_plugins/bootstrap-ladda/ladda-themeless.min.css' %} {% css_link 'bootstrap_plugins/bootstrap-sweetalert2/sweetalert2-bootstrap-4.min.css' %} {% css_link 'jquery_plugins/perfect-scrollbar/css/perfect-scrollbar.css' %} {% css_link 'jquery_plugins/jquery-treegrid/css/jquery.treegrid.css' %} {% css_link 'jquery_plugins/select2/css/select2.min.css' %} {% css_link 'jquery_plugins/jquery-resizable-columns/jquery.resizableColumns.css' %} {{ form.media.css }} {% css_link 'bootstrap_plugins/select2-bootstrap-5-theme/select2-bootstrap-5-theme.css' %} {% block botstrap_css %} {% if settings.BOOTSTRAP_TEMPLATE %} {% css_link 'themes/'|add:settings.BOOTSTRAP_TEMPLATE|add:'/bootstrap.min.css' %} {% else %} {% css_link 'bootstrap/css/bootstrap.min.css' %} {% endif %} {% css_link 'vanillajs_plugins/icheck-material-1.0.1/icheck-material.min.css' %} {% endblock %} {% css_link 'themes/default.css' %} {% block theme_css_links %} {% if theme %} {% css_link 'themes/'|append_str:theme|append_str:'.css' %} {% endif %} {% endblock %} {% block browser_type_css_links %} {% css_link 'themes/'|append_str:browser_type|append_str:'.css' %} {% endblock %} {% block ext_css_links %} {% endblock %} {% endcompress %} {% endblock %} {% block css_start %} {% endblock %} {% block login_header %} {% endblock %} {% block login_footer %} {% endblock %} {% block menu_start %}
{% endblock %} {% block topmenu_start %} {% comment %} {% endcomment %}
{% else %} {% endif %} {% endblock %} {% block menu_end %}
{% endblock %} {% block body_start %} {% block body_start_0 %} {% if not show_form %} {% if standard_web_browser %} {% else %} {% endif %}
{% endif %} {% endblock %} {% block form_bar %} {% endblock %} {% endblock %} {% block grid1 %} {% endblock %} {% block tabs %} {% if NO_TABS or application_type != 'modern' %} {{block.super}} {% else %}
{{block.super}} {% endif %} {% endblock %} {% block body_desktop %} {% if fragment == "all" %}
{{ block.super }}
{% else %} {{ block.super }} {% endif %} {% endblock %} {% block body_end %} {% if standard_web_browser %} {{ form.media.js }} {% endif %} {% if not show_form %}
{% endif %} {% endblock %} {% block body_init %} {% block loading-indicator: %} {% if ie %} {% else %} {% endif %} {% endblock %} {% endblock %} {% block body_footer %} {{block.super}} {% module_link '_schcomponents/components/sys-components.js' %} {% endblock %} {% block tabsort_parameters %} {% if table_type == 'datatable' %} class="tabsort {%if not not_multiple_select %}{% else %}multiple-select {% endif %}flexible_size table datatable table-hover table-striped table-sm table-condensed {%if get %}table_get{% endif %}" data-method="get" data-url="{{table_path_and_filter}}{% if 'form' in target %}{{kwargs.target|replace:'form|json'}}{% else %}json{% endif %}/{% if get %}{{get}}/{% else %}{{vtype}}/{% endif %}" data-side-pagination="server" data-pagination="true" data-page-size="64" data-page-list="[64]" data-search="true" data-multiple-select-row="true" data-sortable="{% if sort %}true{% else %}false{% endif %}" data-toolbar="#{{uuid}}_toolbar" data-locale="pl-PL" data-show-columns="true" data-icons-prefix="fa" data-icons="icons" data-id-field="id" data-unique-id="id" data-show-button-icons="true" data-show-refresh="true" data-show-fullscreen="true" data-show-toggle="true" data-loading-template="loading_template" data-buttons-align="right" data-buttons="datatable_buttons" {% if not_multiple_select %}data-click-to-select="false"{% else %}data-click-to-select="true"{% endif %} data-mobile-responsive="true" data-resizable="false" {% if table_subtype and table_subtype == 'table_with_details' %}data-autoselect="true"{% endif %} {% else %} class="tabsort table table-hover table-sm table-striped table-bordered {%if get %}table_get{% endif %}" {% if table_subtype and table_subtype == 'table_with_details' %}data-autoselect="true"{% endif %} {% endif %} {% endblock %} {% block row_edit_header %} {% if form %} {% if form.errors %} {% endif %} {% endif %} {% endblock %} {% block row_edit_form %} {% if form %} {% if field %} {{form|get_value:field|field_as_widget:"width:100%,height:calc(99.9% - 20)" }} {% else %} {% block row_edit %} {% form %} {% endform %} {% endblock %} {% endif %} {% endif %} {% endblock %} {% block page_start %} {% if not show_form %} {{block.super}} {% endif %} {% endblock %} {% block page_head %} {% if not show_form %} {{block.super}} {% endif %} {% endblock %} {% block page_end %} {% if not show_form %} {{block.super}} {% endif %} {% endblock %}