Fixed info label's position

This commit is contained in:
Gregorio Chiko Putra 2017-09-16 08:52:40 +07:00
parent 7adb167e53
commit 7f1d126339

View File

@ -12,9 +12,17 @@ set_error_handler("Core\Error::errorHandler");
set_exception_handler("Core\Error::exceptionHandler");
if (Core\Session::exists('info')) {
echo '<h3 style="margin:auto;position:absolute;left:43%;"><span id="info" class="label top" style="position:fixed;" onclick="fadeOutEffect()">';
echo '
<div class="flex three-600 full grow">
<div></div>
<h3 style="text-align:center;" class="top">
<span id="info" class="label";" onclick="fadeOutEffect()">';
echo Core\Session::flash('info');
echo '</span></h3>';
echo '
</span>
</h3>
<div></div>
</div>';
}
$router = new Core\Router();