blob: e913ca473cfb4d3bb42b289f5ea8f7319bb9c75a [file] [log] [blame]
<!--
~ 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>
<button mat-raised-button class="butt butt-create" [disabled]="userUploadAccessKeyState == 202 || healthStatus?.status === 'error'" (click)="createNotebook_btnClick()">
<i class="material-icons">add</i>Create new
</button>
</div>
<div>
<button mat-raised-button class="butt butt-tool" (click)="manageUngit()">
<i class="material-icons"></i>Git credentials
</button>
<button mat-raised-button class="butt butt-tool" (click)="toggleFiltering()">
<span *ngIf="!resourcesGrid.activeFiltering">
<i class="material-icons">visibility_off</i> Show active
</span>
<span *ngIf="resourcesGrid.activeFiltering">
<i class="material-icons">visibility</i> Show all
</span>
</button>
<button mat-raised-button class="butt" (click)="refreshGrid()">
<i class="material-icons">autorenew</i>Refresh
</button>
</div>
</div>
<div *ngIf="userUploadAccessKeyState == 500" class="warning-alert base-retreat">
<span class="material-icons">priority_high</span>
Error happened during user access key upload. Please try to reupload the key.
</div>
<resources-grid></resources-grid>
<exploratory-environment-create-dialog #createAnalyticalModal (buildGrid)="refreshGrid()"></exploratory-environment-create-dialog>
<dlab-manage-ungit #manageUngitDialog></dlab-manage-ungit>