2.0.8 Permissions warning
This commit is contained in:
parent
e2099ee62a
commit
491271bd07
4 changed files with 79 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
<link href="images/subsonic_32x32.ico" rel="shortcut icon" />
|
<link href="images/subsonic_32x32.ico" rel="shortcut icon" />
|
||||||
<link rel="icon" href="images/subsonic_48x48.png" sizes="48x48"/>
|
<link rel="icon" href="images/subsonic_48x48.png" sizes="48x48"/>
|
||||||
<link rel="icon" href="images/subsonic_32x32.png" sizes="32x32"/>
|
<link rel="icon" href="images/subsonic_32x32.png" sizes="32x32"/>
|
||||||
<link href="style/Style.css" rel="stylesheet" type="text/css" />
|
<link href="style/Style.css" rel="stylesheet" type="text/css" data-name="main" />
|
||||||
<link href="js/fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" />
|
<link href="js/fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" />
|
||||||
<script src="js/plugins/jquery-1.7.2.min.js" type="text/javascript"></script>
|
<script src="js/plugins/jquery-1.7.2.min.js" type="text/javascript"></script>
|
||||||
<script src="js/plugins/jquery-ui-1.8.20.min.js" type="text/javascript"></script>
|
<script src="js/plugins/jquery-ui-1.8.20.min.js" type="text/javascript"></script>
|
||||||
|
|
|
@ -211,4 +211,12 @@ function checkVersion(runningVersion, minimumVersion) {
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
function switchTheme(theme) {
|
||||||
|
//var theme = $(this).data('genre');
|
||||||
|
//$("link").attr("href", $(this).attr('rel'));
|
||||||
|
//$('link[data-name=main]').data('name');
|
||||||
|
if (theme == 'dark') {
|
||||||
|
$('link[data-name=main]').attr('href', 'style/Dark.css');
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -598,6 +598,11 @@
|
||||||
}
|
}
|
||||||
location.reload(true);
|
location.reload(true);
|
||||||
});
|
});
|
||||||
|
$('#Theme').live('change', function () {
|
||||||
|
var theme = $(this).val();
|
||||||
|
switchTheme(theme);
|
||||||
|
//$.cookie('Theme', theme, { expires: 365 });
|
||||||
|
});
|
||||||
$('#Genres').live('change', function () {
|
$('#Genres').live('change', function () {
|
||||||
var genre = $(this).val();
|
var genre = $(this).val();
|
||||||
var currentGenres = $('#AutoPlaylists').val();
|
var currentGenres = $('#AutoPlaylists').val();
|
||||||
|
@ -703,5 +708,5 @@
|
||||||
}
|
}
|
||||||
}).disableSelection();
|
}).disableSelection();
|
||||||
|
|
||||||
}); // End document.ready
|
}); // End document.ready
|
||||||
|
|
||||||
|
|
64
style/Dark.css
Normal file
64
style/Dark.css
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
body
|
||||||
|
{
|
||||||
|
background: #222222;
|
||||||
|
color: #b2ae8b;
|
||||||
|
}
|
||||||
|
#content
|
||||||
|
{
|
||||||
|
background: #222222;
|
||||||
|
}
|
||||||
|
.lgsection
|
||||||
|
{
|
||||||
|
background: #313131;
|
||||||
|
border: 1px solid #4D4D4D;
|
||||||
|
}
|
||||||
|
.fullsection
|
||||||
|
{
|
||||||
|
background: #313131;
|
||||||
|
}
|
||||||
|
#nav a
|
||||||
|
{
|
||||||
|
color: #7C7C7C;
|
||||||
|
background: #313131;
|
||||||
|
border: 1px solid #2E2E2E;
|
||||||
|
border-right: 1px solid #4D4D4D;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
#nav a:hover
|
||||||
|
{
|
||||||
|
color: #545454;
|
||||||
|
border: 1px solid #1A1A1A;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
#nav a.first
|
||||||
|
{
|
||||||
|
border-top: 1px solid #4D4D4D;
|
||||||
|
}
|
||||||
|
#nav a.first:hover
|
||||||
|
{
|
||||||
|
color: #545454;
|
||||||
|
border: 1px solid #1A1A1A;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
#nav a.last
|
||||||
|
{
|
||||||
|
border-bottom: 1px solid #4D4D4D;
|
||||||
|
}
|
||||||
|
#nav a.last:hover
|
||||||
|
{
|
||||||
|
color: #545454;
|
||||||
|
border: 1px solid #1A1A1A;
|
||||||
|
}
|
||||||
|
#nav a.active
|
||||||
|
{
|
||||||
|
color: #545454;
|
||||||
|
background: #1D1D1D;
|
||||||
|
border: 1px solid #1A1A1A;
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
#nav a.active:hover
|
||||||
|
{
|
||||||
|
color: #545454;
|
||||||
|
border: 1px solid #CBCBCB;
|
||||||
|
border-right: none;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue