Commit 4f2b6cca authored by Chris Hines's avatar Chris Hines
Browse files

change the login button to logout as soon as you've logged into something

parent 5e669faf
......@@ -15,10 +15,11 @@
<mat-accordion>
<!-- <mat-accordion> -->
<mat-expansion-panel>
<mat-expansion-panel-header>
<div *ngIf="(computeSitesService.appidentities | async).length == 0">
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>
Login
Login
</mat-panel-title>
</mat-expansion-panel-header>
<div *ngFor="let sshauthzserver of (authService.loggedOutAuthZ | async)">
......@@ -28,9 +29,13 @@
<div *ngFor="let sshauthzserver of (authService.loggedOutAuthZ | async)">
<button mat-button (click)=signup(sshauthzserver) style="text-align: left"> Signup for {{ sshauthzserver.name }}</button>
</div>
<button mat-button (click) =logout() style="text-align: left">Logout</button>
<!--<button mat-button (click) =logout() style="text-align: left">Logout</button>-->
<button mat-button (click) ="authService.updateAgentContents()" style="text-align: left">Refresh</button>
</mat-expansion-panel>
</mat-expansion-panel>
</div>
<div *ngIf="(computeSitesService.appidentities | async).length > 0">
<button mat-button (click) =logout() style="text-align: left; width: 100%">Logout</button>
</div>
<div *ngFor="let id of computeSitesService.appidentities | async">
<mat-expansion-panel (click)=selectId(id)>
<mat-expansion-panel-header>
......
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