tabContainerRight.tpl 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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@thrudata.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: 15%;">
  26. {if $rawObject->getIcon()}<i class="{$rawObject->getIcon()}"></i>{/if}
  27. <span class="caption-subject bold font-red-thunderbird uppercase">
  28. {if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T($rawObject->getTitle())}{/if}
  29. </span>
  30. </div>
  31. {assign var="firstArrKey" value=$elements|array_keys}
  32. {if $elements}
  33. <ul class="lu-nav nav-tabs" style="display: inline-block!important; max-width: 85%;">
  34. {foreach from=$elements key=tplKey item=tplValue}
  35. <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>
  36. {/foreach}
  37. </ul>
  38. {/if}
  39. </div>
  40. {***DATATABLES*BODY*****************************************************************}
  41. <div class="lu-row">
  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>