1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added an allow mode filter for tags

This commit is contained in:
Luke Pulverenti 2015-02-09 01:17:11 -05:00
parent dea551e078
commit ee34b9ee18
5 changed files with 49 additions and 18 deletions

View file

@ -32,10 +32,10 @@
<div>
<div>
<div class="ui-controlgroup-label" style="display:inline-block;">${LabelBlockItemsWithTags}</div>
<div class="ui-controlgroup-label" style="display:inline-block;">${LabelBlockOrAllowItemsWithTags}</div>
<button type="button" class="btnAddTag" data-inline="true" data-mini="true" data-iconpos="notext" data-icon="plus" style="vertical-align:middle;margin: -5px 0 0 1em;">${ButtonAdd}</button>
</div>
<div class="blockedTags" style="margin-top:.5em;">
<div class="tagFilters" style="margin-top:.5em;">
</div>
</div>
@ -81,6 +81,14 @@
<label for="txtTag">${LabelTag}</label>
<input id="txtTag" type="text" required="required" />
</li>
<li>
<label for="selectTagMode">${LabelTagFilterMode}</label>
<select id="selectTagMode" data-mini="true">
<option value="Block">${OptionBlockItemWithTag}</option>
<option value="Allow">${OptionAllowItemWithTag}</option>
</select>
<div class="fieldDescription allowModeHelp">${LabelTagFilterAllowModeHelp}</div>
</li>
<li>
<button type="submit" data-icon="plus" data-theme="b" data-mini="true">${ButtonAdd}</button>
<button type="button" data-icon="delete" data-mini="true" onclick="$(this).parents('.popup').popup('close');">${ButtonCancel}</button>