OpenNIT

Quelltext des aktuellen Standes

Fassung 1.1.1

result.php

2 KB
<?php
/** Öffentliche Ergebnis-/Bestätigungsseite (login-frei). */
$appName = $app_name ?? 'OpenNIT';
?><!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="noindex,nofollow">
    <title><?= $this->e($appName) ?> – <?= $this->e($result_title ?? '') ?></title>
    <link rel="stylesheet" href="/assets/css/fonts.css">
    <link rel="stylesheet" href="/assets/css/tokens.css">
    <?php if (($design_style ?? 'standard') === 'material'): ?><link rel="stylesheet" href="/assets/css/theme-material.css"><?php endif; ?>
    <link rel="stylesheet" href="/assets/css/app.css">
    <link rel="stylesheet" href="/assets/css/workflows.css">
    <link rel="stylesheet" href="/assets/fontawesome/css/fontawesome.min.css">
    <link rel="stylesheet" href="/assets/fontawesome/css/solid.min.css">
    <?php if (!empty($brand_accent)): ?><style>.wf-public-card h1{color:<?= $this->e($brand_accent) ?>}.wf-public .btn-primary{background:<?= $this->e($brand_accent) ?>;border-color:<?= $this->e($brand_accent) ?>}</style><?php endif; ?>
</head>
<body<?= ($design_style ?? 'standard') === 'material' ? ' class="design-material"' : '' ?>>
<div class="wf-public">
    <div class="wf-public-card">
        <?php if (!empty($brand_logo)): ?><div style="margin-bottom:1rem;"><img src="<?= $this->e($brand_logo) ?>" alt="Logo" style="max-height:64px;max-width:240px;"></div><?php endif; ?>
        <h1><?= $this->e($result_title ?? '') ?></h1>
        <p><?= $result_html ?? '' ?></p>
        <?php if (!empty($status_link)): ?>
            <p style="margin-top:1rem;"><a class="btn btn-secondary btn-sm" href="<?= $this->e($status_link) ?>"><i class="fas fa-search"></i> <?= $this->te('Status ansehen') ?></a></p>
        <?php endif; ?>
    </div>
    <?php include __DIR__ . '/../layouts/_agpl_notice.php'; ?>
</div>
</body>
</html>