mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
indent
This commit is contained in:
parent
4b4879f8a2
commit
d235f34175
1 changed files with 5 additions and 5 deletions
|
@ -18,8 +18,8 @@ export function enableProgressIndicator(item) {
|
|||
|
||||
export function getProgressHtml(pct, options) {
|
||||
let containerClass = 'itemProgressBar';
|
||||
if(options && options.containerClass) {
|
||||
containerClass += ' ' + options.containerClass
|
||||
if (options && options.containerClass) {
|
||||
containerClass += ' ' + options.containerClass;
|
||||
}
|
||||
|
||||
return '<div class="' + containerClass + '"><div class="itemProgressBarForeground" style="width:' + pct + '%;"></div></div>';
|
||||
|
@ -27,8 +27,8 @@ export function getProgressHtml(pct, options) {
|
|||
|
||||
function getAutoTimeProgressHtml(pct, options, isRecording, start, end) {
|
||||
let containerClass = 'itemProgressBar';
|
||||
if(options && options.containerClass) {
|
||||
containerClass += ' ' + options.containerClass
|
||||
if (options && options.containerClass) {
|
||||
containerClass += ' ' + options.containerClass;
|
||||
}
|
||||
|
||||
let foregroundClass = 'itemProgressBarForeground';
|
||||
|
@ -145,7 +145,7 @@ export function getTypeIndicator(item) {
|
|||
'Folder' : 'folder',
|
||||
'PhotoAlbum' : 'photo_album',
|
||||
'Photo' : 'photo'
|
||||
}
|
||||
};
|
||||
|
||||
const icon = iconT[item.Type];
|
||||
return icon ? '<div class="indicator videoIndicator"><span class="material-icons indicatorIcon '+ icon +'"></span></div>' : '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue