diff options
| author | chzhang <zch921005@126.com> | 2022-12-03 21:12:15 +0800 |
|---|---|---|
| committer | chzhang <zch921005@126.com> | 2022-12-03 21:12:15 +0800 |
| commit | 00461080f2c3bb9372c2ec28c2f40e0f64397077 (patch) | |
| tree | 6eeb026e8d9bbeaa17704920bc966b07f2917628 /web/flask_proj/old | |
| parent | 89382791ea9896172bdf8f15e8b30e944664fa15 (diff) | |
template htmls
Diffstat (limited to 'web/flask_proj/old')
| -rw-r--r-- | web/flask_proj/old/app.py | 14 | ||||
| -rw-r--r-- | web/flask_proj/old/templates/index.html | 20 |
2 files changed, 0 insertions, 34 deletions
diff --git a/web/flask_proj/old/app.py b/web/flask_proj/old/app.py deleted file mode 100644 index 2c3abb8..0000000 --- a/web/flask_proj/old/app.py +++ /dev/null @@ -1,14 +0,0 @@ -from flask import Flask, render_template - -app = Flask(__name__) - - -@app.route('/') -@app.route('/home') -def home(): - # return "<h1 style='color: blue;'> hello world! </h1>" - return render_template('index.html') - - -if __name__ == '__main__': - app.run(debug=True, port=5001) diff --git a/web/flask_proj/old/templates/index.html b/web/flask_proj/old/templates/index.html deleted file mode 100644 index b9be263..0000000 --- a/web/flask_proj/old/templates/index.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCUTYPE html> -<html> -<head> - -</head> -<body> - <form> - <table> - <tr> - <td> Name: </td> - <td> <input type="text" name="" placeholder="name"></td> - </tr> - <tr> - <td> Password: </td> - <td> <input type="password" name="" placeholder="password"> </td> - </tr> - </table> - </form> -</body> -</html> |
