mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Fix hidden and advanced settings css
This commit is contained in:
parent
cf0cc36b15
commit
2ea8ac133a
3 changed files with 15 additions and 6 deletions
|
@ -2165,12 +2165,21 @@ span.settings-warning {
|
|||
color: #eee;
|
||||
background-color: #cc7b19;
|
||||
}
|
||||
#configUpdate .form-group,
|
||||
#configUpdate .checkbox{
|
||||
padding-left: 10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
.hidden-settings {
|
||||
overflow: hidden;
|
||||
padding-left: 10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
.advanced-setting {
|
||||
display: none;
|
||||
}
|
||||
div.advanced-setting {
|
||||
border-left: 1px solid #cc7b19;
|
||||
padding-left: 10px;
|
||||
}
|
||||
li.advanced-setting {
|
||||
border-left: 1px solid #cc7b19;
|
||||
|
|
|
@ -44,7 +44,7 @@ function initConfigCheckbox(elem, toggleElem, reverse) {
|
|||
toggleElem = (toggleElem === undefined) ? null : toggleElem;
|
||||
reverse = (reverse === undefined) ? false : reverse;
|
||||
var config = toggleElem ? $(toggleElem) : $(elem).closest('div').next();
|
||||
config.css('overflow', 'hidden');
|
||||
config.addClass('hidden-settings');
|
||||
if ($(elem).is(":checked")) {
|
||||
config.toggle(!reverse);
|
||||
} else {
|
||||
|
|
|
@ -1161,7 +1161,7 @@
|
|||
</label>
|
||||
<p class="help-block">Enable to host newsletters on your own domain. This will generate a link to an HTML page where you can view the newsletter.</p>
|
||||
</div>
|
||||
<div id="self_host_newsletter_options" style="overlfow: hidden; display: ${'block' if config['newsletter_self_hosted'] == 'checked' else 'none'}">
|
||||
<div id="self_host_newsletter_options" style="overflow: hidden; display: ${'block' if config['newsletter_self_hosted'] == 'checked' else 'none'}">
|
||||
<div class="form-group">
|
||||
<p class="help-block" id="self_host_newsletter_message">
|
||||
Note: The <span class="inline-pre">${http_root}newsletter</span> endpoint on your domain must be publicly accessible from the internet.
|
||||
|
@ -1309,7 +1309,7 @@
|
|||
</div>
|
||||
<p class="help-block">Select where to host Plex images for notifications and newsletters.</p>
|
||||
</div>
|
||||
<div id="imgur_upload_options" style="overlfow: hidden; display: ${'none' if config['notify_upload_posters'] != 1 else 'block'}">
|
||||
<div id="imgur_upload_options" style="overflow: hidden; display: ${'none' if config['notify_upload_posters'] != 1 else 'block'}">
|
||||
<div class="form-group">
|
||||
<p class="help-block">
|
||||
Please see the <a href="${anon_url('https://github.com/%s/%s/wiki/3rd-Party-APIs-Guide' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO))}" target="_blank" rel="noreferrer">3rd Party APIs Guide</a> for instructions on setting up Imgur.<br>
|
||||
|
@ -1331,13 +1331,13 @@
|
|||
<p class="help-block">Enter your Imgur API Client ID.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="self_host_image_options" style="overlfow: hidden; display: ${'none' if config['notify_upload_posters'] != 2 else 'block'}">
|
||||
<div id="self_host_image_options" style="overflow: hidden; display: ${'none' if config['notify_upload_posters'] != 2 else 'block'}">
|
||||
<div class="form-group">
|
||||
<p class="help-block" id="self_host_image_message">Note: The <span class="inline-pre">${http_root}image</span> endpoint on your domain must be publicly accessible from the internet.</p>
|
||||
<p class="help-block settings-warning base-url-warning">Warning: Public Tautulli domain not set under <a data-tab-destination="web_interface" data-target="http_base_url">Web Interface</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cloudinary_upload_options" style="overlfow: hidden; display: ${'none' if config['notify_upload_posters'] != 3 else 'block'}">
|
||||
<div id="cloudinary_upload_options" style="overflow: hidden; display: ${'none' if config['notify_upload_posters'] != 3 else 'block'}">
|
||||
<div class="form-group">
|
||||
<p class="help-block">
|
||||
Please see the <a href="${anon_url('https://github.com/%s/%s/wiki/3rd-Party-APIs-Guide' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO))}" target="_blank" rel="noreferrer">3rd Party APIs Guide</a> for instructions on setting up Cloudinary.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue