forked from rc/aircox
add locale files for french
This commit is contained in:
@ -324,6 +324,8 @@ ul.list {
|
||||
}
|
||||
|
||||
|
||||
main .player .actions .action:not(.add),
|
||||
.section_player .actions .action.add,
|
||||
.player .list_item.live:hover .actions {
|
||||
display: none;
|
||||
}
|
||||
|
@ -117,18 +117,19 @@ main.detail {
|
||||
}
|
||||
|
||||
main.detail > header img.cover {
|
||||
width: 70%;
|
||||
display: inline-block;
|
||||
width: 70%;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
main.detail header .summary {
|
||||
display: inline-block;
|
||||
padding: 1em;
|
||||
width: calc(20% - 2em);
|
||||
vertical-align: top;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
background-color: white;
|
||||
display: inline-block;
|
||||
padding: 1em;
|
||||
width: calc(20% - 2em);
|
||||
vertical-align: middle;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
||||
|
@ -66,6 +66,20 @@ Sound.prototype = {
|
||||
'click', function(event) { playlist.remove(self); }, false
|
||||
);
|
||||
|
||||
item.querySelector('.action.add').addEventListener(
|
||||
'click', function(event) {
|
||||
player.playlist.add(new Sound(
|
||||
title = self.title,
|
||||
detail = self.detail,
|
||||
duration = self.duration,
|
||||
streams = self.streams,
|
||||
cover = self.cover,
|
||||
on_air = self.on_air
|
||||
));
|
||||
}, false
|
||||
);
|
||||
|
||||
|
||||
item.addEventListener('click', function(event) {
|
||||
if(event.target.className.indexOf('action') != -1)
|
||||
return;
|
||||
@ -315,7 +329,7 @@ Player.prototype = {
|
||||
var self = this;
|
||||
window.setTimeout(function() {
|
||||
self.update_on_air();
|
||||
}, 60*1000);
|
||||
}, 60*2000);
|
||||
|
||||
if(!this.playlist.on_air)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user