| 1 |
<?php |
| 2 |
$isPerformance = !empty($data['isPerformance']) && $data['isPerformance'] === true; |
| 3 |
$classType = $isPerformance ? 'acym__scenario__edit__right__panel__performances' : 'acym__scenario__edit__right__panel__design'; ?> |
| 4 |
<div id="acym__scenario__edit__right__panel" class="<?php echo $classType; ?>" style="display: none"> |
| 5 |
<div id="acym__scenario__edit__right__panel__header"> |
| 6 |
<h1 id="acym__scenario__edit__right__panel__title">Test title</h1> |
| 7 |
<i id="acym__scenario__edit__right__panel__close" class="acymicon-close"></i> |
| 8 |
</div> |
| 9 |
<div class="acym__scenario__edit__right__panel__separator"></div> |
| 10 |
<h3 class="acym__scenario__edit__right__panel__subtitle" <?php echo $isPerformance ? '' : 'style="display: none;"'; ?>><?php echo acym_translation('ACYM_STATISTICS'); ?></h3> |
| 11 |
<div id="acym__scenario__edit__right__panel__content"></div> |
| 12 |
<div id="acym__scenario__edit__right__panel__actions"> |
| 13 |
<button type="button" id="acym__scenario__edit__right__panel__delete" class="button acym__button__cancel" style="display: none"><?php echo acym_translation( |
| 14 |
'ACYM_DELETE' |
| 15 |
); ?></button> |
| 16 |
<button type="button" id="acym__scenario__edit__right__panel__cancel" class="button button-secondary"><?php echo acym_translation('ACYM_CANCEL'); ?></button> |
| 17 |
<button type="button" id="acym__scenario__edit__right__panel__save__flow" class="button"><?php echo acym_translation('ACYM_SAVE'); ?></button> |
| 18 |
<button id="acym__scenario__edit__right__panel__save__scenario" class="button" type="button"><?php echo acym_translation( |
| 19 |
'ACYM_SAVE' |
| 20 |
); ?></button> |
| 21 |
</div> |
| 22 |
</div> |
| 23 |
|