|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
<ng-container *ngIf="init">
|
|
|
|
|
<div #globalTopLeft style="position: fixed; top: 0; left: 0; z-index: -1;"></div>
|
|
|
|
|
<ng-container *ngIf="rect && planService.currentPlan">
|
|
|
|
|
<div class="target waypoint" [style.background-color]="backgroundColor ? backgroundColor : 'rgba(0, 0, 0, 0.1)'"
|
|
|
|
|
<div class="target waypoint trial" [style.background-color]="backgroundColor ? backgroundColor : 'rgba(0, 0, 0, 0.1)'"
|
|
|
|
|
[style.transform]="transform()" [style.width]="rect.width + 'px'" [style.height]="rect.height + 'px'"
|
|
|
|
|
[class]="hasWaypoint() ? 'active' : ''" (wheel)="onScroll($event)" #targetRef>
|
|
|
|
|
[class]="specialClasses()" (wheel)="onScroll($event)" #targetRef>
|
|
|
|
|
<ng-container *ngIf="planService.currentPlan">
|
|
|
|
|
<span hidden>{{planService.currentPlan.current}}</span>
|
|
|
|
|
<carousel [initIndex]="planService.currentPlan.current" [numVisible]="3"
|
|
|
|
@ -11,8 +11,13 @@
|
|
|
|
|
<ng-template let-slide let-index="index">
|
|
|
|
|
<div class="zone-slide" [style.color]="configService.config.noteDefaultFg"
|
|
|
|
|
[style.border]="index == planService.currentPlan.current ? '1px white solid' : 'none'">
|
|
|
|
|
{{worldAreaMap!.get(slide.area_key)!.name}}<div class="waypoint-text"
|
|
|
|
|
*ngIf="hasWaypoint(slide.area_key)">(W)</div>
|
|
|
|
|
|
|
|
|
|
{{worldAreaMap!.get(slide.area_key)!.name}}
|
|
|
|
|
|
|
|
|
|
<div class="text-marker d-flex flex-row">
|
|
|
|
|
<div class="waypoint-text" *ngIf="hasWaypoint(slide.area_key)">(W)</div>
|
|
|
|
|
<div class="trial-text" *ngIf="hasTrial(slide.area_key)">(T)</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</carousel>
|
|
|
|
@ -20,7 +25,8 @@
|
|
|
|
|
(afterInitSelf)="registerCurrentSlides($event)">
|
|
|
|
|
<ng-template let-slide>
|
|
|
|
|
<scalable>
|
|
|
|
|
<notes class="p-1" [note]="slide.notes" [style.color]="configService.config.noteDefaultFg" #noteSlide></notes>
|
|
|
|
|
<notes class="p-1" [note]="slide.notes" [style.color]="configService.config.noteDefaultFg"
|
|
|
|
|
#noteSlide></notes>
|
|
|
|
|
</scalable>
|
|
|
|
|
</ng-template>
|
|
|
|
|
</carousel>
|
|
|
|
@ -44,15 +50,22 @@
|
|
|
|
|
<div class="overlay container-fluid vw-100">
|
|
|
|
|
<div class="row row-cols-2">
|
|
|
|
|
<div class="planChooser col-xs-6 col-sm-6 col-md-4 col-lg-3 col-xl-3">
|
|
|
|
|
<div>
|
|
|
|
|
<button class="col-xs-6" mat-raised-button color="accent" (click)="openDialog()">Browse
|
|
|
|
|
Plans</button>
|
|
|
|
|
<button class="col-xs-6" mat-raised-button color="accent" (click)="loadBasePlan()">Load base
|
|
|
|
|
plan</button>
|
|
|
|
|
<div class="d-flex justify-content-evenly">
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<button class="" mat-raised-button color="accent" (click)="openDialog()">Browse
|
|
|
|
|
Plans
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-6">
|
|
|
|
|
<button class="" mat-raised-button color="accent" (click)="loadBasePlan()">
|
|
|
|
|
Load base plan
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="enumerated">
|
|
|
|
|
<mat-list role="list">
|
|
|
|
|
<mat-list-item role="listitem" *ngFor="let plan of planService.planStore"><button
|
|
|
|
|
<mat-list-item class="d-flex flex-column" role="listitem"
|
|
|
|
|
*ngFor="let plan of planService.planStore"><button
|
|
|
|
|
(click)="setPrevious(plan)">{{plan}}</button></mat-list-item>
|
|
|
|
|
</mat-list>
|
|
|
|
|
|
|
|
|
|