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

View File

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

View File

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

View File

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