summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-07-05 15:05:56 +0300
committerheqnx <root@heqnx.com>2025-07-05 15:05:56 +0300
commit6603f4d2c4e6e32d0a27872badfe24ad2d403caf (patch)
tree7c0bfc7c4c8b61e6307a7c0b12f8ae40bb9e64c3
parent057e0ceb257b62a3b0755cb73b7a685cb74c57a9 (diff)
downloadansible-icecast2-6603f4d2c4e6e32d0a27872badfe24ad2d403caf.tar.gz
ansible-icecast2-6603f4d2c4e6e32d0a27872badfe24ad2d403caf.zip
couple of small additions
-rw-r--r--templates/nginx/nginx.conf.j21
-rw-r--r--templates/var/www/html/index.html3
-rw-r--r--templates/var/www/html/style.css5
3 files changed, 7 insertions, 2 deletions
diff --git a/templates/nginx/nginx.conf.j2 b/templates/nginx/nginx.conf.j2
index 2e257e0..a98507f 100644
--- a/templates/nginx/nginx.conf.j2
+++ b/templates/nginx/nginx.conf.j2
@@ -132,4 +132,3 @@ http {
error_log /var/log/nginx/icecast-error.log warn;
}
}
-
diff --git a/templates/var/www/html/index.html b/templates/var/www/html/index.html
index 14ed148..37d758b 100644
--- a/templates/var/www/html/index.html
+++ b/templates/var/www/html/index.html
@@ -10,8 +10,9 @@
<body>
<div class="index-container">
<div class="player-wrapper">
- <a id="radioButton" class="btn" href="#">Play</a>
+ <a id="radioButton" class="btn" href="#">play</a>
<div id="info"></div>
+ <a class="link" target="_blank" href="{{ radio_url }}/stream">direct stream url</a>
<audio id="radioPlayer" hidden>
<source src="/stream" type="audio/ogg" />
Your browser does not support the audio element.
diff --git a/templates/var/www/html/style.css b/templates/var/www/html/style.css
index 542b59c..396f828 100644
--- a/templates/var/www/html/style.css
+++ b/templates/var/www/html/style.css
@@ -91,6 +91,11 @@ body {
text-overflow: ellipsis;
}
+.link {
+ color: var(--color-dark-cyan);
+ text-decoration: none;
+}
+
@media (max-width: 400px) {
.btn {
font-size: 14px;