Commit iniziale.
This commit is contained in:
commit
1419a436ab
6 changed files with 66 additions and 0 deletions
8
templates/area.html
Normal file
8
templates/area.html
Normal 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
14
templates/modulo.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue