rss-bridge/templates/base.html.php
Dag ee498eadf9
fix: move debug mode to config (#3324)
* fix: move debug mode to config

* fix: also move debug_whitelist to .ini config

* fix: move logic back to Debug class

* docs

* docs

* fix: disable debug mode by default

* fix: restore previous behavior for alerts

* fix: center-align alert text
2023-06-02 20:22:09 +02:00

30 lines
833 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="RSS-Bridge" />
<title><?= e($_title ?? 'RSS-Bridge') ?></title>
<link href="static/style.css?2023-03-24" rel="stylesheet">
<link rel="icon" type="image/png" href="static/favicon.png">
</head>
<body>
<div class="container">
<header>
<a href="./">
<img width="400" src="static/logo_600px.png">
</a>
</header>
<?php foreach ($messages as $message): ?>
<div class="alert-<?= raw($message['level'] ?? 'info') ?>">
<?= raw($message['body']) ?>
</div>
<?php endforeach; ?>
<?= raw($page) ?>
</div>
</body>
</html>