diff --git a/Jellyfin.Plugin.SkinManager/Configuration/configurationpage.html b/Jellyfin.Plugin.SkinManager/Configuration/configurationpage.html index 13ddcad..e85de63 100644 --- a/Jellyfin.Plugin.SkinManager/Configuration/configurationpage.html +++ b/Jellyfin.Plugin.SkinManager/Configuration/configurationpage.html @@ -89,8 +89,10 @@ html += getColorPicker(element); }else if(element.type == "number"){ html += getNumber(element); - }else if(element.type = "selector"){ + }else if(element.type == "selector"){ html += getSelector(element); + }else if(element.type == "slider"){ + html += getSlider(element); } }); @@ -162,6 +164,19 @@ return html; } + + function getSlider(option){ + var html = ""; + var id = "slider" ; + var name = option.name; + var css = option.css; + var step = option.step==undefined?1:option.step; + var defaultValue = option.default; + var description = option.description; + html += '