This commit is contained in:
Dennis Eichhorn 2023-10-09 22:06:38 +00:00
parent 752cf25b28
commit 0754c9e6ea
4 changed files with 3 additions and 18 deletions

View File

@ -46,7 +46,6 @@
max-width: 100%; max-width: 100%;
overflow: hidden; overflow: hidden;
font-family: var(--font-family); font-family: var(--font-family);
font-display: swap;
color: #000; } color: #000; }
body { body {

View File

@ -7,7 +7,6 @@ html, body {
max-width: 100%; max-width: 100%;
overflow: hidden; overflow: hidden;
font-family: var(--font-family); font-family: var(--font-family);
font-display: swap;
color: #000; color: #000;
} }

View File

@ -88,23 +88,10 @@ $head = $this->head;
} }
#login-logo img { #login-logo img {
animation: pulse 1.5s ease infinite alternate;
width: 20%; width: 20%;
min-width: 200px; min-width: 200px;
} }
@keyframes pulse {
0% {
width: 20%;
min-width: 200px;
}
30%, 100% {
width: 25%;
min-width: 210px;
}
}
h1 { h1 {
text-shadow: 2px 2px 3px rgba(0,0,0,0.3); text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
} }
@ -244,7 +231,7 @@ $head = $this->head;
<body> <body>
<div id="login-container"> <div id="login-container">
<div id="login-logo"> <div id="login-logo">
<img alt="<?= $this->getHtml('Logo', '0', '0'); ?>" src="<?= \phpOMS\Uri\UriFactory::build('Web/Backend/img/logo.png'); ?>"> <img class="animated infinte pulse" alt="<?= $this->getHtml('Logo', '0', '0'); ?>" src="<?= \phpOMS\Uri\UriFactory::build('Web/Backend/img/logo.png'); ?>">
</div> </div>
<div id="login-form"> <div id="login-form">
<form id="login" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/api}login?{?}'); ?>"> <form id="login" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/api}login?{?}'); ?>">

View File

@ -125,7 +125,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$request->header->account = 1; $request->header->account = 1;
$this->module->apiSessionCreate($request, $response); $this->module->apiSessionCreate($request, $response);
self::assertGreaterThan(0, $sId = $response->get('')['response']->id); self::assertGreaterThan(0, $sId = $response->getDataArray('')['response']->id);
$response = new HttpResponse(); $response = new HttpResponse();
$request = new HttpRequest(new HttpUri('')); $request = new HttpRequest(new HttpUri(''));
@ -135,7 +135,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
$request->setData('status', ClockingStatus::END); $request->setData('status', ClockingStatus::END);
$this->module->apiSessionElementCreate($request, $response); $this->module->apiSessionElementCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id); self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
} }
/** /**