Add a super basic TOS and privacy policy
This commit is contained in:
parent
d15e1bb651
commit
f5798b4364
5 changed files with 86 additions and 2 deletions
|
@ -38,6 +38,16 @@ def index():
|
|||
return send_file('templates/index.html')
|
||||
|
||||
|
||||
@app.route('/tos', methods=['GET'])
|
||||
def tos():
|
||||
return send_file('templates/tos.html')
|
||||
|
||||
|
||||
@app.route('/privacy', methods=['GET'])
|
||||
def privacy():
|
||||
return send_file('templates/privacy.html')
|
||||
|
||||
|
||||
def common_login(db_user):
|
||||
if login_user(_LoginWrappedDBUser(db_user)):
|
||||
logger.debug('Successfully signed in as: %s' % db_user.username)
|
||||
|
|
|
@ -163,6 +163,15 @@ background: linear-gradient(to bottom, #141414 0%,transparent 15%,transparent 8
|
|||
width: 150px;
|
||||
}
|
||||
|
||||
.landing-footer .copyright {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
bottom: 4px;
|
||||
|
||||
font-size: 11px;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#repoSearch {
|
||||
width: 400px;
|
||||
}
|
||||
|
|
|
@ -50,8 +50,8 @@
|
|||
<div class="footer-column">
|
||||
<h4>Legal</h4>
|
||||
<ul>
|
||||
<li><a href="">Terms of Service</a></li>
|
||||
<li><a href="">Privacy Policy</a></li>
|
||||
<li><a href="/tos">Terms of Service</a></li>
|
||||
<li><a href="/privacy">Privacy Policy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -63,5 +63,6 @@
|
|||
</div>
|
||||
|
||||
<a href="https://devtable.com"><img class="dt-logo" src="/static/dt-logo.png"></a>
|
||||
<span class="copyright">©2013 DevTable, LLC</span>
|
||||
</div>
|
||||
|
||||
|
|
32
templates/privacy.html
Normal file
32
templates/privacy.html
Normal file
File diff suppressed because one or more lines are too long
32
templates/tos.html
Normal file
32
templates/tos.html
Normal file
File diff suppressed because one or more lines are too long
Reference in a new issue