allow only one program or diffusion for pages;

in cms.signals, manage cases when Diffusion.initial is set/changed &
clean up;

fix bug in loglist nav when max_age is 0 (no limit);

work on design for date lists;

fix bug in player on item removal;
This commit is contained in:
bkfox
2017-06-19 00:21:22 +02:00
parent 5fbac07829
commit f6e0d8d956
9 changed files with 123 additions and 44 deletions

View File

@ -187,25 +187,13 @@ ul.list, .list > ul {
/** content: list items in full page **/
.content > .list .list_item {
.content > .list:not(.date_list) .list_item {
min-width: 20em;
display: inline-block;
min-height: 2.5em;
margin: 0.4em;
}
.content > .list .date_list_item time {
color: #007EDF;
display: block;
margin-left: -0.5em;
}
.content > .list .date_list_item {
width: 100%;
}
/** content: date list **/
.date_list nav {
text-align:center;
@ -246,6 +234,40 @@ ul.list, .list > ul {
margin-top: 0em;
}
.date_list_item time {
color: #007EDF;
}
.date_list_item.now {
font-size: 1.2em;
}
.date_list_item img.now {
width: 1.3em;
vertical-align: middle;
}
/** content: date list in full page **/
.content > .date_list .date_list_item time {
color: #007EDF;
font-size: 1.1em;
display: block;
}
.content > .date_list .date_list_item:nth-child(2n+1) {
box-shadow: inset 0em 0em 3em rgba(0, 124, 226, 0.1);
background-color: rgba(0, 124, 226, 0.05);
}
.content > .date_list {
padding: 0 10%;
margin: auto;
width: 80%;
}
/** content: comments **/
.comments form input:not([type=checkbox]),

View File

@ -148,8 +148,10 @@ Playlist.prototype = {
this.playlist.removeChild(sound.item);
this.save();
this.player.stop()
this.next(false);
if(this.sound == sound) {
this.player.stop()
this.next(false);
}
},
select: function(sound, play = true) {