Refector code
This commit is contained in:
1 parent
6ab627ba60
commit
2fbbf4b0fc
23 files changed
+1518
-1069
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* partials/noscript.php
|
||||
* ---------------------
|
||||
* Shown when JavaScript is disabled: station name and a bare audio player so
|
||||
* people can still listen. Artwork, live titles, and lyrics need JS.
|
||||
*/
|
||||
if (!defined('RADIO_CONFIG_LOADED')) { exit; }
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
<h1><?= e(cfg('site.name')) ?></h1>
|
||||
<p><?= e(cfg('site.tagline')) ?></p>
|
||||
<p>Enable JavaScript for track info, album art, and lyrics.</p>
|
||||
<?php if (cfg('stream.url') !== ''): ?>
|
||||
<audio controls preload="none">
|
||||
<source src="<?= e(cfg('stream.url')) ?>" type="<?= e(cfg('stream.type')) ?>"/>
|
||||
</audio>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user