0
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2024-11-21 14:57:52 +00:00
RSS-Bridge_rss-bridge/templates/frontpage.html.php
2024-01-25 18:20:02 +01:00

60 lines
1.4 KiB
PHP

<script>
document.addEventListener('DOMContentLoaded', rssbridge_toggle_bridge);
document.addEventListener('DOMContentLoaded', rssbridge_list_search);
document.addEventListener('DOMContentLoaded', rssbridge_feed_finder);
</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=""
>
<button
type="button"
id="findfeed"
name="findfeed"
/>Find Feed from URL</button>
<section id="findfeedresults">
</section>
</section>
<?= raw($bridges) ?>
<section class="footer">
<a href="https://github.com/RSS-Bridge/rss-bridge">
https://github.com/RSS-Bridge/rss-bridge
</a>
<br>
<br>
<p class="version">
<?= e(Configuration::getVersion()) ?>
</p>
<?= $active_bridges ?>/<?= $total_bridges ?> active bridges.<br>
<br>
<?php if ($admin_email): ?>
<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>
<?php endif; ?>
</section>