{% extends 'base.html'|translate:lang %} {% load exfiltry %} {% load exsyntax %} {% load static %} {% load compress %} {% block head_start %} {% endblock %} {% block js_scripts_base %} {% if settings.USE_I18N %} {% endif %} {% compress js %} {{ block.super }} {% jscript_link 'pytigon_js/py_runtime.js' %} {% jscript_link 'pytigon-lib.js' %} {% block theme_js_scripts %}{% endblock %} {% block ext_js_scripts %} {% endblock %} {% endcompress %} {% if pyodide %} {% endif %} {% module_link 'pytigon_js/pytigon.js' %} {% 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 page_footer_scripts %} {% if form_edit or form_delete or form_info %} {% if form_ext %} {{ block.super }} {% endif %} {% else %} {{ block.super }} {% endif %} {% endblock %} {% block css_links %} {% css_link 'themes/variables.css' %} {% css_link 'themes/variables_'|append_str:client_type|append_str:'.css' %} {% compress css %} {% css_link 'pytigon-lib.css' %} {% css_link 'fonts/fork-awesome/css/fork-awesome.min.css' %} {% if user_agent == 'webviewembeded' %} {% endif %} {{ form.media.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 %} {% 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 login_header %} {% endblock %} {% block login_footer %} {% endblock %} {% block menu_start %}
{% endblock %} {% block topmenu_start %}
{% 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 %}