Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
srct.gmu.io
Commits
519e86b7
Commit
519e86b7
authored
Aug 10, 2017
by
Michael T Bailey
Browse files
DELete aLL the tHINgs
parent
f07d9c50
Changes
63
Expand all
Show whitespace changes
Inline
Side-by-side
srctweb/website/templates/privacy_opt_out.html
deleted
100644 → 0
View file @
f07d9c50
<iframe
style=
"border: 0; height: 200px; width: 600px;"
src=
"http://whatsopen.gmu.edu/analytics/index.php?module=CoreAdminHome&action=optOut&language=en"
></iframe>
srctweb/website/templates/projects.html
deleted
100644 → 0
View file @
f07d9c50
This diff is collapsed.
Click to expand it.
srctweb/website/views.py
deleted
100644 → 0
View file @
f07d9c50
from
flask
import
render_template
from
website
import
website
@
website
.
route
(
'/'
)
def
index
():
return
render_template
(
"index.html"
,
renderHead
=
False
,
)
@
website
.
route
(
'/calendar/'
)
def
calendar
():
return
render_template
(
"calendar.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/librejs/'
)
def
librejs
():
return
render_template
(
"librejs.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/contact/'
)
def
contact
():
return
render_template
(
"contact.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/'
)
def
documents
():
return
render_template
(
"documents.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/people/'
)
def
people
():
return
render_template
(
"people.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/projects/'
)
def
projects
():
return
render_template
(
"projects.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/opt-out/'
)
def
optOut
():
return
render_template
(
"privacy_opt_out.html"
,
)
### DOCUMENTS ###
@
website
.
route
(
'/documents/constitution/'
)
def
constitution
():
return
render_template
(
"documents/constitution.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/intellectual_property/'
)
def
intellectualProperty
():
return
render_template
(
"documents/intellectual_property.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/logos/'
)
def
logos
():
return
render_template
(
"documents/logos.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/privacy_policy/'
)
def
privacyPolicy
():
return
render_template
(
"documents/privacy_policy.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/software_freedom/'
)
def
softwareFreedom
():
return
render_template
(
"documents/software_freedom.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/terms_of_service/'
)
def
termsOfService
():
return
render_template
(
"documents/terms_of_service.html"
,
renderHead
=
True
,
)
@
website
.
route
(
'/documents/usage_policy/'
)
def
usagePolicy
():
return
render_template
(
"documents/usage_policy.html"
,
renderHead
=
True
,
)
# 404 error
@
website
.
errorhandler
(
404
)
def
page_not_found
(
error
):
return
render_template
(
"404.html"
),
404
Prev
1
2
3
4
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment