| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. |
| --> |
| |
| <div class="sub-nav base-retreat"> |
| <div *ngIf="healthStatus?.admin" class="admin-group"> |
| <button mat-raised-button class="butt ssn" (click)="openManageRolesDialog()"> |
| <i class="material-icons"></i>Manage roles |
| </button> |
| <button mat-raised-button class="butt ssn" (click)="openSsnMonitorDialog()"> |
| <i class="material-icons"></i>SSN Monitor |
| </button> |
| <button mat-raised-button class="butt env" (click)="openManageEnvironmentDialog()"> |
| <i class="material-icons"></i>Manage environment |
| </button> |
| <button mat-raised-button class="butt" (click)="showBackupDialog()" [disabled]="creatingBackup"> |
| <i class="material-icons">backup</i>Backup |
| </button> |
| </div> |
| <button mat-raised-button class="butt" (click)="buildGrid()"> |
| <i class="material-icons">autorenew</i>Refresh |
| </button> |
| </div> |
| |
| <management-grid [currentUser]="user.toLowerCase()" [uploadKey]="uploadKey" [healthStatus]="healthStatus?.status" [isAdmin]="healthStatus?.admin" [allEnvironmentData]="allEnvironmentData" [environmentsHealthStatuses]="healthStatus?.list_resources" (refreshGrid)="buildGrid()" |
| (actionToggle)="manageEnvironmentAction($event)"> |
| </management-grid> |
| |
| |
| <dlab-backup-dilog #backupDialog (backupOpts)="createBackup($event)"> |
| </dlab-backup-dilog> |
| |
| <dlab-manage-env-dilog #manageEnvDialog (manageEnv)="manageEnvironment($event)" (setBudget)="setBudgetLimits($event)"> |
| </dlab-manage-env-dilog> |
| |
| <progress-dialog #preloaderModal></progress-dialog> |
| <dlab-ssn-monitor #ssnMonitor></dlab-ssn-monitor> |
| |
| <dlab-manage-roles-groups #rolesGroupsModal (manageRolesGroupAction)="manageRolesGroups($event)"> |
| </dlab-manage-roles-groups> |