diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..cf258c4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "python.pythonPath": "/home/fergalm/.virtualenvs/buttnerdz/bin/python" +} \ No newline at end of file diff --git a/server.py b/server.py new file mode 100644 index 0000000..ef04e34 --- /dev/null +++ b/server.py @@ -0,0 +1,16 @@ +from flask import Flask, render_template + +app = Flask(__name__) + + +@app.route('/') +def index(): + return render_template('body.html') + + +@app.route('/test') +def test(): + return render_template('test.html') + + +app.run(debug=True) diff --git a/templates/_base.html b/templates/_base.html new file mode 100644 index 0000000..d47017c --- /dev/null +++ b/templates/_base.html @@ -0,0 +1,17 @@ + + + + + + + + + {% block content %} + {% endblock %} + + + + \ No newline at end of file diff --git a/templates/body.html b/templates/body.html new file mode 100644 index 0000000..79921fc --- /dev/null +++ b/templates/body.html @@ -0,0 +1,22 @@ +{% extends '_base.html' %} +{% block content %} +
+
+
+
+
+ Channels +
+
+ Main +
+
+ Friends +
+
+
+{% endblock %} \ No newline at end of file diff --git a/templates/test.html b/templates/test.html new file mode 100644 index 0000000..ebd2188 --- /dev/null +++ b/templates/test.html @@ -0,0 +1,8 @@ +{% extends '_base.html' %} +{% block content %} +
+
+

This is a test

+
+
+{% endblock %} \ No newline at end of file