Change to drop-down for embed sub options

This commit is contained in:
Matthew Jones 2022-01-26 20:38:41 +00:00
parent f426eb68c0
commit 424b4fb976
4 changed files with 25 additions and 15 deletions

View file

@ -30,12 +30,14 @@
</label>
<div class="fieldDescription checkboxFieldDescription">${PreferEmbeddedEpisodeInfosOverFileNamesHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription chkDisableEmbeddedSubtitlesContainer hide advanced">
<label>
<input is="emby-checkbox" type="checkbox" id="chkDisableEmbeddedSubtitles" />
<span>${DisableEmbeddedSubtitles}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${DisableEmbeddedSubtitlesHelp}</div>
<div class="selectContainer fldAllowEmbeddedSubtitlesContainer hide advanced" style="margin: 2em 0;">
<select is="emby-select" id="selectAllowEmbeddedSubtitles" label="${AllowEmbeddedSubtitles}">
<option value="AllowAll">${AllowEmbeddedSubtitlesAllowAllOption}</option>
<option value="AllowText">${AllowEmbeddedSubtitlesAllowTextOption}</option>
<option value="AllowImage">${AllowEmbeddedSubtitlesAllowImageOption}</option>
<option value="AllowNone">${AllowEmbeddedSubtitlesAllowNoneOption}</option>
</select>
<div class="fieldDescription">${AllowEmbeddedSubtitlesHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription advanced">