Merge branch 'VisualizeDebugMode' of https://github.com/logmanoriginal/rss-bridge
This commit is contained in:
commit
8b6ee19aba
2 changed files with 15 additions and 1 deletions
|
@ -46,6 +46,12 @@ header > h2 {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header > p.status {
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 1em;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
|
||||||
background-color: #FFFFFF;
|
background-color: #FFFFFF;
|
||||||
|
|
10
index.php
10
index.php
|
@ -175,12 +175,20 @@ $formats = Format::searchInformation();
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<?php
|
||||||
|
$status = '';
|
||||||
|
if(defined('DEBUG') && DEBUG === true){
|
||||||
|
$status .= 'debug mode active';
|
||||||
|
}
|
||||||
|
|
||||||
|
echo <<<EOD
|
||||||
<header>
|
<header>
|
||||||
<h1>RSS-Bridge</h1>
|
<h1>RSS-Bridge</h1>
|
||||||
<h2>·Reconnecting the Web·</h2>
|
<h2>·Reconnecting the Web·</h2>
|
||||||
|
<p class="status">{$status}</p>
|
||||||
</header>
|
</header>
|
||||||
<?php
|
EOD;
|
||||||
|
|
||||||
$activeFoundBridgeCount = 0;
|
$activeFoundBridgeCount = 0;
|
||||||
$showInactive = filter_input(INPUT_GET, 'show_inactive', FILTER_VALIDATE_BOOLEAN);
|
$showInactive = filter_input(INPUT_GET, 'show_inactive', FILTER_VALIDATE_BOOLEAN);
|
||||||
$inactiveBridges = '';
|
$inactiveBridges = '';
|
||||||
|
|
Loading…
Reference in a new issue