Skip to content

Commit

Permalink
Add a slight visible line between container settings and the Skip?
Browse files Browse the repository at this point in the history
…dropdown. Fixes #33
  • Loading branch information
Commifreak committed Sep 6, 2024
1 parent 0126b50 commit fbf9f4d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/pages/content/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,20 @@ class="fa fa-clock-o title"></i>Notifications and scheduling</span>
$containerExcludes = implode("\r\n", $containerSetting['exclude']);

echo <<<HTML
<style>
.containerSettingsDt {
overflow: hidden;
white-space: nowrap
}
.containerSettingsDt:after {
opacity: 0.1;
content: " _____________________________________________________________________________________________________________________________________________________________________";
}
</style>
<div style="display: none" id="actualContainerSettings_{$container['Name']}">$realContainerSetting</div>
<dl>
<dt><img alt="pic" src='$image' height='16' /> <i title='{$container['Image']}' class='fa fa-info-circle'></i> <abbr title='Click for advanced settings'>{$container['Name']}$plexContainerNameSuffix</abbr> <span id="containerMultiMappingIssue_{$container['Name']}" style="display: none; color: darkorange;">WARN: Multi mapping detected!</span></dt>
<dd><label for="{$container['Name']}_skip">Skip?</label>
<dt class="containerSettingsDt"><img alt="pic" src='$image' height='16' /> <i title='{$container['Image']}' class='fa fa-info-circle'></i> <abbr title='Click for advanced settings'>{$container['Name']}$plexContainerNameSuffix</abbr> <span id="containerMultiMappingIssue_{$container['Name']}" style="display: none; color: darkorange;">WARN: Multi mapping detected!</span></dt>
<dd><label for="{$container['Name']}_skip">&nbsp;&nbsp;Skip?</label>
<select name="containerSettings[{$container['Name']}][skip]" id="{$container['Name']}_skip" data-setting="{$containerSetting['skip']}">
<option value="no">No</option>
<option value="yes">Yes</option>
Expand Down

0 comments on commit fbf9f4d

Please sign in to comment.