launcher.component.html 2.73 KB
Newer Older
1
2


Chris Hines's avatar
Chris Hines committed
3
4
<div  fxFlex style="flex: 1 1 0%; box-sizing: border-box">
<div fxLayout="column" fxLayoutAlign="space-around stretch" style="height: 100%; width: 100%" >
Chris Hines's avatar
Chris Hines committed
5
6
7
<mat-toolbar color="primary">
  <mat-toolbar-row>
    <button mat-icon-button (click)=idSideNav.toggle()><mat-icon>menu</mat-icon></button>
Chris Hines's avatar
Chris Hines committed
8

Chris Hines's avatar
Chris Hines committed
9
10
11
12
    <span>Strudel v2.0</span>
    <span class="fill-horizontal-space"></span>
    </mat-toolbar-row>
  </mat-toolbar>
Chris Hines's avatar
Chris Hines committed
13
<mat-sidenav-container autosize autosize style="height: 100%; width: 100%">
Chris Hines's avatar
Chris Hines committed
14
  <mat-sidenav #idSideNav mode="side" opened>
Chris Hines's avatar
Chris Hines committed
15
    <mat-accordion>
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

<!-- <mat-accordion> -->
    <mat-expansion-panel>
      <mat-expansion-panel-header>
        <mat-panel-title>
            More Services
        </mat-panel-title>
        </mat-expansion-panel-header>
        <div *ngFor="let sshauthzserver of (authService.loggedOutAuthZ | async)" style="width: 100%">
          <button mat-button (click)=login(sshauthzserver) fxFlex style="text-align: left"> Run on {{ sshauthzserver.name }}</button>
          <button mat-icon-button *ngIf="sshauthzserver.userdefined === true"><mat-icon>remove</mat-icon></button>
        </div>
        <button mat-button (click) =logout() style="width: 100%; text-align: left">Logout</button>
        <button mat-button (click) ="authService.updateAgentContents()" style="width: 100%; text-align: left">Refresh Services</button>
        </mat-expansion-panel>
    <div *ngFor="let id of computeSitesService.appidentities | async">
	<mat-expansion-panel (click)=selectId(id)>
		<mat-expansion-panel-header>
			{{ id.displayName() }}
		</mat-expansion-panel-header>
        <app-strudelapplist [applist]=id.site.appCatalog [identity]="id"></app-strudelapplist>
	</mat-expansion-panel>
	</div>
    <mat-expansion-panel>
        <mat-expansion-panel-header>
            Advanced Options
        </mat-expansion-panel-header>
        Select an API server
44
45
        <!--(selectionChange)="tesService.setApiServer($event.value)" [compareWith]="tesService.compareServers"-->
        <mat-select [ngModel]="selectedApiServer" (selectionChange)="tesService.setApiServer($event.value)">
46
47
48
49
            <mat-option *ngFor="let apis of tesService.apiservers|async" [value]="apis">
                {{ apis.name }}
            </mat-option>
        </mat-select>
50
51
52
53
54
        <!--<mat-select [ngModel]="tesService.apiserver | async" (ngModelChange)="tesService.setApiServer($event)">
            <mat-option *ngFor="let apis of tesService.apiservers|async" [value]="apis">
                {{ apis.name }}
            </mat-option>
        </mat-select>-->
55
    </mat-expansion-panel>
Chris Hines's avatar
Chris Hines committed
56
	</mat-accordion>
57
</mat-sidenav>
Chris Hines's avatar
Chris Hines committed
58

Chris Hines's avatar
Chris Hines committed
59
60
61
  <app-joblist [identity]="identitySubject | async"></app-joblist>
  <div fxFlex></div>

Chris Hines's avatar
Chris Hines committed
62
</mat-sidenav-container>
Chris Hines's avatar
Chris Hines committed
63
64
</div>
</div>
Chris Hines's avatar
Chris Hines committed
65
66

<!-- <app-joblist></app-joblist> -->