2022-11-07 20:22:54 +03:00
|
|
|
<script src="static/rss-bridge.js"></script>
|
|
|
|
<script>
|
|
|
|
document.addEventListener('DOMContentLoaded', rssbridge_toggle_bridge);
|
|
|
|
document.addEventListener('DOMContentLoaded', rssbridge_list_search);
|
2023-08-22 21:44:36 +03:00
|
|
|
document.addEventListener('DOMContentLoaded', rssbridge_feed_finder);
|
2022-11-07 20:22:54 +03:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<section class="searchbar">
|
|
|
|
<h3>Search</h3>
|
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
name="searchfield"
|
|
|
|
id="searchfield"
|
|
|
|
placeholder="Insert URL or bridge name"
|
|
|
|
onchange="rssbridge_list_search()"
|
|
|
|
onkeyup="rssbridge_list_search()"
|
|
|
|
value=""
|
|
|
|
>
|
2023-08-22 21:44:36 +03:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
id="findfeed"
|
|
|
|
name="findfeed"
|
|
|
|
/>Find Feed from URL</button>
|
|
|
|
<section id="findfeedresults">
|
|
|
|
</section>
|
|
|
|
|
2022-11-07 20:22:54 +03:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<?= raw($bridges) ?>
|
|
|
|
|
|
|
|
<section class="footer">
|
|
|
|
<a href="https://github.com/rss-bridge/rss-bridge">RSS-Bridge ~ Public Domain</a><br>
|
|
|
|
<p class="version"><?= e(Configuration::getVersion()) ?></p>
|
|
|
|
|
|
|
|
<?= $active_bridges ?>/<?= $total_bridges ?> active bridges.<br>
|
|
|
|
|
|
|
|
<?php if ($active_bridges !== $total_bridges): ?>
|
|
|
|
<?php if ($show_inactive): ?>
|
|
|
|
<a href="?show_inactive=0">
|
|
|
|
<button class="small">Hide inactive bridges</button>
|
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
<?php else: ?>
|
|
|
|
<a href="?show_inactive=1">
|
|
|
|
<button class="small">Show inactive bridges</button>
|
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2022-11-07 20:36:52 +03:00
|
|
|
<br>
|
|
|
|
|
2022-11-07 20:22:54 +03:00
|
|
|
<?php if ($admin_email): ?>
|
2022-11-07 20:36:52 +03:00
|
|
|
<div>
|
|
|
|
Email: <a href="mailto:<?= e($admin_email) ?>"><?= e($admin_email) ?></a>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php if ($admin_telegram): ?>
|
|
|
|
<div>
|
|
|
|
Telegram: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a>
|
|
|
|
</div>
|
2022-11-07 20:22:54 +03:00
|
|
|
<?php endif; ?>
|
2022-11-07 20:36:52 +03:00
|
|
|
|
2022-11-07 20:22:54 +03:00
|
|
|
</section>
|