added default library layout setting
so you can decide if you show list or grid by default
This commit is contained in:
parent
eebdb25a39
commit
fc231e1c0b
4 changed files with 15 additions and 3 deletions
|
@ -13,6 +13,11 @@ function SettingsCtrl($scope, $routeParams, $location, utils, globals, json, not
|
|||
];
|
||||
$scope.Protocols = ["json", "jsonp"];
|
||||
$scope.Themes = ["Default", "Dark"];
|
||||
$scope.LibraryLayouts = [
|
||||
{ id: "list", name: "List" },
|
||||
{ id: "grid", name: "Grid" },
|
||||
];
|
||||
$scope.DefaultLibraryLayout = 'grid';
|
||||
$scope.$watch('settings.HideAZ', function () {
|
||||
if (globals.settings.HideAZ) {
|
||||
$('#AZIndex').hide();
|
||||
|
@ -73,4 +78,4 @@ function SettingsCtrl($scope, $routeParams, $location, utils, globals, json, not
|
|||
|
||||
/* Load on Startup */
|
||||
/* End Startup */
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue