Add saved connections to connection dialog (#411)

* add saved connections to connection dialog

* fix saved connections layout

* add comments

* formatting
This commit is contained in:
Abbie Petchtes
2018-01-02 13:41:13 -08:00
committed by Karl Burtram
parent 874b242944
commit e8b1b1a75f
6 changed files with 173 additions and 27 deletions

View File

@@ -7,6 +7,10 @@
padding: 15px
}
.restore-panel .tabbedPanel {
border-top-color: transparent;
}
.modal .restore-dialog .dialog-label.header {
font-size: 15px;
}

View File

@@ -350,7 +350,9 @@ export class RestoreDialog extends Modal {
});
});
this._panel = new TabbedPanel(container);
let restorePanel = $('.restore-panel');
container.appendChild(restorePanel.getHTMLElement());
this._panel = new TabbedPanel(restorePanel.getHTMLElement());
this._generalTabId = this._panel.pushTab({
identifier: 'general',
title: localize('generalTitle', 'General'),