style fixes, bug fixes

This commit is contained in:
Dennis Eichhorn 2023-05-28 01:13:22 +00:00
parent 0db6cbfaba
commit f960253195
2 changed files with 5 additions and 7 deletions

View File

@ -24,7 +24,7 @@ echo $this->getData('nav')->render();
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Categories'); ?><i class="fa fa-download floatRight download btn"></i></div>
<div class="portlet-head"><?= $this->getHtml('Categories'); ?><i class="lni lni-download download btn end-xs"></i></div>
<div class="slider">
<table class="default sticky">
<thead>

View File

@ -37,14 +37,12 @@ echo $this->getData('nav')->render(); ?>
<article>
<?= Markdown::parse(\substr($doc->docRaw, 0, 500)); ?>
</article>
<?php $tags = $doc->getTags(); foreach ($tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= !empty($tag->icon) ? '<i class="' . $this->printHtml($tag->icon) . '"></i>' : ''; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<?php endforeach; ?>
</div>
<div class="portlet-foot">
<div class="overflowfix">
<?php $tags = $doc->getTags(); foreach ($tags as $tag) : ?>
<span class="tag" style="background: <?= $this->printHtml($tag->color); ?>"><?= !empty($tag->icon) ? '<i class="' . $this->printHtml($tag->icon) . '"></i>' : ''; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<?php endforeach; ?>
<a href="<?= $url; ?>" class="button floatRight"><?= $this->getHtml('More', '0', '0'); ?></a>
</div>
<a href="<?= $url; ?>" class="button floatRight"><?= $this->getHtml('More', '0', '0'); ?></a>
</div>
</div>
</div>