diff --git a/en/solutions/webapp.zip b/en/solutions/webapp.zip new file mode 100644 index 0000000..c5d280b Binary files /dev/null and b/en/solutions/webapp.zip differ diff --git a/en/solutions/webapp/app.py b/en/solutions/webapp/app.py deleted file mode 100644 index e7a7ace..0000000 --- a/en/solutions/webapp/app.py +++ /dev/null @@ -1,18 +0,0 @@ -from flask import Flask, render_template - -app = Flask(__name__) - -@app.route('/') -def index(): - return render_template('index.html') - -@app.route('/cakes') -def cakes(): - return render_template('cakes.html') - -@app.route('/hello/') -def hello(name): - return render_template('page.html', name=name) - -if __name__ == '__main__': - app.run(debug=True, host='0.0.0.0') diff --git a/en/solutions/webapp/static/style.css b/en/solutions/webapp/static/style.css deleted file mode 100644 index ef2206f..0000000 --- a/en/solutions/webapp/static/style.css +++ /dev/null @@ -1,4 +0,0 @@ -body { - background: red; - color: yellow; -} diff --git a/en/solutions/webapp/templates/cakes.html b/en/solutions/webapp/templates/cakes.html deleted file mode 100644 index df67de5..0000000 --- a/en/solutions/webapp/templates/cakes.html +++ /dev/null @@ -1,5 +0,0 @@ - - -

Yummy cakes!

- - diff --git a/en/solutions/webapp/templates/index.html b/en/solutions/webapp/templates/index.html deleted file mode 100644 index caddf1d..0000000 --- a/en/solutions/webapp/templates/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - -

My website

-Hi Paul - - diff --git a/en/solutions/webapp/templates/page.html b/en/solutions/webapp/templates/page.html deleted file mode 100644 index 2963395..0000000 --- a/en/solutions/webapp/templates/page.html +++ /dev/null @@ -1,5 +0,0 @@ - - -

Hello {{ name }}!

- -