Skip to content

Commit

Permalink
Update home.page.html
Browse files Browse the repository at this point in the history
  • Loading branch information
DuduVerderio authored Sep 30, 2023
1 parent 63a6460 commit 5edd683
Showing 1 changed file with 48 additions and 35 deletions.
83 changes: 48 additions & 35 deletions src/app/home/home.page.html
Original file line number Diff line number Diff line change
@@ -1,42 +1,55 @@
<ion-content [fullscreen]="true" class="padding">
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<title>Gasolina ou Álcool</title>
<link href="https://unpkg.com/[email protected]/dist/css/ionicons.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/ionic/ionic.bundle.js"></script>
</head>
<body>
<ion-app>
<ion-content [fullscreen]="true" class="padding">

<ion-grid>
<ion-row>
<ion-col size="12">
<ion-img src="../assets/logo.png"></ion-img>
</ion-col>
</ion-row>
<br>
<ion-row>
<ion-col size="12">
<h4 class="ion-text-center">Saiba qual a melhor opção para abastecer seu carro.</h4>
</ion-col>
</ion-row>
<br>
<ion-row>
<ion-col size="12">
<ion-item>
<ion-label position="stacked">Preço Álcool (ex: 3,80)</ion-label>
<ion-input type="number" [(ngModel)]="precoAlcool"></ion-input>
</ion-item>
<ion-grid>
<ion-row>
<ion-col size="12">
<ion-img src="../assets/logo.png"></ion-img>
</ion-col>
</ion-row>
<br>
<ion-row>
<ion-col size="12">
<h4 class="ion-text-center">Saiba qual a melhor opção para abastecer seu carro.</h4>
</ion-col>
</ion-row>
<br>
<ion-row>
<ion-col size="12">
<ion-item>
<ion-label position="stacked">Preço Álcool (ex: 3,80)</ion-label>
<ion-input type="number" [(ngModel)]="precoAlcool"></ion-input>
</ion-item>

<ion-item>
<ion-label position="stacked">Preço Gasolina (ex: 6,00)</ion-label>
<ion-input type="number" [(ngModel)]="precoGasolina"></ion-input>
</ion-item>
<ion-item>
<ion-label position="stacked">Preço Gasolina (ex: 6,00)</ion-label>
<ion-input type="number" [(ngModel)]="precoGasolina"></ion-input>
</ion-item>

<br><br>
<br><br>

<ion-button expand="full" (click)="calcular()">Calcular</ion-button>
<ion-button expand="full" (click)="calcular()">Calcular</ion-button>

</ion-col>
</ion-row>
</ion-col>
</ion-row>

<ion-row>
<ion-col size="12">
<h5 class="ion-text-center">{{ resultado }}</h5>
</ion-col>
</ion-row>
</ion-grid>
<ion-row>
<ion-col size="12">
<h5 class="ion-text-center">{{ resultado }}</h5>
</ion-col>
</ion-row>
</ion-grid>

</ion-content>
</ion-content>
</ion-app>
</body>
</html>

0 comments on commit 5edd683

Please sign in to comment.