bug fixes

This commit is contained in:
Dennis Eichhorn 2024-05-12 00:06:28 +00:00
parent 13e3359bb6
commit a76a318d80
4 changed files with 9 additions and 9 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

@ -17,7 +17,7 @@ use phpOMS\Uri\UriFactory;
?>
<div class="row">
<div class="col-xs-12 col-md-6">
<div class="portlet">
<section class="portlet">
<form id="iResource" action="<?= UriFactory::build('{/api}orw/resource?csrf={$CSRF}'); ?>" method="put">
<div class="portlet-head"><?= $this->getHtml('CreateResource', 'OnlineResourceWatcher', 'Backend'); ?></div>
<div class="portlet-body">
@ -42,6 +42,6 @@ use phpOMS\Uri\UriFactory;
<input id="iSubmitUser" name="submitUser" type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
</div>
</form>
</div>
</section>
</div>
</div>

View File

@ -39,7 +39,7 @@ $next = $tableView->getNextLink(
?>
<div class="row">
<div class="col-xs-12">
<div class="portlet">
<section class="portlet">
<div class="portlet-head">
<?= $tableView->renderTitle(
$this->getHtml('Resources')
@ -103,6 +103,6 @@ $next = $tableView->getNextLink(
</div>
<?php endif; ?>
-->
</div>
</section>
</div>
</div>

View File

@ -20,7 +20,7 @@ $reports = $resource->reports;
?>
<div class="row">
<div class="col-xs-12 col-sm-8">
<div class="portlet">
<section class="portlet">
<form id="iResource" action="<?= UriFactory::build('{/api}orw/resource?csrf={$CSRF}'); ?>" method="post">
<div class="portlet-head"><?= $this->getHtml('Resource'); ?></div>
<div class="portlet-body">
@ -53,11 +53,11 @@ $reports = $resource->reports;
<input id="iSubmitUser" name="submitUser" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
</div>
</form>
</div>
</section>
</div>
<div class="col-xs-12 col-sm-4">
<div class="portlet">
<section class="portlet">
<div class="portlet-head"><?= $this->getHtml('History'); ?></div>
<div class="slider">
<table class="default sticky">
@ -73,7 +73,7 @@ $reports = $resource->reports;
<?php endforeach; ?>
</table>
</div>
</div>
</section>
</div>
</div>
<!-- @bug Some iframes reset the session because the page they load have relative paths -> loading the page itself -> resetting the session because it's loaded in an iframe -->