mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-10 07:28:41 +00:00
improve layout
This commit is contained in:
parent
2313782bec
commit
a1d928b913
|
|
@ -29,8 +29,9 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head"><?= $this->printHtml($doc->getTitle()); ?></div>
|
||||
<div calss="portlet-body">
|
||||
<article>
|
||||
<h1><?= $this->printHtml($doc->getTitle()); ?></h1>
|
||||
<?= $doc->getContent(); ?>
|
||||
</article>
|
||||
<?php if ($editable || !empty($tags)) : ?>
|
||||
|
|
@ -42,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php if ($editable) : ?>
|
||||
<div class="col-xs-6 rightText">
|
||||
<div class="col-xs-6 end-xs plain-grid">
|
||||
<a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}editor/edit?id=' . $doc->getId()); ?>">Edit</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user