Commit iniziale.

This commit is contained in:
Emiliano Vavassori 2019-11-30 16:59:32 +01:00
commit 1419a436ab
6 changed files with 66 additions and 0 deletions

8
templates/area.html Normal file
View file

@ -0,0 +1,8 @@
<!doctype html>
<html>
<body>
<title>Calcola l'area del rettangolo</title>
<p>L'area del triangolo è {{ area_calcolata }}</p>
</body>
</html>

14
templates/modulo.html Normal file
View file

@ -0,0 +1,14 @@
<!doctype html>
<html>
<body>
<title>Calcola l'area del rettangolo</title>
<p><form action="/area_rettangolo" method="post">
<label for="base">Lunghezza della base:</label>
<input type="text" name="base" /><br/>
<label for="altezza">Lunghezza dell'altezza:</label>
<input type="text" name="altezza" /><br/>
<input type="submit" name="Calcola" />
</form></p>
</body>
</html>