YetiForceCompany/YetiForceCRM

View on GitHub
layouts/basic/modules/Settings/TimeControlProcesses/Index.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}
    <div class="processesContainer">
        <div class="o-breadcrumb widget_header row">
            <div class="col-12">
                {include file=\App\Layout::getTemplatePath('BreadCrumbs.tpl', $MODULE_NAME)}
            </div>
        </div>
        <ul id="tabs" class="nav nav-tabs my-2 mr-0" data-tabs="tabs">
            <li class="nav-item"><a href="#timeControlWidget" class="nav-link active" data-toggle="tab">{\App\Language::translate('LBL_TIME_CONTROL_WIDGET', $QUALIFIED_MODULE)}</a></li>
        </ul>
        <div class="tab-pane editViewContainer" id="timeControlWidget" data-type="timeControlWidget">
            <div class="alert alert-info" role="alert">{\App\Language::translate('LBL_TCW_INFO', $QUALIFIED_MODULE)}</div>
            {assign var=TCW_FIELDS value=$MODULE_MODEL->get('timeControlWidget')}
            <div class="btn-group-toggle" data-toggle="buttons">
                <label class="btn {if $TCW_FIELDS.holidays eq 'true'}btn-success active{else}btn-light{/if} btn-block">
                    <input autocomplete="off" type="checkbox" name="holidays" {if $TCW_FIELDS.holidays eq 'true'}checked{/if}> {\App\Language::translate('LBL_HOLIDAYS', $QUALIFIED_MODULE)}
                    <span class="far {if $TCW_FIELDS.holidays eq 'true'}fa-check-square{else}fa-square{/if} float-left"></span>
                </label>
                <label class="btn {if $TCW_FIELDS.workingDays eq 'true'}btn-success active{else}btn-light{/if} btn-block">
                    <input autocomplete="off" type="checkbox" name="workingDays" {if $TCW_FIELDS.workingDays eq 'true'}checked{/if}> {\App\Language::translate('LBL_WORKING_DAYS', $QUALIFIED_MODULE)}
                    <span class="far {if $TCW_FIELDS.workingDays eq 'true'}fa-check-square{else}fa-square{/if} float-left"></span>
                </label>
                <label class="btn {if $TCW_FIELDS.workingTime eq 'true'}btn-success active{else}btn-light{/if} btn-block">
                    <input autocomplete="off" type="checkbox" name="workingTime" {if $TCW_FIELDS.workingTime eq 'true'}checked{/if}> {\App\Language::translate('LBL_WORKING_TIME', $QUALIFIED_MODULE)}
                    <span class="far {if $TCW_FIELDS.workingTime eq 'true'}fa-check-square{else}fa-square{/if} float-left"></span>
                </label>
            </div>
        </div>
    </div>
    {strip}