From 5bb690f8526888333e59110165fc201f3fe4340e Mon Sep 17 00:00:00 2001 From: deflax Date: Mon, 11 Oct 2021 20:29:47 +0000 Subject: [PATCH] color the admin buttons --- frontend/app/static/style.default.css | 15 ++++++++++++--- frontend/app/templates/default/main.html.j2 | 5 +++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/frontend/app/static/style.default.css b/frontend/app/static/style.default.css index 48c8803..17245d1 100644 --- a/frontend/app/static/style.default.css +++ b/frontend/app/static/style.default.css @@ -111,12 +111,21 @@ a.btn { text-align: center; } +a.btn-red { + background-color: rgb(224, 99, 71); + /*background: linear-gradient(#4caf50, #2b622d);*/ +} +a.btn-red:hover { + background-color: rgb(255, 99, 71); + box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); +} + a.btn-green { - background-color: rgb(44, 57, 75); + background-color: rgb(115, 201, 71); /*background: linear-gradient(#4caf50, #2b622d);*/ } a.btn-green:hover { - background-color: rgb(60, 78, 104); + background-color: rgb(115, 249, 71); box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); } a.btn-large { @@ -219,4 +228,4 @@ video#player { color: #888; background: #121212; } -} \ No newline at end of file +} diff --git a/frontend/app/templates/default/main.html.j2 b/frontend/app/templates/default/main.html.j2 index bd2e2e7..afbb1f6 100644 --- a/frontend/app/templates/default/main.html.j2 +++ b/frontend/app/templates/default/main.html.j2 @@ -29,12 +29,13 @@ RTMP url rtmp://{{ configuration["rtmp_base"] }}/{{ item[0] }}/{{ item[1] }} -
RTMP
+
RTMP
HLS m3u8 {{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/hls/{{ item[1] }}/index.m3u8 -
HLS.js
+ +
HLS.js