You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.0 KiB

<?php
/**
* tabs_template.php
*
* @package OpenEMR
* @link http://www.open-emr.org
* @author Kevin Yeh <kevin.y@integralemr.com>
* @copyright Copyright (c) 2016 Kevin Yeh <kevin.y@integralemr.com>
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
*/
?>
<script type="text/html" id="tabs-controls">
<div class="tabControls" data-bind="with: tabs">
<div class="tabsNoHover w-1">
<i class="fa fa-caret-up menu_arrow" id="patient_caret" title="<?php echo xla('Toggle the Patient Panel'); ?>" aria-hidden="true"></i>
</div>
<!-- ko foreach: tabsList -->
<div class="tabSpan bgcolor2" data-bind="click: tabClicked, css: {tabsNoHover: !visible()}">
<span class="tabTitle pr-2" data-bind="text: title, click: tabClicked, css: {tabHidden: !visible()}"></span>
<span class="fa fa-fw fa-xs mr-1 fa-sync" data-bind="click: tabRefresh, class: spinner"></span>
<!--ko if:!locked() -->
<span class="fa fa-fw fa-xs mr-1 fa-unlock" data-bind="click: tabLockToggle"></span>
<!-- /ko -->
<!--ko if:locked() -->
<span class="fa fa-fw fa-xs mr-1 fa-lock" data-bind="click: tabLockToggle"></span>
<!-- /ko -->
<!-- ko if:closable-->
<span class="fa fa-fw fa-xs fa-times" data-bind="click: tabClose"></span>
<!-- /ko -->
</div>
<!-- /ko -->
<div class="tabsNoHover w-100"></div>
</div>
</script>
<script type="text/html" id="tabs-frames">
<!-- ko foreach: tabs.tabsList -->
<div class="frameDisplay" data-bind="visible:visible">
<h5 class="text-center position-relative" style="top: 50%;" data-bind="text: loading_text,visible:loading_text_status"></h5>
<iframe data-bind="location: $data, iframeName: $data.name, ">
</iframe>
</div>
<!-- /ko -->
</script>