-
Notifications
You must be signed in to change notification settings - Fork 0
/
StaticPages.py
56 lines (37 loc) · 1.43 KB
/
StaticPages.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
# -*- coding: utf-8 -*-
import webapp2
from MasterHandler import StaticHandler
class StaticPageHandler(StaticHandler):
#****************************
# Views
#
def about(self):
self.sendContent('templates/Static_AboutUs.html')
def terms(self):
self.sendContent('templates/Static_Terms.html')
def privacy(self):
self.sendContent('templates/Static_Privacy.html')
def work(self):
self.sendContent('templates/Static_Work.html')
def pricing(self):
self.sendContent('templates/Static_Pricing.html')
def helpgeneral(self):
self.sendContent('templates/Static_Help.html')
def helpoverview(self):
self.sendContent('templates/Static_Help_Overview.html')
def helpios(self):
self.sendContent('templates/Static_Help_iOS.html')
def helpandroid(self):
self.sendContent('templates/Static_Help_Android.html')
def helpwindows(self):
self.sendContent('templates/Static_Help_Windows.html')
def helpprofile(self):
self.sendContent('templates/Static_Help_Profile.html')
def helppersonas(self):
self.sendContent('templates/Static_Help_Personas.html')
def helppsinques(self):
self.sendContent('templates/Static_Help_Psinques.html')
#-----------------------------------------------------------------------------
app = webapp2.WSGIApplication([
(r'/static/(\w+)', StaticPageHandler),
], debug=True)