Spacing adjustments
This commit is contained in:
parent
e35429cf28
commit
f67c38b303
|
|
@ -12,4 +12,4 @@ itemType: page
|
|||
sortingProperties:
|
||||
url: 'cms::lang.page.url'
|
||||
title: 'cms::lang.page.title'
|
||||
fileName: 'cms::lang.page.file_name'
|
||||
fileName: 'cms::lang.page.file_name'
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
<?= e(trans($propertyTitle)) ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
<?php endforeach ?>
|
||||
|
|
|
|||
|
|
@ -4,35 +4,34 @@
|
|||
<!-- Control Panel -->
|
||||
<div class="toolbar-item" data-calculate-width>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default oc-icon-plus <?= !$this->sortingProperties ? 'last' : null ?>"
|
||||
data-control="create-template"
|
||||
><?= e(trans('cms::lang.sidebar.add')) ?></button>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-default oc-icon-plus <?= !$this->sortingProperties ? 'last' : null ?>"
|
||||
data-control="create-template"><?= e(trans('cms::lang.sidebar.add')) ?></button>
|
||||
|
||||
<?php if ($this->sortingProperties): ?>
|
||||
<div class="dropdown">
|
||||
<button type="button" class="btn btn-default empty oc-icon-sort-alpha-desc"
|
||||
data-toggle="dropdown"
|
||||
></button>
|
||||
|
||||
<ul
|
||||
<?php if ($this->sortingProperties): ?>
|
||||
<div class="dropdown">
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-default empty oc-icon-sort-alpha-desc"
|
||||
data-toggle="dropdown"></button>
|
||||
<ul
|
||||
class="dropdown-menu offset-left"
|
||||
role="menu"
|
||||
data-dropdown-title="<?= e(trans('cms::lang.template.order_by')) ?>"
|
||||
id="<?= $this->getId('sorting-options') ?>"
|
||||
>
|
||||
role="menu">
|
||||
<?= $this->makePartial('sorting-options') ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif?>
|
||||
|
||||
<?php endif?>
|
||||
|
||||
<button type="button" class="btn btn-default empty oc-icon-trash-o hide"
|
||||
id="<?= $this->getId('delete-button') ?>"
|
||||
data-control="delete-template"
|
||||
data-confirmation="<?= e(trans($this->deleteConfirmation)) ?>"
|
||||
data-trigger-action="show"
|
||||
data-trigger="<?= '#'.$this->getId('template-list') ?> input[type=checkbox]"
|
||||
data-trigger-condition="checked"></button>
|
||||
<button type="button" class="btn btn-default empty oc-icon-trash-o hide"
|
||||
id="<?= $this->getId('delete-button') ?>"
|
||||
data-control="delete-template"
|
||||
data-confirmation="<?= e(trans($this->deleteConfirmation)) ?>"
|
||||
data-trigger-action="show"
|
||||
data-trigger="<?= '#'.$this->getId('template-list') ?> input[type=checkbox]"
|
||||
data-trigger-condition="checked"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -49,4 +48,4 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue