forked from blallo/rss-bridge
Merge pull request #339 from LogMANOriginal/ImproveNavigation
Improve navigation
This commit is contained in:
commit
bb49aef187
3 changed files with 17 additions and 6 deletions
|
@ -53,6 +53,11 @@ h1.pagetitle {
|
||||||
color: #2196F3;
|
color: #2196F3;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1.pagetitle > a {
|
||||||
|
color: #2196F3;
|
||||||
|
}
|
||||||
|
|
||||||
a.backlink, a.backlink:link, a.backlink:visited, a.itemtitle, a.itemtitle:link, a.itemtitle:visited {
|
a.backlink, a.backlink:link, a.backlink:visited, a.itemtitle, a.itemtitle:link, a.itemtitle:visited {
|
||||||
|
|
||||||
color: #2196F3;
|
color: #2196F3;
|
||||||
|
|
|
@ -45,8 +45,8 @@ EOD;
|
||||||
<meta name="robots" content="noindex, follow">
|
<meta name="robots" content="noindex, follow">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 class="pagetitle">{$title}</h1>
|
<h1 class="pagetitle"><a href="{$uri}" target="_blank">{$title}</a></h1>
|
||||||
<div class="buttons"><a href="./"><button class="backbutton">← back to rss-bridge</button></a><a href="./?{$atomquery}"><button class="rss-feed">RSS feed</button></a></div>
|
<div class="buttons"><a href="./#bridge-{$_GET['bridge']}"><button class="backbutton">← back to rss-bridge</button></a><a href="./?{$atomquery}"><button class="rss-feed">RSS feed</button></a></div>
|
||||||
{$entries}
|
{$entries}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
14
index.php
14
index.php
|
@ -67,9 +67,7 @@ $whitelist_default = array(
|
||||||
"PinterestBridge",
|
"PinterestBridge",
|
||||||
"ScmbBridge",
|
"ScmbBridge",
|
||||||
"TwitterBridge",
|
"TwitterBridge",
|
||||||
"WikipediaENBridge",
|
"WikipediaBridge",
|
||||||
"WikipediaEOBridge",
|
|
||||||
"WikipediaFRBridge",
|
|
||||||
"YoutubeBridge");
|
"YoutubeBridge");
|
||||||
|
|
||||||
if (!file_exists($whitelist_file)) {
|
if (!file_exists($whitelist_file)) {
|
||||||
|
@ -187,7 +185,15 @@ $formats = Format::searchInformation();
|
||||||
<section>
|
<section>
|
||||||
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge alpha 0.2 ~ Public Domain</a><br />
|
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge alpha 0.2 ~ Public Domain</a><br />
|
||||||
<?= $activeFoundBridgeCount; ?>/<?= count($bridgeList) ?> active bridges. <br />
|
<?= $activeFoundBridgeCount; ?>/<?= count($bridgeList) ?> active bridges. <br />
|
||||||
<a href="?show_inactive=1"><button class="small">Show inactive bridges</button></a><br />
|
<?php
|
||||||
|
if($activeFoundBridgeCount !== count($bridgeList)){
|
||||||
|
// FIXME: This should be done in pure CSS
|
||||||
|
if(!$showInactive)
|
||||||
|
echo '<a href="?show_inactive=1"><button class="small">Show inactive bridges</button></a><br />';
|
||||||
|
else
|
||||||
|
echo '<a href="?show_inactive=0"><button class="small">Hide inactive bridges</button></a><br />';
|
||||||
|
}
|
||||||
|
?>
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue