-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Textual Competition Submission & Configuration Adjustements (#136)
- Loading branch information
Showing
23 changed files
with
379 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,88 @@ | ||
<mat-toolbar color="primary"> | ||
<img src="../assets/images/vitrivr_logo.png"> | ||
<img src="../assets/images/vitrivr_logo.png"> | ||
|
||
<span class="spacer-flex"></span> | ||
<span class="spacer-flex"></span> | ||
|
||
<button (click)="querysidenav.toggle()" mat-icon-button matTooltip="Toggle query sidebar"> | ||
<mat-icon>search</mat-icon> | ||
</button> | ||
<button (click)="querysidenav.toggle()" mat-icon-button matTooltip="Toggle query sidebar"> | ||
<mat-icon>search</mat-icon> | ||
</button> | ||
|
||
<span class="spacer-xlarge"></span> | ||
<span class="spacer-xlarge"></span> | ||
|
||
<a *ngIf="!(_config | GetConfigVariablePipe:competitionHost)" mat-icon-button matTooltip="Gallery view" routerLink="/gallery" | ||
routerLinkActive="active" skipLocationChange="true"> | ||
<mat-icon>grid_on</mat-icon> | ||
</a> | ||
<a *ngIf="!(_config | GetConfigVariablePipe:competitionHost)" mat-icon-button matTooltip="Gallery view" | ||
routerLink="/gallery" | ||
routerLinkActive="active" skipLocationChange="true"> | ||
<mat-icon>grid_on</mat-icon> | ||
</a> | ||
|
||
<span class="spacer-medium"></span> | ||
<span class="spacer-medium"></span> | ||
|
||
<a mat-icon-button matTooltip="Mini-gallery view" routerLink="/mini-gallery" routerLinkActive="active" | ||
skipLocationChange="true" (click)="setActiveView(0)" [color]="_active_view === 0 ? 'accent' : ''"> | ||
<mat-icon>view_comfy</mat-icon> | ||
</a> | ||
<a mat-icon-button matTooltip="Mini-gallery view" routerLink="/mini-gallery" routerLinkActive="active" | ||
skipLocationChange="true" (click)="setActiveView(0)" [color]="_active_view === 0 ? 'accent' : ''"> | ||
<mat-icon>view_comfy</mat-icon> | ||
</a> | ||
|
||
<span class="spacer-medium"></span> | ||
<span class="spacer-medium"></span> | ||
|
||
<a mat-icon-button matTooltip="List view" routerLink="/list" routerLinkActive="active" skipLocationChange="true" | ||
(click)="setActiveView(1)" [color]="_active_view === 1 ? 'accent' : ''"> | ||
<mat-icon>list</mat-icon> | ||
</a> | ||
<a mat-icon-button matTooltip="List view" routerLink="/list" routerLinkActive="active" skipLocationChange="true" | ||
(click)="setActiveView(1)" [color]="_active_view === 1 ? 'accent' : ''"> | ||
<mat-icon>list</mat-icon> | ||
</a> | ||
|
||
<span class="spacer-medium"></span> | ||
<span class="spacer-medium"></span> | ||
|
||
<a mat-icon-button matTooltip="Temporal Scoring view" routerLink="/temporal-list" routerLinkActive="active" | ||
skipLocationChange="true" (click)="setActiveView(2)" [color]="_active_view === 2 ? 'accent' : ''"> | ||
<mat-icon>filter_list</mat-icon> | ||
</a> | ||
<a mat-icon-button matTooltip="Temporal Scoring view" routerLink="/temporal-list" routerLinkActive="active" | ||
skipLocationChange="true" (click)="setActiveView(2)" [color]="_active_view === 2 ? 'accent' : ''"> | ||
<mat-icon>filter_list</mat-icon> | ||
</a> | ||
|
||
<span class="spacer-xlarge"></span> | ||
<span class="spacer-xlarge"></span> | ||
|
||
<button (click)="showHistory()" mat-icon-button matTooltip="Show query history."> | ||
<mat-icon>history</mat-icon> | ||
</button> | ||
<button (click)="showHistory()" mat-icon-button matTooltip="Show query history."> | ||
<mat-icon>history</mat-icon> | ||
</button> | ||
|
||
<button (click)="settingssidenav.toggle()" mat-icon-button [matBadge]="settingsbadge" | ||
matTooltip="Toggle query refinement sidebar"> | ||
<mat-icon>storage</mat-icon> | ||
</button> | ||
<button (click)="settingssidenav.toggle()" mat-icon-button [matBadge]="settingsbadge" | ||
matTooltip="Toggle query refinement sidebar"> | ||
<mat-icon>storage</mat-icon> | ||
</button> | ||
|
||
<ng-container *ngIf="('' | competitionEnabledPipe |async)"> | ||
<span class="spacer-flex"></span> | ||
|
||
<app-api-status> | ||
<mat-icon>av timer</mat-icon> | ||
</app-api-status> | ||
<div *ngIf="textualSubmissionOpen"> | ||
<app-textual-submission smallFont="true"></app-textual-submission> | ||
</div> | ||
<button mat-icon-button | ||
(click)="textualSubmissionOpen = !textualSubmissionOpen" | ||
[matTooltip]="(textualSubmissionOpen ? 'Close' : 'Open')+' textual submission input'"> | ||
<mat-icon>title</mat-icon> | ||
<mat-icon style="transform: translate(-12px, 12px);">{{ textualSubmissionOpen ? 'close' : 'near_me'}}</mat-icon> | ||
</button> | ||
</ng-container> | ||
|
||
<span class="spacer-flex"></span> | ||
|
||
<app-api-status> | ||
<mat-icon>av timer</mat-icon> | ||
</app-api-status> | ||
</mat-toolbar> | ||
|
||
<div> | ||
<mat-progress-bar *ngIf="_loadBool" [attr.color]="'accent'" mode="query"></mat-progress-bar> | ||
<mat-progress-bar *ngIf="_loadBool" [attr.color]="'accent'" mode="query"></mat-progress-bar> | ||
</div> | ||
|
||
<mat-sidenav-container fullscreen style="margin-top:75px;"> | ||
<mat-sidenav #querysidenav [opened]="true" class="left" mode="side"> | ||
<app-query-sidebar></app-query-sidebar> | ||
</mat-sidenav> | ||
|
||
<mat-sidenav-content id="scrollable"> | ||
<router-outlet></router-outlet> | ||
</mat-sidenav-content> | ||
|
||
<mat-sidenav #settingssidenav class="right" mode="side" | ||
position="end"> | ||
<app-settings></app-settings> | ||
</mat-sidenav> | ||
<mat-sidenav #querysidenav [opened]="true" class="left" mode="side"> | ||
<app-query-sidebar></app-query-sidebar> | ||
</mat-sidenav> | ||
|
||
<mat-sidenav-content id="scrollable"> | ||
<router-outlet></router-outlet> | ||
</mat-sidenav-content> | ||
|
||
<mat-sidenav #settingssidenav class="right" mode="side" | ||
position="end"> | ||
<app-settings></app-settings> | ||
</mat-sidenav> | ||
</mat-sidenav-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.