1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Daniel Neto 2024-04-01 10:25:24 -03:00
parent 117d620427
commit 38dd23f081
4 changed files with 42 additions and 17 deletions

View file

@ -11,6 +11,7 @@ header('Content-Type: application/json');
_session_write_close();
//mysqlBeginTransaction();
$row = PlayList::getAllFromUser(User::getId(), false);
//var_dump($row);exit;
foreach ($row as $key => $value) {
foreach ($row[$key]['videos'] as $key2 => $value2) {
unset($row[$key]['videos'][$key2]['description']);

View file

@ -143,7 +143,6 @@ class PlayLists extends PluginAbstract
$obj = $this->getDataObject();
$css = '<link href="' . getURL('plugin/PlayLists/style.css') . '" rel="stylesheet" type="text/css" />';
$css .= '<style>.epgProgress.progress-bar-primary{opacity: 0.5;}.epgProgress:hover{opacity: 1.0;}.epgProgressText{border-right: 1px solid #FFF; height:100%;}</style>';
if (!empty(getPlaylists_id()) && isEmbed()) {
$css .= "<link href=\"" . getURL('plugin/PlayLists/playerButton.css') . "\" rel=\"stylesheet\" type=\"text/css\"/>";

View file

@ -1,4 +1,5 @@
<a class="list-group-item">
<a class="list-group-item clearfix">
<div class="ellipsis plistNameSearch pull-left">
<button class="btn btn-xs btn-default"
onclick="avideoModalIframeFull(webSiteRootURL+'viewProgram/{id}/pl');return false;">
<i class="fas fa-edit"></i>
@ -11,6 +12,7 @@
<i class="{icon}"></i>
<span class="nameSearch">{name_translated}</span>
</span>
</div>
<div class="material-switch material-small pull-right">
<input id="someSwitchOptionDefault{randId}" name="someSwitchOption{response_id}"
class="playListsVideosIds{videos_id} playListsIds_{id}_videos_id_{videos_id} playListsIds{id} "

View file

@ -3,15 +3,38 @@
overflow-x: hidden;
overflow-y: scroll;
}
.PlayListList.list-group .list-group-item {
padding: 5px;
}
.vjs-playlist img {
min-height: 10px;
}
.vjs-mouse.vjs-playlist {
font-size: 12px;
}
.vjs-playlist .vjs-up-next-text {
font-size: .8em;
}
.plistNameSearch {
width: calc(100% - 40px);
}
.epgProgress.progress-bar-primary {
opacity: 0.5;
}
.epgProgress:hover {
opacity: 1.0;
}
.epgProgressText {
border-right: 1px solid #FFF;
height: 100%;
}