improve layout

This commit is contained in:
Dennis Eichhorn 2020-06-11 12:43:15 +02:00
parent 2313782bec
commit a1d928b913

View File

@ -29,8 +29,9 @@ echo $this->getData('nav')->render(); ?>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<section class="portlet"> <section class="portlet">
<div class="portlet-head"><?= $this->printHtml($doc->getTitle()); ?></div>
<div calss="portlet-body">
<article> <article>
<h1><?= $this->printHtml($doc->getTitle()); ?></h1>
<?= $doc->getContent(); ?> <?= $doc->getContent(); ?>
</article> </article>
<?php if ($editable || !empty($tags)) : ?> <?php if ($editable || !empty($tags)) : ?>
@ -42,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php if ($editable) : ?> <?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> <a tabindex="0" class="button" href="<?= UriFactory::build('{/prefix}editor/edit?id=' . $doc->getId()); ?>">Edit</a>
</div> </div>
<?php endif; ?> <?php endif; ?>