summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/cube-index.phtml
blob: e45bcde27808c76b2f3d5fbaf01203952f990c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div class="controls">
    <?php if (! $this->compact): ?>
        <?= $this->tabs ?>
        <h1><?= $this->escape($this->title) ?></h1>
        <?php if ($this->form && ! $this->compact): ?>
            <?= $this->qlink('Hide settings', $this->url()->without('showSettings'), null, ['icon' => 'wrench']) ?>
        <?php else: ?>
            <?= $this->qlink('Show settings', $this->url()->with('showSettings', true), null, ['icon' => 'wrench']) ?>
        <?php endif ?>
    <?php endif ?>
</div>

<div class="content">
    <?php if ($this->form && ! $this->compact): ?>
        <?= $this->form ?>
    <?php endif ?>
    <?php if ($this->cube): ?>
        <?= $this->cube->render($this) ?>
    <?php endif ?>
</div>