tabContainerLeft.tpl 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {**********************************************************************
  2. * KerioEmail product developed. (2017-08-24)
  3. * *
  4. *
  5. * CREATED BY THURDATA -> http://thurdata.com
  6. * CONTACT -> contact@thurdata.com
  7. *
  8. *
  9. * This software is furnished under a license and may be used and copied
  10. * only in accordance with the terms of such license and with the
  11. * inclusion of the above copyright notice. This software or any other
  12. * copies thereof may not be provided or otherwise made available to any
  13. * other person. No title to and ownership of the software is hereby
  14. * transferred.
  15. *
  16. *
  17. **********************************************************************}
  18. {**
  19. * @autor ThurData <info@thurdata.ch>
  20. *}
  21. <div class="row-fluid">
  22. <div class="box light" id="{$elementId}">
  23. <div class="box-title tabbable-line" style="border-bottom: 1px solid #eee!important;">
  24. {***CONTAINER*HEADER*TITLE***********************************************************}
  25. <div class="caption" style="display: inline-block!important; max-width: 30%;">
  26. <i class="fa fa-th font-red-thunderbird"></i>
  27. <span class="caption-subject bold font-red-thunderbird uppercase">
  28. {$MGLANG->controlerContextT('title')}
  29. </span>
  30. </div>
  31. </div>
  32. {***DATATABLES*BODY*****************************************************************}
  33. <div class="lu-row">
  34. {assign var="firstArrKey" value=$elements|array_keys}
  35. {if $elements}
  36. <ul class="lu-nav nav-tabs" style="display: inline-block!important; max-width: 70%;">
  37. {foreach from=$elements key=tplKey item=tplValue}
  38. <li {if $tplKey === $firstArrKey[0]} class="active" {/if}><a data-toggle="tab" href="#contTab{$tplValue->getId()}">{if $tplValue->getTitle()}{$tplValue->getTitle()}{else}{$tplValue->getRawTitle()}{/if}</a></li>
  39. {/foreach}
  40. </ul>
  41. {/if}
  42. <div class="lu-col-md-12">
  43. <div class="box-body">
  44. <div class="lu-tab-content">
  45. {foreach from=$elements key=tplKey item=tplValue}
  46. <div id="contTab{$tplValue->getId()}" class="lu-tab-pane {if $tplKey === $firstArrKey[0]} active {/if}">
  47. {$tplValue->getHtml()}
  48. </div>
  49. {/foreach}
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>