forked from nighthawkcoders/flask_portfolio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tools.py
41 lines (24 loc) · 864 Bytes
/
tools.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
from flask import Blueprint, render_template
app_tools = Blueprint('tools', __name__,
url_prefix='/tools/',
template_folder='templates/tools/',
static_folder='static',
static_url_path='static/assets')
@app_tools.route('/todo/')
def todo():
return render_template("todo.html")
@app_tools.route('/calculator/')
def calculator():
return render_template("calculator.html")
@app_tools.route('/notepad/')
def notepad():
return render_template("notepad.html")
@app_tools.route('/websearch/')
def websearch():
return render_template("websearch.html")
@app_tools.route('/flashcards/')
def flashcards():
return render_template("flashcards.html")
@app_tools.route('/googlesearch/')
def googlesearch():
return render_template("googlesearch.html")