add form handler
This commit is contained in:
31
app/templates/index0.html
Normal file
31
app/templates/index0.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru ">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename = 'css/index.css')}}">
|
||||
|
||||
{% include 'bootstrap4.html'%}
|
||||
|
||||
<title>Save2pdf</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container h-100">
|
||||
<div class="row align-items-center h-100">
|
||||
<div class="col-6 mx-auto">
|
||||
<form method="POST" action="" >
|
||||
<h1> Сохрани в PDF </h1>
|
||||
<div class="form-group">
|
||||
<input type="email" class="form-control" name="email" aria-describedby="emailHelp" placeholder="Введите адрес e-mail">
|
||||
<small id="emailHelp" class="form-text text-muted">На него мы пришлем pdf</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" name="link" placeholder="Введите ссылку">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Сохранить</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user