This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
universal-statuspage/src/app/app.component.html
Samuel Philipp e9599373ec added last downtime log (closes #55)
added uptime statistics (closes #56)
added german translations (closes #57)
2021-01-10 16:06:18 +01:00

39 lines
1.2 KiB
HTML

<div class="box">
<header class="container pt-4">
<div class="d-flex">
<div *ngIf="title && title.length">
<h1>{{translations[getLanguage()]?.title || title}}</h1>
</div>
<div class="flex-grow-1"></div>
<div class="language-selection">
<a href="#" class="mr-2" (click)="setLanguage('en'); $event.preventDefault();">
<span class="flag-icon flag-icon-us"></span>
</a>
<a href="#" (click)="setLanguage('de'); $event.preventDefault();">
<span class="flag-icon flag-icon-de"></span>
</a>
</div>
</div>
<div *ngIf="description && description.length">
<h3>{{translations[getLanguage()]?.description || description}}</h3>
</div>
</header>
<main class="container">
<router-outlet></router-outlet>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col-12 col-sm-6">
Powered by <a href="https://git.sp-codes.de/samuel-p/universal-statuspage">universal-statuspage</a>
</div>
<div class="col-12 col-sm-6 text-sm-right">
Made with <span class="fas fa-heart"></span> by <a href="https://sp-codes.de">sp-codes</a>
</div>
</div>
</div>
</footer>
</div>