Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

709 B
Raw Blame
<ng-container *transloco="let t; read: 'common'">
  <ng-container *ngIf="loading">
    <ng-container *ngIf="absolute; else relative">
      <div class="position-absolute top-50 start-50 translate-middle" style="z-index: 999">
        <div class="spinner-border {{size}} text-primary" role="status">
          <span class="visually-hidden">{{t('loading')}}</span>
        </div>
      </div>
    </ng-container>

    <ng-template #relative>
      <div class="d-flex justify-content-center">
        <div class="spinner-border {{size}} text-primary" role="status">
          <span class="visually-hidden">{{t('loading')}}</span>
        </div>
      </div>
    </ng-template>
  </ng-container>

</ng-container>