fix empty favorites view alignement
This commit is contained in:
parent
52316a4155
commit
c812e5b0f8
22
css/main.css
22
css/main.css
@ -25,7 +25,7 @@
|
|||||||
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
|
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
|
||||||
|
|
||||||
#volumeslider{
|
#volumeslider{
|
||||||
width: 150px;
|
width: 200px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
@ -93,6 +93,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* fit app list view heights */
|
/* fit app list view heights */
|
||||||
|
#content {
|
||||||
|
padding-top: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
.app-files #app-content>.viewcontainer {
|
.app-files #app-content>.viewcontainer {
|
||||||
min-height: 0%;
|
min-height: 0%;
|
||||||
}
|
}
|
||||||
@ -842,3 +846,19 @@ html.ie8 #controls .button.new {
|
|||||||
#filestable tbody tr.canDrop {
|
#filestable tbody tr.canDrop {
|
||||||
background-color: rgba(255, 255, 140, 1);
|
background-color: rgba(255, 255, 140, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#app-content {
|
||||||
|
z-index: 500;
|
||||||
|
background-color: var(--color-main-background);
|
||||||
|
position: relative;
|
||||||
|
flex-basis: 100vw;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
z-index: 500;
|
||||||
|
background-color: var(--color-main-background);
|
||||||
|
position: relative;
|
||||||
|
flex-basis: 100vw;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
23
js/main.js
23
js/main.js
@ -116,15 +116,19 @@ $(function(){
|
|||||||
scheduled = true;
|
scheduled = true;
|
||||||
var stationid = $('#player').attr('data-id');
|
var stationid = $('#player').attr('data-id');
|
||||||
req = $.get('https://onny.project-insanity.org/getmetadata/'+stationid, function(data) {
|
req = $.get('https://onny.project-insanity.org/getmetadata/'+stationid, function(data) {
|
||||||
var metadata = data['metadata'].toString();
|
if (data.hasOwnProperty('metadata')) {
|
||||||
if (metadata != $("#station_metadata").text()) {
|
var metadata = data['metadata'].toString();
|
||||||
$("#station_metadata").html(metadata);
|
if (metadata != $("#station_metadata").text()) {
|
||||||
var element = document.getElementById('station_metadata');
|
$("#station_metadata").html(metadata);
|
||||||
if (isElementOverflowing(element)) {
|
var element = document.getElementById('station_metadata');
|
||||||
wrapContentsInMarquee(element);
|
if (isElementOverflowing(element)) {
|
||||||
|
wrapContentsInMarquee(element);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
setTimeout(function(){schedule_get_metadata(stationid);}, 10000);
|
||||||
|
} else {
|
||||||
|
scheduled = false;
|
||||||
};
|
};
|
||||||
setTimeout(function(){schedule_get_metadata(stationid);}, 10000);
|
|
||||||
}).fail(function(){
|
}).fail(function(){
|
||||||
scheduled = false;
|
scheduled = false;
|
||||||
});
|
});
|
||||||
@ -333,10 +337,13 @@ $(function(){
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
OC.Plugins.register('OCA.Search', {
|
/*OC.Plugins.register('OCA.Search.Core', {
|
||||||
attach: function(search) {
|
attach: function(search) {
|
||||||
search.setFilter('radio', mySearch);
|
search.setFilter('radio', mySearch);
|
||||||
}
|
}
|
||||||
|
});*/
|
||||||
|
OC.Plugins.attach('OCA.Search.Core', function(search) {
|
||||||
|
search.setFilter('radio', mySearch);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#volumeslider').slider({
|
$('#volumeslider').slider({
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
style('radio', 'main');
|
style('radio', 'main');
|
||||||
script('radio', 'main');
|
script('radio', 'main');
|
||||||
|
OC_Util::addScript('search', 'search', true);
|
||||||
|
OC_Util::addScript('search', 'searchprovider');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div id="content" class="app-files" role="main">
|
<div id="content" class="app-files" role="main">
|
||||||
|
Loading…
Reference in New Issue
Block a user