From b0906f52f7bd28c9c46b0191a27af962c5fed87b Mon Sep 17 00:00:00 2001 From: Abhiram Vishnubhotla Date: Sun, 21 Jul 2024 12:42:47 -0500 Subject: [PATCH] Updated base.html --- .DS_Store | Bin 0 -> 6148 bytes app.py | 31 +++++++++++++++++++++++++++++++ static/css/styles.css | 3 +++ static/js/scripts.js | 0 templates/awards.html | 7 +++++++ templates/base.html | 34 ++++++++++++++++++++++++++++++++++ templates/competitions.html | 11 +++++++++++ templates/contact.html | 11 +++++++++++ templates/contributors.html | 11 +++++++++++ templates/home.html | 11 +++++++++++ templates/robot.html | 7 +++++++ 11 files changed, 126 insertions(+) create mode 100644 .DS_Store create mode 100644 app.py create mode 100644 static/css/styles.css create mode 100644 static/js/scripts.js create mode 100644 templates/awards.html create mode 100644 templates/base.html create mode 100644 templates/competitions.html create mode 100644 templates/contact.html create mode 100644 templates/contributors.html create mode 100644 templates/home.html create mode 100644 templates/robot.html diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..7628a507292298469aedb5812c04b2845b577591 GIT binary patch literal 6148 zcmeHKy-ve05I&a(6%bN47&BE2P^mDmhAIrqeS!XpA|*{waZE&Nv|bE}dPLNPGe*ZK0>xCU@{{i031qJ8kKO{dP>3fGdJsdCmj_wxq7YU5^)!|}Yx zOWlhpyuR`xP3?E1`~JCJUH3okK-=Lge&v*_z&I7Mox-1JzLWD8#_;FoaDzEJ?QYJU zi%Gu8+2d?;ZsP=UK0>xj%JD`ro%yn%_AN5Mbkq(+`1wa?hzPLUSrFCz8>4)Xxt$C8 zI&EkAGjd-#;>7kt0qogq-4laSiUOj5D6mn0zYj5-F|k-1)SnI%`Un7wP^}I3{42mQ zvBkt&lVM=yyZA^~$+8928voWtWs6$ZL?O5ONR(uZE ahPIe*fQiN0AZlRpBcNrFLKOH@1%3dK5t@wv literal 0 HcmV?d00001 diff --git a/app.py b/app.py new file mode 100644 index 0000000..f953704 --- /dev/null +++ b/app.py @@ -0,0 +1,31 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route('/') +@app.route('/home') +def home(): + return render_template('home.html') + +@app.route('/contributors') +def contributors(): + return render_template('contributors.html') + +@app.route('/robot') +def robot(): + return render_template('robot.html') + +@app.route('/competitions') +def competitions(): + return render_template('competitions.html') + +@app.route('/awards') +def awards(): + return render_template('awards.html') + +@app.route('/contact') +def contact(): + return render_template('contact.html') + +if __name__ == '__main__': + app.run(debug=True) \ No newline at end of file diff --git a/static/css/styles.css b/static/css/styles.css new file mode 100644 index 0000000..699a279 --- /dev/null +++ b/static/css/styles.css @@ -0,0 +1,3 @@ +body { + margin: 0; +} diff --git a/static/js/scripts.js b/static/js/scripts.js new file mode 100644 index 0000000..e69de29 diff --git a/templates/awards.html b/templates/awards.html new file mode 100644 index 0000000..c85949e --- /dev/null +++ b/templates/awards.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}Awards{% endblock %} + +{% block content %} + +{% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..543f0ae --- /dev/null +++ b/templates/base.html @@ -0,0 +1,34 @@ + + + + + + {% block title %}FTC Robotics{% endblock %} + + + + + + + + + + {% block content %} + {% endblock %} + + diff --git a/templates/competitions.html b/templates/competitions.html new file mode 100644 index 0000000..0968294 --- /dev/null +++ b/templates/competitions.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Competition Log{% endblock %} + +{% block content %} + + +

competitions

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/contact.html b/templates/contact.html new file mode 100644 index 0000000..c6ac85c --- /dev/null +++ b/templates/contact.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Communication{% endblock %} + +{% block content %} + + +

contact

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/contributors.html b/templates/contributors.html new file mode 100644 index 0000000..7c3029c --- /dev/null +++ b/templates/contributors.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Members and Contributors{% endblock %} + +{% block content %} + + +

contributors

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..a1a0715 --- /dev/null +++ b/templates/home.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Home{% endblock %} + +{% block content %} + + +

home

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/robot.html b/templates/robot.html new file mode 100644 index 0000000..590378d --- /dev/null +++ b/templates/robot.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}About The Robot{% endblock %} + +{% block content %} + +{% endblock %} \ No newline at end of file