views.py 763 Bytes
Newer Older
Daniel W Bond's avatar
Daniel W Bond committed
1
from flask import render_template
Daniel W Bond's avatar
Daniel W Bond committed
2
from website import website
Daniel W Bond's avatar
Daniel W Bond committed
3

Daniel W Bond's avatar
Daniel W Bond committed
4
5
@website.route('/')
@website.route('/index')
Daniel W Bond's avatar
Daniel W Bond committed
6
7
8
9
def index():
    return render_template("index.html",
    
    )
Daniel W Bond's avatar
Daniel W Bond committed
10

Daniel W Bond's avatar
Daniel W Bond committed
11
@website.route('/calendar')
Daniel W Bond's avatar
Daniel W Bond committed
12
13
14
15
16
def calendar():
    return render_template("calendar.html",
    
    )

Daniel W Bond's avatar
Daniel W Bond committed
17
@website.route('/contact')
Daniel W Bond's avatar
Daniel W Bond committed
18
19
20
21
22
def contact():
    return render_template("contact.html",
    
    )

Daniel W Bond's avatar
Daniel W Bond committed
23
@website.route('/documents')
Daniel W Bond's avatar
Daniel W Bond committed
24
25
26
27
28
def documents():
    return render_template("documents.html",
    
    )

Daniel W Bond's avatar
Daniel W Bond committed
29
@website.route('/meetings')
Daniel W Bond's avatar
Daniel W Bond committed
30
31
32
33
34
def meetings():
    return render_template("meetings.html",
    
    )

Daniel W Bond's avatar
Daniel W Bond committed
35
@website.route('/people')
Daniel W Bond's avatar
Daniel W Bond committed
36
37
38
39
40
def people():
    return render_template("people.html",
    
    )

Daniel W Bond's avatar
Daniel W Bond committed
41
@website.route('/projects')
Daniel W Bond's avatar
Daniel W Bond committed
42
43
44
45
def projects():
    return render_template("projects.html",

    )