Merge pull request #1883 from basilfx/improvements2

Again, a set of improvements
This commit is contained in:
AdeHub
2014-09-15 17:16:17 +12:00
21 changed files with 335 additions and 386 deletions

View File

@@ -896,8 +896,26 @@
</div>
</fieldset>
<fieldset>
<h3>Subsonic</h3>
<div class="row checkbox">
<input type="checkbox" name="subsonic_enabled" id="subsonic" value="1" ${config['subsonic_enabled']} /><label>Enable Subsonic Updates</label>
</div>
<div id="subsonicoptions">
<div class="row">
<label>Subsonic URL</label><input type="text" name="subsonic_host" value="${config['subsonic_host']}" size="30">
</div>
<div class="row">
<label>Subsonic Username</label><input type="text" name="subsonic_username" value="${config['subsonic_username']}" size="30">
</div>
<div class="row">
<label>Subsonic Password</label><input type="password" name="subsonic_password" value="${config['subsonic_password']}" size="30">
</div>
</div>
</fieldset>
</td>
<td>
<td>
<fieldset>
<h3>Synology NAS</h3>
@@ -1730,6 +1748,26 @@
}
});
if ($("#subsonic").is(":checked"))
{
$("#subsonicoptions").show();
}
else
{
$("#subsonicoptions").hide();
}
$("#subsonic").click(function(){
if ($("#subsonic").is(":checked"))
{
$("#subsonicoptions").slideDown();
}
else
{
$("#subsonicoptions").slideUp();
}
});
if ($("#songkick").is(":checked"))
{
$("#songkickoptions").show();