]> git.0d.be Git - panikweb.git/commitdiff
style: use play symbol for player
authorFrédéric Péters <fpeters@0d.be>
Mon, 11 Nov 2019 16:18:44 +0000 (17:18 +0100)
committerFrédéric Péters <fpeters@0d.be>
Thu, 26 Dec 2019 14:12:42 +0000 (15:12 +0100)
panikweb_templates/static/js/specifics.js
panikweb_templates/templates/includes/player.html

index ee20bb55bf5db1edfe2271306e11b104bc5030e3..c35b3bf23209ca2ac7472faa77cee07542d631e7 100644 (file)
@@ -222,10 +222,10 @@ $(function() {
        });
        $('#DirectStreamPanik').on('play',function(){
                $('audio:not(#DirectStreamPanik)').each(function(){this.pause();});
-               $('#streamSymbol').removeClass('icon-volume-up').addClass('icon-pause');
+               $('#streamSymbol').removeClass('icon-play').addClass('icon-pause');
        }).on('pause',function(){
                //$('audio:not(#DirectStreamPanik)').each(function(){this.pause();});
-               $('#streamSymbol').addClass('icon-volume-up').removeClass('icon-pause');
+               $('#streamSymbol').addClass('icon-play').removeClass('icon-pause');
        });
 
        var $localList = $('#localList').playlist({
index 91133719c589303d2c35b2908d75e9339d5f02e6..df3b74d9b8c17e6f1b8fd18d768b8b225d7a732f 100644 (file)
@@ -4,7 +4,7 @@
                <div id="audioPlayer" class="cf">
                        <div id="Live" class="padded cf">
                                <span class="button" id="DirectStreamPanikControler">
-                                       <div id="streamSymbol" class="icon-volume-up resymbol"></div>
+                                       <div id="streamSymbol" class="icon-play resymbol"></div>
                                        <div class="label">{% trans 'live' %}</div>
                                </span>
                                <div id="CurrentlyPlaying">