Bridgecount and prepare for catchphrase

This commit is contained in:
Mitsukarenai 2014-05-28 17:34:50 +02:00
parent 0c7729e783
commit ab744aad8f
2 changed files with 10 additions and 4 deletions

View File

@ -101,9 +101,13 @@ header,footer {
padding: 20px;
}
header h2 {
margin-left:1em;
}
footer {
text-align: center;
font-size: 60%;
font-size: 80%;
}
section {

View File

@ -142,9 +142,10 @@ $formats = Format::searchInformation();
<header>
<h1>RSS-Bridge</h1>
<h2>·<!-- catchphrase here -->·</h2>
</header>
<?php foreach($bridges as $bridgeReference => $bridgeInformations): ?>
<?php $bridgecount = 0; foreach($bridges as $bridgeReference => $bridgeInformations): ?>
<?php if(BridgeWhitelist($whitelist_selection, $bridgeReference)) { ?>
<section id="bridge-<?php echo $bridgeReference ?>" data-ref="<?php echo $bridgeReference ?>">
<h2><?php echo isset($bridgeInformations['homepage']) ? '<a href="'.$bridgeInformations['homepage'].'">'.$bridgeInformations['name'].'</a>' : $bridgeInformations['name'] ?></h2>
@ -183,9 +184,10 @@ $formats = Format::searchInformation();
<?php endif; ?>
<?php echo isset($bridgeInformations['maintainer']) ? '<span class="maintainer">'.$bridgeInformations['maintainer'].'</span>' : '' ?>
</section>
<?php } endforeach; ?>
<?php $bridgecount++; } endforeach; ?>
<footer>
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge</a> alpha 0.1
<?php echo $bridgecount; ?> active bridges<br>
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge alpha 0.1 ~ Public Domain</a>
</footer>
</body>
</html>