Commit
·
073a415
1
Parent(s):
612ce70
update
Browse files- app.py +7 -3
- templates/consent.html +0 -1
app.py
CHANGED
|
@@ -137,9 +137,9 @@ def select_balanced_samples(samples):
|
|
| 137 |
logger.exception("Error selecting balanced samples")
|
| 138 |
return []
|
| 139 |
|
| 140 |
-
@app.route('/')
|
| 141 |
-
def introduction():
|
| 142 |
-
|
| 143 |
|
| 144 |
@app.route('/attribution')
|
| 145 |
def attribution():
|
|
@@ -249,6 +249,10 @@ def consent():
|
|
| 249 |
return redirect(url_for('introduction'))
|
| 250 |
return render_template('consent.html')
|
| 251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
@app.route('/subjective/<session_id>', methods=['GET', 'POST'])
|
| 253 |
def subjective(session_id):
|
| 254 |
if request.method == 'POST':
|
|
|
|
| 137 |
logger.exception("Error selecting balanced samples")
|
| 138 |
return []
|
| 139 |
|
| 140 |
+
# @app.route('/')
|
| 141 |
+
# def introduction():
|
| 142 |
+
# return render_template('introduction.html')
|
| 143 |
|
| 144 |
@app.route('/attribution')
|
| 145 |
def attribution():
|
|
|
|
| 249 |
return redirect(url_for('introduction'))
|
| 250 |
return render_template('consent.html')
|
| 251 |
|
| 252 |
+
@app.route('/introduction')
|
| 253 |
+
def introduction():
|
| 254 |
+
return render_template('introduction.html')
|
| 255 |
+
|
| 256 |
@app.route('/subjective/<session_id>', methods=['GET', 'POST'])
|
| 257 |
def subjective(session_id):
|
| 258 |
if request.method == 'POST':
|
templates/consent.html
CHANGED
|
@@ -78,7 +78,6 @@
|
|
| 78 |
|
| 79 |
<p class="highlight">By clicking "I Agree" below, you confirm that you have read and understood this informed consent, and you agree to participate in this TableQA study under the terms described above.</p>
|
| 80 |
|
| 81 |
-
<!-- <a href="#" class="button">I Agree</a>-->
|
| 82 |
<form action="{{ url_for('consent') }}" method="post">
|
| 83 |
<button type="submit" class="button">I Agree</button>
|
| 84 |
</form>
|
|
|
|
| 78 |
|
| 79 |
<p class="highlight">By clicking "I Agree" below, you confirm that you have read and understood this informed consent, and you agree to participate in this TableQA study under the terms described above.</p>
|
| 80 |
|
|
|
|
| 81 |
<form action="{{ url_for('consent') }}" method="post">
|
| 82 |
<button type="submit" class="button">I Agree</button>
|
| 83 |
</form>
|