Add design changes
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
<app-header></app-header>
|
<app-header></app-header>
|
||||||
<main class="container" *ngIf="!loading && connectedToApi">
|
<div id="versionDiv" *ngIf="!loading && connectedToApi">
|
||||||
<router-outlet></router-outlet>
|
APP Version : {{appVersion}} - API Version : {{apiVersion}}
|
||||||
</main>
|
</div>
|
||||||
<main class="container" *ngIf="!loading && !connectedToApi">
|
<main class="container">
|
||||||
<h3>Vous n'êtes pas connecté au serveur.</h3>
|
<router-outlet *ngIf="!loading && connectedToApi"></router-outlet>
|
||||||
Veuillez contacter votre administrateur ou réessayer plus tard.
|
<div *ngIf="!loading && !connectedToApi">
|
||||||
</main>
|
<h3>Vous n'êtes pas connecté au serveur.</h3>
|
||||||
<main class="container" *ngIf="loading">
|
Veuillez contacter votre administrateur ou réessayer plus tard.
|
||||||
<h3>Chargement...</h3>
|
</div>
|
||||||
</main>
|
<h3 *ngIf="loading">Chargement...</h3>
|
||||||
<!-- <app-footer></app-footer> -->
|
</main>
|
||||||
|
|
||||||
@@ -1,4 +1,14 @@
|
|||||||
main {
|
main {
|
||||||
margin-top: 84px;
|
padding-top: 15px;
|
||||||
padding-top: 25px;
|
flex:1 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
#versionDiv {
|
||||||
|
background-color: #388e3c;
|
||||||
|
color: white;
|
||||||
|
padding: 2px 10px;
|
||||||
|
margin-top: -6px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-style: italic;
|
||||||
|
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
|
||||||
}
|
}
|
||||||
@@ -10,6 +10,7 @@ import { environment } from '../environments/environment';
|
|||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
title = 'app';
|
title = 'app';
|
||||||
loading = true;
|
loading = true;
|
||||||
|
appVersion = environment.appVersion;
|
||||||
apiVersion;
|
apiVersion;
|
||||||
connectedToApi = false;
|
connectedToApi = false;
|
||||||
|
|
||||||
|
|||||||
@@ -24,4 +24,5 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</links>
|
</links>
|
||||||
|
<div style="background-color: blue;">Test</div>
|
||||||
</mdb-navbar>
|
</mdb-navbar>
|
||||||
@@ -1,4 +1,19 @@
|
|||||||
/* You can add global styles to this file, and also import other style files */
|
/* You can add global styles to this file, and also import other style files */
|
||||||
|
html {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
// 64px for the header and 15px for a litle margin.
|
||||||
|
padding-top: 90px;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
display: flex;
|
||||||
|
position: relative;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content:space-between;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-rounded {
|
.btn-rounded {
|
||||||
border-radius: 10em;
|
border-radius: 10em;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user