All files / src/app app.component.html

97.14% Statements 34/35
83.33% Branches 5/6
100% Functions 2/2
96% Lines 24/25

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37114x   65082x     114x 114x 65082x   90x 90x   58270x 58270x 91x 58178x   90x 46x   90x 58270x 90x     90x 90x 90x   114x 115x 115x 115x   114x    
<p-toast position="bottom-right" />
 
@if (!isCloudReachable) {
  <app-global-error></app-global-error>
}
@else {
  <div>
    @if (display_bars) {
      <div>
        <div class="page-content">
          <app-header></app-header>
          <div class="main-content">
            <div class="leftbar-container" [ngClass]="{'collapsed': isCollapsed}">
              @if (!isCollapsed) {
                <app-leftbar></app-leftbar>
                <p-button class='floating-btn' icon="pi pi-arrow-left" [rounded]="true" (click)="toggleSidebar()"/>
              }
              @else {
                <p-button class='floating-btn' icon="pi pi-arrow-right" [rounded]="true" (click)="toggleSidebar()"/>
              }
            </div>
            <div class="main-page" [ngClass]="{'extended': isCollapsed}">
              <router-outlet></router-outlet>
            </div>
          </div>
        </div>
        <app-footer></app-footer>
      </div>
    }
    @else {
      <div>
        <router-outlet ></router-outlet>
      </div>
    }
  </div>
}