mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 10:16:00 +00:00
main menu available in web version
This commit is contained in:
@@ -2,29 +2,28 @@ module.exports = [
|
||||
{
|
||||
label: 'File',
|
||||
submenu: [
|
||||
{ command: 'new.connection' },
|
||||
{ command: 'new.sqliteDatabase' },
|
||||
{ command: 'new.connection', hideDisabled: true },
|
||||
{ command: 'new.sqliteDatabase', hideDisabled: true },
|
||||
{ divider: true },
|
||||
{ command: 'file.open' },
|
||||
{ command: 'file.openArchive' },
|
||||
{ command: 'file.open', hideDisabled: true },
|
||||
{ command: 'file.openArchive', hideDisabled: true },
|
||||
{ divider: true },
|
||||
{ command: 'group.save' },
|
||||
{ command: 'group.saveAs' },
|
||||
{ command: 'database.search' },
|
||||
{ command: 'group.save', hideDisabled: true },
|
||||
{ command: 'group.saveAs', hideDisabled: true },
|
||||
{ command: 'database.search', hideDisabled: true },
|
||||
{ divider: true },
|
||||
|
||||
{ command: 'file.exit' },
|
||||
{ command: 'file.exit', hideDisabled: true },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Window',
|
||||
submenu: [
|
||||
{ command: 'new.query' },
|
||||
{ command: 'new.modelCompare' },
|
||||
{ command: 'new.freetable' },
|
||||
{ command: 'new.query', hideDisabled: true },
|
||||
{ command: 'new.modelCompare', hideDisabled: true },
|
||||
{ command: 'new.freetable', hideDisabled: true },
|
||||
{ divider: true },
|
||||
{ command: 'tabs.closeTab' },
|
||||
{ command: 'tabs.closeAll' },
|
||||
{ command: 'tabs.closeTab', hideDisabled: true },
|
||||
{ command: 'tabs.closeAll', hideDisabled: true },
|
||||
],
|
||||
},
|
||||
|
||||
@@ -42,23 +41,23 @@ module.exports = [
|
||||
{
|
||||
label: 'View',
|
||||
submenu: [
|
||||
{ command: 'app.reload' },
|
||||
{ command: 'app.toggleDevTools' },
|
||||
{ command: 'app.toggleFullScreen' },
|
||||
{ command: 'app.minimize' },
|
||||
{ command: 'theme.changeTheme' },
|
||||
{ command: 'app.reload', hideDisabled: true },
|
||||
{ command: 'app.toggleDevTools', hideDisabled: true },
|
||||
{ command: 'app.toggleFullScreen', hideDisabled: true },
|
||||
{ command: 'app.minimize', hideDisabled: true },
|
||||
{ command: 'theme.changeTheme', hideDisabled: true },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'help',
|
||||
label: 'Help',
|
||||
submenu: [
|
||||
{ command: 'app.openDocs' },
|
||||
{ command: 'app.openWeb' },
|
||||
{ command: 'app.openIssue' },
|
||||
{ command: 'app.openSponsoring' },
|
||||
{ command: 'app.openDocs', hideDisabled: true },
|
||||
{ command: 'app.openWeb', hideDisabled: true },
|
||||
{ command: 'app.openIssue', hideDisabled: true },
|
||||
{ command: 'app.openSponsoring', hideDisabled: true },
|
||||
{ divider: true },
|
||||
{ command: 'tabs.changelog' },
|
||||
{ command: 'about.show' },
|
||||
{ command: 'tabs.changelog', hideDisabled: true },
|
||||
{ command: 'about.show', hideDisabled: true },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user