mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
added command support to toolbar.
This commit is contained in:
parent
a816a83f3a
commit
c8a48d5df3
6 changed files with 136 additions and 36 deletions
|
@ -147,14 +147,25 @@ define([
|
|||
route: 'series/add'
|
||||
},
|
||||
{
|
||||
title : 'RSS Sync',
|
||||
icon : 'icon-rss',
|
||||
command: 'rsssync'
|
||||
title : 'RSS Sync',
|
||||
icon : 'icon-rss',
|
||||
command : 'rsssync',
|
||||
successMessage: 'RSS Sync Completed',
|
||||
errorMessage : 'RSS Sync Failed!'
|
||||
},
|
||||
{
|
||||
title : 'Update Library',
|
||||
icon : 'icon-refresh',
|
||||
command: 'updatelibrary'
|
||||
title : 'Update Library',
|
||||
icon : 'icon-refresh',
|
||||
command : 'updatelibrary',
|
||||
successMessage: 'Library was updated!',
|
||||
errorMessage : 'Library update failed!'
|
||||
},
|
||||
{
|
||||
title : 'Test Action',
|
||||
icon : 'icon-asterisk',
|
||||
command : 'test',
|
||||
successMessage: 'Test Completed',
|
||||
errorMessage : 'Test Failed!'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue