CC-6084 - fix calendar drag and drop

This commit is contained in:
Duncan Sommerville 2015-08-21 11:09:45 -04:00
parent 48f1c5b9a4
commit 604b81071c
5 changed files with 30 additions and 40 deletions

View file

@ -114,26 +114,19 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<div class="usability_hint <?php if ($hint == "") { echo "hidden"; } ?>"><?php echo $hint; ?></div>
<div class="wrapper <?php if (isset($this->layout()->parent_page)) echo "wrapper_panel";?>" id="content">
<?php if (isset($this->layout()->parent_page)) { ?>
<div style="display: flex; width: 100%">
<div style="flex: 0 140px;"> <!-- placeholder object so we can fixed position the submenu -->
<div id="sub-menu">
<h3><?php //parent_page is passed in from controller
echo $this->layout()->parent_page; ?></h3>
<hr>
<?php
$page = $this->navigation()->findOneBy('title', $this->layout()->parent_page);
echo $this->navigation()->menu()->renderMenu($page);
?>
</div>
</div>
<div id="sub-menu-content-panel">
<?php echo $this->layout()->content ?>
</div>
</div>
<?php } else { echo $this->layout()->content; } ?>
<?php echo $this->layout()->content ?>
</div>
<?php if (isset($this->layout()->parent_page)) { ?>
<div id="sub-menu">
<h3><?php //parent_page is passed in from controller
echo $this->layout()->parent_page; ?></h3>
<hr>
<?php
$page = $this->navigation()->findOneBy('title', $this->layout()->parent_page);
echo $this->navigation()->menu()->renderMenu($page);
?>
</div>
<?php } ?>
<script id="tmpl-pl-cues" type="text/template">
<div class="waveform-cues">