45 lines
2.2 KiB
PHP
45 lines
2.2 KiB
PHP
<section class="admin-section narrow-section">
|
|
<div class="section-header">
|
|
<div>
|
|
<p class="eyebrow">Einstellungen</p>
|
|
<h1>Aktiver Systemstand</h1>
|
|
</div>
|
|
<a class="button-secondary" href="<?= h(url('admin')) ?>">Zurück zum Dashboard</a>
|
|
</div>
|
|
|
|
<?php if (!empty($flashSuccess)): ?>
|
|
<div class="flash flash-success"><?= h((string) $flashSuccess) ?></div>
|
|
<?php endif; ?>
|
|
<?php if (!empty($flashError)): ?>
|
|
<div class="flash flash-error"><?= h((string) $flashError) ?></div>
|
|
<?php endif; ?>
|
|
|
|
<div class="detail-grid">
|
|
<article class="table-card">
|
|
<h2>Unternehmen & Preise</h2>
|
|
<dl class="detail-list">
|
|
<div><dt>Firma</dt><dd><?= h($company['name']) ?></dd></div>
|
|
<div><dt>Servicegebiet</dt><dd><?= h($company['service_area']) ?></dd></div>
|
|
<div><dt>Preis pro Miettag</dt><dd><?= h(formatCurrency((int) $pricing['default_day_rate_cents'])) ?></dd></div>
|
|
<div><dt>Kontakt</dt><dd><?= h($company['email']) ?> · <?= h($company['phone']) ?></dd></div>
|
|
<div><dt>Abholung</dt><dd><?= h($company['pickup_window']) ?></dd></div>
|
|
<div><dt>Rückgabe</dt><dd><?= h($company['return_window']) ?></dd></div>
|
|
</dl>
|
|
</article>
|
|
|
|
<article class="table-card">
|
|
<h2>Datenhaltung</h2>
|
|
<dl class="detail-list">
|
|
<div><dt>Aktiver Treiber</dt><dd><?= h($runtime['storage_driver']) ?></dd></div>
|
|
<div><dt>Tabellenpräfix</dt><dd><?= h((string) $runtime['table_prefix']) ?></dd></div>
|
|
<div><dt>Datenbank aktiviert</dt><dd><?= h(!empty($runtime['database_enabled']) ? 'Ja' : 'Nein') ?></dd></div>
|
|
<div><dt>Host</dt><dd><?= h((string) ($runtime['database_host'] ?: '-')) ?></dd></div>
|
|
<div><dt>Datenbank</dt><dd><?= h((string) ($runtime['database_name'] ?: '-')) ?></dd></div>
|
|
<?php if (!empty($runtime['fallback_reason'])): ?>
|
|
<div><dt>Hinweis</dt><dd><?= h($runtime['fallback_reason']) ?></dd></div>
|
|
<?php endif; ?>
|
|
</dl>
|
|
</article>
|
|
</div>
|
|
</section>
|