init
This commit is contained in:
21
flaskapp/templates/index.html
Normal file
21
flaskapp/templates/index.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Index</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
</header>
|
||||
<main>
|
||||
<section>
|
||||
<p> {{ pagevariable1 }} <p>
|
||||
<p> {{ pagevariable2 }} <p>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
20
flaskapp/templates/submit.html
Normal file
20
flaskapp/templates/submit.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Submit</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<form action="/submit" method="POST">
|
||||
<label for="forminput1">forminput1</label>
|
||||
<input type="text" name="forminput1" id="forminput1" required>
|
||||
<label for="forminput2">forminput2</label>
|
||||
<input type="text" name="forminput2" id="forminput2" required>
|
||||
<button> Submit </button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user