-
Notifications
You must be signed in to change notification settings - Fork 0
/
website.py
75 lines (54 loc) · 1.86 KB
/
website.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
'''
from flask import Flask, render_template, request, url_for
app = Flask(__name__)
@app.route('/')
def index():
return render_template("index.html")
@app.route("/about.html")
def form():
return render_template("about.html")
@app.route("/courses.html")
def courses():
return render_template("courses.html")
@app.route("/course-details-python1.html")
def course_details_python1():
return render_template("course-details-python1.html")
@app.route("/course-details-python2.html")
def course_details_python2():
return render_template("course-details-python2.html")
@app.route("/course-details-python3.html")
def course_details_python3():
return render_template("course-details-python3.html")
@app.route("/course-details-biomedical.html")
def course_details_biomedical():
return render_template("course-details-biomedical.html")
@app.route("/course-details-java1.html")
def course_details_java1():
return render_template("course-details-java1.html")
@app.route("/course-details-c1.html")
def course_details_c1():
return render_template("course-details-c1.html")
@app.route("/course-details-scratch.html")
def course_details_scratch():
return render_template("course-details-scratch.html")
@app.route("/course-details-web1.html")
def course_details_web1():
return render_template("course-details-web1.html")
@app.route("/course-details-hardwareengineering.html")
def course_details_hardware():
return render_template("course-details-hardwareengineering.html")
@app.route("/register.html")
def register():
return render_template("register.html")
@app.route("/elements.html")
def elements():
return render_template("elements.html")
#@app.route("/blog-home.html")
#def blog_home():
#return render_template("blog-home.html")
#@app.route("/blog-single.html")
#def blog_single():
#return render_template("blog-single.html")
if __name__ == '__main__':
app.run(debug=True)
'''