viveksantayana
93367b6e70
Basic CRUD operations for managing registered admin users Encrypted personal information Still missing sections on managing tests and results Also missing dashboards/index/category landing pages
29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
from flask import Blueprint
|
|
|
|
views = Blueprint(
|
|
'quiz_views',
|
|
__name__,
|
|
template_folder='templates',
|
|
static_folder='static'
|
|
)
|
|
|
|
@views.route('/')
|
|
@views.route('/home/')
|
|
def home():
|
|
return f'<h1>Ref Test Home Page</h1>'
|
|
|
|
@views.route('/privacy/')
|
|
def privacy():
|
|
return f"""<h1>Privacy Policy</h1>
|
|
|
|
<ul>
|
|
<li>Website stores data using cookies.</li>
|
|
<li>Site Administrators</li>
|
|
<li>This web site only uses functional cookies to store information on log-in.</li>
|
|
<li>User information for administrators will be encrypted and stored in a secure database for the purposes of administering this web site, and will be expunged when the user account is deleted.</li>
|
|
<li>Test Candidate</li>
|
|
<li>The web site will not be tracking your log in, and all information about your test attempt will be stored on your device until it is submitted to the server.</li>
|
|
<li>Data from your test as well as identifying information about the candidate will be encrypted and stored in a secure database on the server, and will be retained for a period of HOW MANY? years for the SKA's records.</li>
|
|
<ul>
|
|
|
|
""" |