views.py 858 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 30 31 32 33 34 35

@website.route('/events')
def events():
    return render_template("events.html",
    
    )

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

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

Daniel W Bond's avatar
Daniel W Bond committed
48
@website.route('/projects')
Daniel W Bond's avatar
Daniel W Bond committed
49 50 51 52
def projects():
    return render_template("projects.html",

    )