bug fixes

This commit is contained in:
Dennis Eichhorn 2024-05-12 00:06:28 +00:00
parent 495d0fda0e
commit 1f32fb7ad4
5 changed files with 37 additions and 33 deletions

View File

@ -9,5 +9,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'

View File

@ -31,7 +31,7 @@ echo $this->data['nav']->render(); ?>
<div class="row">
<div class="col-xs-12 col-md-9">
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Messages'); ?><i class="g-icon download btn end-xs">download</i></div>
<table id="profileList" class="default sticky">
<thead>
@ -56,12 +56,12 @@ echo $this->data['nav']->render(); ?>
<tr>
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
<div class="portlet-foot">
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
</table>
<div class="portlet-foot">
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
</div>
</div>
</section>
</div>
<div class="col-xs-12 col-md-3">
@ -69,16 +69,16 @@ echo $this->data['nav']->render(); ?>
<a tabindex="0" class="button" href="<?= UriFactory::build('{/base}/messages/mail/create'); ?>"><?= $this->getHtml('Create', '0', '0'); ?></a>
</div>
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Channels'); ?></div>
<div class="portlet-body">
</div>
</div>
</section>
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Chat'); ?></div>
<div class="portlet-body">
</div>
</div>
</section>
</div>
</div>

View File

@ -31,7 +31,7 @@ echo $this->data['nav']->render(); ?>
<div class="row">
<div class="col-xs-12 col-md-9">
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Messages'); ?><i class="g-icon download btn end-xs">download</i></div>
<table id="profileList" class="default sticky">
<thead>
@ -56,12 +56,12 @@ echo $this->data['nav']->render(); ?>
<tr>
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
<div class="portlet-foot">
</table>
<div class="portlet-foot">
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
</div>
</div>
</section>
</div>
<div class="col-xs-12 col-md-3">
@ -69,25 +69,25 @@ echo $this->data['nav']->render(); ?>
<a tabindex="0" class="button" href="<?= UriFactory::build('{/base}/messages/mail/create'); ?>"><?= $this->getHtml('Create', '0', '0'); ?></a>
</div>
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Channels'); ?></div>
<div class="portlet-body">
asdf
</div>
</div>
</section>
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Email'); ?></div>
<div class="portlet-body">
asdf
</div>
</div>
</section>
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Chat'); ?></div>
<div class="portlet-body">
asdf
</div>
</div>
</section>
</div>
</div>

View File

@ -22,8 +22,12 @@ echo $this->data['nav']->render(); ?>
<div class="tabview tab-2 right">
<div class="box">
<ul class="tab-links">
<?php foreach ($mail->l11n as $idx => $l11n) : ?>
<li<?= $idx === 1 ? ' class="active"' : ''; ?>><label for="c-tab-<?= $idx; ?>"><?= $this->printHtml(ISO639Enum::getBy2Code($l11n->language)); ?></label>
<?php
$c = 0;
foreach ($mail->l11n as $idx => $l11n) :
++$c;
?>
<li<?= $c === 1 ? ' class="active"' : ''; ?>><label for="c-tab-<?= $idx; ?>"><?= $this->printHtml(ISO639Enum::getBy2Code($l11n->language)); ?></label>
<?php endforeach; ?>
</ul>
</div>
@ -33,43 +37,43 @@ echo $this->data['nav']->render(); ?>
<div class="tab">
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<section class="portlet">
<div class="portlet-body">
<input type="text" value="<?= $this->printHtml($l11n->subject); ?>">
</div>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<section class="portlet">
<div class="portlet-body">
<pre><?= $this->printHtml(HtmlFormatter::format($l11n->body)); ?></pre>
</div>
</div>
</section>
</div>
</div>
<!--
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<section class="portlet">
<div class="portlet-body">
<?= $l11n->body; ?>
</div>
</div>
</section>
</div>
</div>
-->
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<section class="portlet">
<div class="portlet-body">
<pre><?= $l11n->bodyAlt; ?></pre>
</div>
</div>
</section>
</div>
</div>
</div>

View File

@ -23,7 +23,7 @@ echo $this->data['nav']->render(); ?>
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('Templates'); ?><i class="g-icon download btn end-xs">download</i></div>
<table id="profileList" class="default sticky">
<thead>
@ -45,7 +45,7 @@ echo $this->data['nav']->render(); ?>
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</div>
</section>
<div class="box">
<a tabindex="0" class="button" href="<?= UriFactory::build($previous); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
<a tabindex="0" class="button" href="<?= UriFactory::build($next); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>