From 1742fb0fa31a4c8599a5f9965a265e970cb31bda Mon Sep 17 00:00:00 2001 From: Nathan Ladwig Date: Fri, 9 Aug 2024 00:05:32 -0500 Subject: [PATCH] Replace icons --- site/imports/selects.html.jinja | 8 ++++---- site/screamrouter.css.jinja | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/site/imports/selects.html.jinja b/site/imports/selects.html.jinja index a158836..a7d0e93 100644 --- a/site/imports/selects.html.jinja +++ b/site/imports/selects.html.jinja @@ -76,10 +76,10 @@ d="true" {{- button('Visualize', 'Visualize ' ~ shortalt, 'Visualize ' ~ shortalt, 'Visualize ' ~ shortalt, 'visualizerIconOnclick(event)') -}} {%- endif -%} {%- if (data.vnc_ip and data.vnc_port) -%} - {{- button('VNC', 'VNC ' ~ shortalt, 'VNC ' ~ shortalt, 'VNC ' ~ shortalt, 'vncIconOnclick(event)') -}} - {{- buttonIcon('⏮️', 'Previous Track ' ~ shortalt, 'Previous Track ' ~ shortalt, 'Previous Track ' ~ shortalt, 'previousTrackIconOnclick(event)') -}} - {{- buttonIcon('⏯️', 'Play/Pause ' ~ shortalt, 'Play/Pause ' ~ shortalt, 'Play/Pause ' ~ shortalt, 'playPauseIconOnclick(event)') -}} - {{- buttonIcon('⏭️', 'Next Track ' ~ shortalt, 'Next Track ' ~ shortalt, 'Next Track ' ~ shortalt, 'nextTrackIconOnclick(event)') -}} + {{- button('VNC', 'VNC ' ~ shortalt, 'VNC ' ~ shortalt, 'VNC ' ~ shortalt, 'vncIconOnclick(event)') -}}
+ {{- button('' | safe, 'Previous Track ' ~ shortalt, 'Previous Track ' ~ shortalt, 'Previous Track ' ~ shortalt, 'previousTrackIconOnclick(event)') -}} + {{- button('' | safe, 'Play/Pause ' ~ shortalt, 'Play/Pause ' ~ shortalt, 'Play/Pause ' ~ shortalt, 'playPauseIconOnclick(event)') -}} + {{- button('' | safe, 'Next Track ' ~ shortalt, 'Next Track ' ~ shortalt, 'Next Track ' ~ shortalt, 'nextTrackIconOnclick(event)') -}} {%- endif -%}
diff --git a/site/screamrouter.css.jinja b/site/screamrouter.css.jinja index 23067f6..be19826 100644 --- a/site/screamrouter.css.jinja +++ b/site/screamrouter.css.jinja @@ -429,6 +429,10 @@ SPAN.mobile-route-buttons { display: none; } +SPAN[id^="Previous Track"] { + +} + @media only screen and (max-width: 825px) { DIV.section { width: 100%;