More arc controller dashboard updates (#10949)

This commit is contained in:
Charles Gagnon
2020-06-17 07:50:10 -07:00
committed by GitHub
parent 691985af2d
commit c86f301e0e
13 changed files with 169 additions and 40 deletions

View File

@@ -30,6 +30,7 @@ export class IconPathHelper {
public static refresh: IconPath;
public static support: IconPath;
public static wrench: IconPath;
public static miaa: IconPath;
public static setExtensionContext(context: vscode.ExtensionContext) {
IconPathHelper.context = context;
@@ -101,12 +102,36 @@ export class IconPathHelper {
light: context.asAbsolutePath('images/wrench.svg'),
dark: context.asAbsolutePath('images/wrench.svg')
};
IconPathHelper.miaa = {
light: context.asAbsolutePath('images/miaa.svg'),
dark: context.asAbsolutePath('images/miaa.svg'),
};
}
}
export const enum ResourceType {
dataControllers = 'dataControllers',
postgresInstances = 'postgresInstances',
sqlManagedInstances = 'sqlManagedInstances'
}
export const enum Endpoints {
mgmtproxy = 'mgmtproxy',
logsui = 'logsui',
metricsui = 'metricsui',
controller = 'controller'
}
export const enum Connectionmode {
connected = 'connected',
disconnected = 'disconnected'
}
export namespace cssStyles {
export const text = { 'user-select': 'text', 'cursor': 'text' };
export const title = { ...text, 'font-weight': 'bold', 'font-size': '14px' };
export const tableHeader = { ...text, 'text-align': 'left', 'border': 'none' };
export const tableRow = { ...text, 'border-top': 'solid 1px #ccc', 'border-bottom': 'solid 1px #ccc', 'border-left': 'none', 'border-right': 'none' };
}
export const iconSize = '20px';