  {*<!--
 /*+*******************************************************************************
 * The content of this file is subject to the CRMTiger Pro license.
 * ("License"); You may not use this file except in compliance with the License
 * The Initial Developer of the Original Code is vTiger
 * The Modified Code of the Original Code owned by https://crmtiger.com/
 * Portions created by CRMTiger.com are Copyright(C) CRMTiger.com
 * All Rights Reserved.
  ***************************************************************************** */
-->*}

{literal}
<style type="text/css">
.widget_header.row-fluid {
  border: 1px solid rgb(44 59 73 / 0.15);
  border-bottom: 0;
  padding: 15px 15px;
}
.widget_header.row-fluid h3 {
  color: #333333;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}
.widget_header.row-fluid button.btn.btn-info.pull-right {
  background: #287DF2 !important;
  border-radius: 4px;
  padding: 9px 10px;
  border: 0;
}

#apilogs_settings {
  background: #f4f5f6;
  border: 1px solid rgb(44 59 73 / 0.15);
  padding: 15px 15px;
}

#apilogs_settings h4 {
  color: #333;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  margin: 0;
}
#apilogs_settings h5 {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  margin:0 0 10px;
  text-transform: capitalize;
}
#apilogs_settings h6 {
  color: #333;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  margin:0 0 10px;
}

.select2-container{
  width: 100%;
}

.select2-drop.select2-drop-above.select2-drop-active {
    border-top: 1px solid #5897fb;
}



.greendata{
  margin-left:24px !important;
}

</style>
{/literal}

<div class="container-fluid">
    

<div class="container-fluid main_apilogs_settings" id="apilogs_settings_block">
    <div class="widget_header row-fluid">
        <button type="button" class="btn btn-info pull-right" onclick='window.location.href="{CTMobileSettings_Module_Model::$CTMOBILE_DETAILVIEW_URL}"'>{vtranslate('Go To CRMTiger Settings',$MODULE)}</button>
        <h3>{vtranslate('CRMTiger Mobile Apps - Apps Logging Settings', 'CTMobileSettings')}</h3>
    </div>
    
      <div class="clearfix"></div>
      <div class="summaryWidgetContainer" id="apilogs_settings">
          
          <table class="table table-borderless">
                <tr>
                  <td style="width:62%"><h4><b>{vtranslate('LBL_APILOGS_SETTINGS','CTMobileSettings')}</b></h4></td>
                  <td style="width:28%">
                    <label class="switch">
                    <input type="checkbox" name="allow_notification" id="allow_notification" value="1" data-on-color="success" {if $ALLOW_APILOGS} checked {/if} >
                    <div class="slider"></div>
                    </label>
                  </td>
                </tr>
          </table>
          <table class="table table-borderless" id="apilog_action">
            <tr>
              <td style="width:62%"><h5>{vtranslate('LBL_CLEAR_APILOGS','CTMobileSettings')}</h5></td>
              <td style="width:28%;cursor: pointer;" id="removeLogs"><i class="icon-trash" aria-hidden="true" style="font-size: 25px;"></i></td>
            </tr>
            <tr>
              <td style="width:62%"><h5>{vtranslate('LBL_DOWNLOAD_LOGS','CTMobileSettings')}</h5></td>
              <td style="width:28%;cursor: pointer;" id="downloadLogs">
                <form class="form-horizontal recordEditView" id="downloadForm" name="edit" method="post" action="index.php">
                <input type="hidden" name="module" value="CTMobileSettings" />
                <input type="hidden" name="view" value="APILogsSettings" />
                <input type="hidden" name="mode" value="downloadLogs" />
                <button type='button' class='' style="border: none;margin-left: -8px;"> <i class="icon-arrow-down" aria-hidden="true" style="font-size: 25px;"></i></button>
                </form>
              </td>
            </tr>
          </table>
          <p>{vtranslate('if you have any problem with the Apps and CRMTiger Team asked you to send Log than click on "Download Logs" icon to download file.','CTMobileSettings')}</p>
          <p>{vtranslate('Please email download file to support@crmtiger.com for team to further investigate your issues.','CTMobileSettings')}</p>
      </div>
     
</div>