-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #935 from Azure/master
Merge master to stable for fix release 0.10.1
- Loading branch information
Showing
12 changed files
with
100 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 28 additions & 4 deletions
32
app/components/job/job-hook-task/job-hook-task-details/job-hook-task-details.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
app/components/job/job-hook-task/job-hook-task-details/job-hook-task-details.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<div *ngIf="task"> | ||
<div class="info"> | ||
<span>Node: <a [routerLink]="['/pools', task.poolId, 'nodes', task.nodeId]">{{task.nodeId}}</a></span> | ||
<span>Node: | ||
<a [routerLink]="['/pools', task.poolId, 'nodes', task.nodeId]">{{task.nodeId}}</a> | ||
</span> | ||
</div> | ||
<bl-node-file-browse [poolId]="task.poolId" [nodeId]="task.nodeId" [fileExplorerConfig]="fileExplorerConfig" [folder]="currentFolder" | ||
*ngIf="currentFolder"> | ||
<bl-node-file-browse [poolId]="task.poolId" [nodeId]="task.nodeId" [node]="node" [fileExplorerConfig]="fileExplorerConfig" | ||
[folder]="currentFolder" *ngIf="node && currentFolder"> | ||
</bl-node-file-browse> | ||
|
||
<div *ngIf="!node && !loading" class="info-overlay node-unavailable"> | ||
Node where this task ran doesn't exists anymore. | ||
</div> | ||
</div> |
3 changes: 3 additions & 0 deletions
3
app/components/job/job-hook-task/job-hook-task-details/job-hook-task-details.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
bl-job-hook-task-details { | ||
display: block; | ||
position: relative; | ||
height: 100%; | ||
.info { | ||
padding: 0 10px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
import { Record } from "immutable"; | ||
|
||
// tslint:disable:variable-name object-literal-sort-keys | ||
const CloudServiceConfigurationRecord = Record({ | ||
osFamily: null, | ||
targetOSVersion: null, | ||
currentOSVersion: null, | ||
}); | ||
import { Model, Prop, Record } from "app/core"; | ||
|
||
export interface CloudServiceConfigurationAttributes { | ||
osFamily: CloudServiceOsFamily; | ||
targetOSVersion: string; | ||
currentOSVersion: string; | ||
} | ||
/** | ||
* Class for displaying Batch CloudServiceConfiguration information. | ||
*/ | ||
export class CloudServiceConfiguration extends CloudServiceConfigurationRecord { | ||
public osFamily: number; | ||
public targetOSVersion: string; | ||
public currentOSVersion: string; | ||
@Model() | ||
export class CloudServiceConfiguration extends Record<CloudServiceConfigurationAttributes> { | ||
@Prop() public osFamily: CloudServiceOsFamily; | ||
@Prop() public targetOSVersion: string; | ||
@Prop() public currentOSVersion: string; | ||
} | ||
|
||
export enum CloudServiceOsFamily { | ||
windowsServer2008R2 = "2", | ||
windowsServer2012 = "3", | ||
windowsServer2012R2 = "4", | ||
windowsServer2016 = "5", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
"name": "Microsoft Corporation", | ||
"email": "[email protected]" | ||
}, | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"main": "build/client/main.prod.js", | ||
"scripts": { | ||
"ts": "ts-node --project tsconfig.node.json", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters