You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.5 KiB
HTML
26 lines
1.5 KiB
HTML
<app-drawer-page (keyDownEvent)="this.onKeydown($event)" appInputReceiver>
|
|
<app-drawer-page-side>
|
|
<app-files-tab-sidebar (searchEndEvent)="this.contentLoading = false;"
|
|
(searchStartEvent)="this.contentLoading = true;"
|
|
[selectedFiles]="this.selectedFiles"
|
|
[state]="this.state"></app-files-tab-sidebar>
|
|
</app-drawer-page-side>
|
|
<app-drawer-page-content>
|
|
<app-busy-indicator *ngIf="!this.metadata || this.metadata.file_count > 0"
|
|
[blurBackground]="true"
|
|
[busy]="contentLoading"
|
|
[darkenBackground]="true">
|
|
<app-file-multiview (fileSelectEvent)="this.onFileSelect($event)"
|
|
(modeChangeEvent)="state.mode.next($event)"
|
|
[files]="this.files"
|
|
[mode]="state.mode.value"
|
|
[preselectedFile]="this.getStateSelectedFile()"
|
|
[tabState]="this.state"></app-file-multiview>
|
|
</app-busy-indicator>
|
|
<app-middle-centered *ngIf="this.metadata && this.metadata.file_count === 0" class="import-prompt">
|
|
<div><h1>There are no files in this repository.</h1></div>
|
|
<button (click)="this.onImportFiles()" color="primary" mat-flat-button>Import files</button>
|
|
</app-middle-centered>
|
|
</app-drawer-page-content>
|
|
</app-drawer-page>
|