summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/app.component.html
blob: 9325fb62ab0ff0f17c5802957ee4bafcf47ca5db (plain)
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
<ng-container *ngIf="!userIsLogged() else layoutEnabled">
  <app-login></app-login>
</ng-container>
<ng-template #layoutEnabled>
  <mk-layout-wrapper>
    <mk-layout-header logoLink="/">
      <mk-layout-header-logo>Open<b>GnSys</b> 3</mk-layout-header-logo>
      <mk-layout-header-logo-mini>O<b>G</b>3</mk-layout-header-logo-mini>
      <app-header-inner></app-header-inner>
    </mk-layout-header>
    <mk-layout-sidebar-left>
      <app-sidebar-left-inner></app-sidebar-left-inner>
    </mk-layout-sidebar-left>
    <mk-layout-sidebar-right>
      <app-sidebar-right-inner></app-sidebar-right-inner>
    </mk-layout-sidebar-right>
    <mk-layout-content>
      <router-outlet></router-outlet>
      <div *ngIf="ogCommonService.showLoader == true">
        <div class="loader" *mkLoadingPage="{checkPendingHttp: true, checkPendingRoute: true}">
          <mk-circle></mk-circle>
        </div>
      </div>
    </mk-layout-content>
    <mk-layout-footer>
      <mk-layout-footer-left>
        <strong>Powered by <a href="http://almsaeedstudio.com">AdminLte</a>.</strong>
      </mk-layout-footer-left>
      <mk-layout-footer-right>
        <b>Version</b> 2.4.2
      </mk-layout-footer-right>
    </mk-layout-footer>
  </mk-layout-wrapper>
</ng-template>