Files
MIXBOX-ARCHIVE/apps/transmission/web/tr-web-control/config.js
2020-03-05 00:08:40 +08:00

102 lines
1.8 KiB
JavaScript

system.config = $.extend(system.config, {
// Whether to enable automatic refresh
autoReload: true,
// Automatic refresh rate (ms)
reloadStep: 5000,
// The default num of entries for each page
pageSize: 30,
// Enable/disable pagination for torrentlist.datagrid
pagination: true,
// Options in torrentlist.datagrid PageList
pageList: [10, 20, 30, 40, 50, 100, 150, 200, 250, 300],
// The initial interface defaults to the selected node, the name can refer to the language package tree
defaultSelectNode: "actively",
// Whether the torrent details are automatically expanded
autoExpandAttribute: false,
// default language
defaultLang: "",
//show Folders
foldersShow: false,
// theme
theme: "default",
// 是否显示BT服务器
showBTServers: false
});
// 主题样式
system.themes = [{
value: 'default',
text: 'Default',
group: 'Base'
},
{
value: 'gray',
text: 'Gray',
group: 'Base'
},
{
value: 'metro',
text: 'Metro',
group: 'Base'
},
{
value: 'material',
text: 'Material',
group: 'Base'
},
{
value: 'bootstrap',
text: 'Bootstrap',
group: 'Base'
},
{
value: 'black;logo-white.png',
text: 'Black',
group: 'Base'
},
{
value: 'metro-blue',
text: 'Metro Blue',
group: 'Metro'
},
{
value: 'metro-gray',
text: 'Metro Gray',
group: 'Metro'
},
{
value: 'metro-green',
text: 'Metro Green',
group: 'Metro'
},
{
value: 'metro-orange',
text: 'Metro Orange',
group: 'Metro'
},
{
value: 'metro-red',
text: 'Metro Red',
group: 'Metro'
},
{
value: 'ui-cupertino',
text: 'Cupertino',
group: 'UI'
},
{
value: 'ui-dark-hive;logo-white.png',
text: 'Dark Hive',
group: 'UI'
},
{
value: 'ui-pepper-grinder',
text: 'Pepper Grinder',
group: 'UI'
},
{
value: 'ui-sunny',
text: 'Sunny',
group: 'UI'
}
]