Commit 36ac7133 authored by Melvin Luong's avatar Melvin Luong
Browse files

Updated launch-dialog and joblist formatting.

parent fd3a2099
...@@ -13,6 +13,7 @@ html, body { ...@@ -13,6 +13,7 @@ html, body {
.mat-expansion-panel { .mat-expansion-panel {
border-radius: 0px !important; border-radius: 0px !important;
background-color: #fafafa;
} }
.mat-expansion-panel:not([class*='mat-elevation-z']) { .mat-expansion-panel:not([class*='mat-elevation-z']) {
......
.mat-expansion-panel {
border-radius: 0px !important;
background-color: #fafafa;
}
.mat-expansion-panel:not([class*='mat-elevation-z']) {
box-shadow: none;
}
.mat-expansion-panel-header {
height: 100% !important;
padding: 10px 10px;
border: 1px solid #a2bae1;
background-color: #f0f0f0 !important;
}
.mat-expansion-panel-header.mat-expanded:hover {
background-color: #a2bae1 !important;
}
.mat-expansion-panel-header span {
/* margin-left: 10px; */
color: #1a50a5;
font-family: Raleway;
font-size: 22px;
}
\ No newline at end of file
<div fxLayout="column" fxLayoutAlign="space-between stretch" style="width: 100%"> <div fxLayout="column" fxLayoutAlign="space-between stretch" style="width: 100%">
<mat-accordion style="width: 100%" [displayMode]="flat" [togglePosition]="'after'">
<mat-expansion-panel style="width: 100%" [expanded]="true">
<mat-expansion-panel-header>
<mat-panel-title>
<span>LAUNCH {{ getAppName() }}</span>
</mat-panel-title>
</mat-expansion-panel-header>
<!-- <div fxFlex style="background: blue">app config</div> --> <!-- <div fxFlex style="background: blue">app config</div> -->
<!--<iframe *ngIf="appconfigurl != null" fxGrow=10 fxFlex [src]="appconfigsafeurl" style="border: none"></iframe> <!--<iframe *ngIf="appconfigurl != null" fxGrow=10 fxFlex [src]="appconfigsafeurl" style="border: none"></iframe>
<iframe *ngIf="appconfigurl != null" [src]="batchcmdsafeurl" style="height: 1px; min-height: 0px; border: none" #batchbuilderiframe></iframe>--> <iframe *ngIf="appconfigurl != null" [src]="batchcmdsafeurl" style="height: 1px; min-height: 0px; border: none" #batchbuilderiframe></iframe>-->
...@@ -18,4 +26,7 @@ ...@@ -18,4 +26,7 @@
</div> </div>
</div> </div>
</div> </div>
</mat-expansion-panel>
</mat-accordion>
</div> </div>
<div>&nbsp;<div>
...@@ -207,4 +207,14 @@ export class LaunchDialogComponent implements OnInit { ...@@ -207,4 +207,14 @@ export class LaunchDialogComponent implements OnInit {
} }
this.setReady(false); this.setReady(false);
} }
public getAppName(): string {
// default name if this function fails to get the app name
let appName = "job";
if (this.appSubject.value.name !== undefined) {
appName = this.appSubject.value.name;
}
return appName.toUpperCase();
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment