Skip to content

Commit 44015eb

Browse files
author
wellington90
committed
mensagem de confirmação
1 parent a35fd7f commit 44015eb

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ def update():
1717

1818
if __name__ == '__main__':
1919
app.run(debug=True)
20+

templates/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Contagem de Refresh</title>
5+
</head>
6+
<body>
7+
<h1>A contagem atual é: {{ count }}</h1>
8+
<form action="/update">
9+
<button type="submit">Atualizar</button>
10+
</form>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)