-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from johanah29/alexis
Finish capsule details
- Loading branch information
Showing
7 changed files
with
57 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
<router-outlet></router-outlet> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h1 class="my-3">SpaceX Programmes de lancement</h1> | ||
</div> | ||
<router-outlet></router-outlet> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
<p *ngIf="capsule">capsule: {{capsule.capsule_serial}}</p> | ||
<div *ngIf="capsule"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ capsule.capsule_serial }}</h5> | ||
<h6 class="card-subtitle mb-2 text-muted">{{ capsule.type }}</h6> | ||
<p class="card-text">{{ capsule.details }}</p> | ||
|
||
<h4 style="text-align: center; margin-top: 24px">Lancements avec la capsules</h4> | ||
<div *ngFor="let launch of launches"> | ||
<h5>flight id: {{ launch.flight_number }}</h5> | ||
<h5>Date du lancement: {{ launch.launch_date_local | date: 'dd LLL y H\'h\'mm' }}</h5> | ||
<p>{{ launch.details }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
src/app/components/launch-programs/launch-programs.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 5 additions & 15 deletions
20
src/app/components/launch-programs/launch-programs.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
<br> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<h1 class="my-3">SpaceX Programmes de lancement</h1> | ||
</div> | ||
<br> | ||
<br> | ||
<div class="col-md-12"> | ||
<p *ngIf="isLoading" class="loading-text">Veuillez patienter pendant le chargement des données...</p> | ||
<div *ngIf="!isLoading" class="row"> | ||
<div *ngFor ="let item of launchDataArray" class="col-md-4"> | ||
<app-launch-detail [data]="item"></app-launch-detail> | ||
</div> | ||
</div> | ||
<div class="col-md-12"> | ||
<p *ngIf="isLoading" class="loading-text">Veuillez patienter pendant le chargement des données...</p> | ||
<div *ngIf="!isLoading" class="row"> | ||
<div *ngFor ="let item of launchDataArray" class="col-md-4"> | ||
<app-launch-detail [data]="item"></app-launch-detail> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<h1>Liste des Capsules</h1> | ||
<h2>Liste des Capsules</h2> | ||
|
||
<table class="table"> | ||
<thead> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
/* You can add global styles to this file, and also import other style files */ | ||
h1 { | ||
color: #000; | ||
background-color: #fff; | ||
border-radius: 5px; | ||
text-align: center; | ||
padding: 10px; | ||
} | ||
|
||
h2 { | ||
color: #000; | ||
background-color: rgba(255, 255, 255, 0); | ||
text-align: left; | ||
} | ||
|
||
body { | ||
background-color: #32b794; | ||
background-color: #a3cae4; | ||
font-family: Arial, Helvetica, sans-serif!important; | ||
} |