YetiForceCompany/YetiForceCRM

View on GitHub
layouts/basic/modules/Settings/ConfigEditor/Detail.tpl

Summary

Maintainability
Test Coverage
{*<!-- {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*}
{strip}
    <!-- tpl-Settings-ConfigEditor-Detail -->
    <div class="verticalScroll">
        <div class="o-breadcrumb widget_header row">
            <div class="col-md-8">
                {include file=\App\Layout::getTemplatePath('BreadCrumbs.tpl', $QUALIFIED_MODULE)}
            </div>
        </div>
        <div>
            <ul id="tabs" class="nav nav-tabs my-2 mr-0" data-tabs="tabs">
                <li class="nav-item">
                    <a class="nav-link {if $ACTIVE_TAB eq 'Main'}active{/if}" href="#Main" data-toggle="tab" data-name="Main">
                        <span class="fas fa-sliders-h mr-2"></span>{\App\Language::translate('LBL_MAIN_CONFIG', $QUALIFIED_MODULE)}
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {if $ACTIVE_TAB eq 'Relation'}active{/if}" href="#Relation" data-toggle="tab" data-name="Relation">
                        <span class="adminIcon-modules-relations mr-2"></span>{\App\Language::translate('LBL_RELATION_CONFIG', $QUALIFIED_MODULE)}
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {if $ACTIVE_TAB eq 'Performance'}active{/if}" href="#Performance" data-toggle="tab" data-name="Performance">
                        <span class="fa-solid fa-gauge-high mr-2"></span>{\App\Language::translate('LBL_PERFORMANCE', $QUALIFIED_MODULE)}
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link {if $ACTIVE_TAB eq 'Branding'}active{/if}" href="#Branding" data-toggle="tab" data-name="Branding">
                        <span class="fas fa-globe mr-2"></span>{\App\Language::translate('LBL_BRAND_DATA', $QUALIFIED_MODULE)}
                    </a>
                </li>
            </ul>
        </div>
        <div id="my-tab-content" class="tab-content">
            <div class="js-tab tab-pane {if $ACTIVE_TAB eq 'Main'}active{/if}" id="Main" data-name="Main" data-js="data">
                {include file=\App\Layout::getTemplatePath('Edit.tpl', $QUALIFIED_MODULE)}
            </div>
            {foreach from=$CONFIG_NAMES item=CONFIG_NAME}
                <div class="js-tab tab-pane {if $ACTIVE_TAB eq $CONFIG_NAME}active{/if}" id="{$CONFIG_NAME}" data-name="{$CONFIG_NAME}" data-js="data">
                    {include file=\App\Layout::getTemplatePath('ConfigTemplate.tpl', $QUALIFIED_MODULE) CONFIG_NAME=$CONFIG_NAME}
                </div>
            {/foreach}
        </div>
    </div>
    <!-- /tpl-Settings-ConfigEditor-Detail -->
{/strip}