mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
Add background image to sql db projects dashboard (#14942)
* Add background image to sql db projects dashboard * Removed gradient color * Added bottom border for header * Fixed border color
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { ThemedIconPath } from 'azdata';
|
||||
import * as dataworkspace from 'dataworkspace';
|
||||
import * as sqldbproj from 'sqldbproj';
|
||||
import * as vscode from 'vscode';
|
||||
@@ -130,24 +131,28 @@ export class SqlDatabaseProjectProvider implements dataworkspace.IProjectProvide
|
||||
get dashboardComponents(): dataworkspace.IDashboardTable[] {
|
||||
const deployInfo: dataworkspace.IDashboardTable = {
|
||||
name: constants.Deployments,
|
||||
columns: [{ displayName: constants.ID, width: 75 },
|
||||
{ displayName: constants.Status, width: 180, type: 'icon' },
|
||||
{ displayName: constants.Target, width: 180 },
|
||||
{ displayName: constants.Time, width: 180 },
|
||||
{ displayName: constants.Date, width: 180 }],
|
||||
columns: [{ displayName: constants.ID, width: 100 },
|
||||
{ displayName: constants.Status, width: 250, type: 'icon' },
|
||||
{ displayName: constants.Target, width: 250 },
|
||||
{ displayName: constants.Time, width: 250 },
|
||||
{ displayName: constants.Date, width: 250 }],
|
||||
data: this.projectController.dashboardDeployData
|
||||
};
|
||||
|
||||
const buildInfo: dataworkspace.IDashboardTable = {
|
||||
name: constants.Builds,
|
||||
columns: [{ displayName: constants.ID, width: 75 },
|
||||
{ displayName: constants.Status, width: 180, type: 'icon' },
|
||||
{ displayName: constants.Target, width: 180 },
|
||||
{ displayName: constants.Time, width: 180 },
|
||||
{ displayName: constants.Date, width: 180 }],
|
||||
columns: [{ displayName: constants.ID, width: 100 },
|
||||
{ displayName: constants.Status, width: 250, type: 'icon' },
|
||||
{ displayName: constants.Target, width: 250 },
|
||||
{ displayName: constants.Time, width: 250 },
|
||||
{ displayName: constants.Date, width: 250 }],
|
||||
data: this.projectController.dashboardBuildData
|
||||
};
|
||||
|
||||
return [deployInfo, buildInfo];
|
||||
}
|
||||
|
||||
get image(): ThemedIconPath {
|
||||
return IconPathHelper.dashboardSqlProj;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user