Spaces:
Running
Running
revise-gate modal: single-line body, no title, button -> Go back to argument
Browse files
app.py
CHANGED
|
@@ -788,12 +788,10 @@ REVISE_GATE_HEAD = """
|
|
| 788 |
overlay.id = 'revise-gate-overlay';
|
| 789 |
overlay.innerHTML =
|
| 790 |
'<div class="revise-gate-modal">' +
|
| 791 |
-
'<div class="revise-gate-title"><b>More revision needed before you can finalize</b></div>' +
|
| 792 |
'<div class="revise-gate-body">' +
|
| 793 |
-
'
|
| 794 |
-
'To finalize this session, please revise at least 10% of your argument based on the reference essay.' +
|
| 795 |
'</div>' +
|
| 796 |
-
'<button type="button" class="revise-gate-btn"><b>Go back
|
| 797 |
'</div>';
|
| 798 |
document.body.appendChild(overlay);
|
| 799 |
overlay.querySelector('.revise-gate-btn').addEventListener('click', function() {
|
|
|
|
| 788 |
overlay.id = 'revise-gate-overlay';
|
| 789 |
overlay.innerHTML =
|
| 790 |
'<div class="revise-gate-modal">' +
|
|
|
|
| 791 |
'<div class="revise-gate-body">' +
|
| 792 |
+
'You need to revise at least 10% of your argument to submit again.' +
|
|
|
|
| 793 |
'</div>' +
|
| 794 |
+
'<button type="button" class="revise-gate-btn"><b>Go back to argument</b></button>' +
|
| 795 |
'</div>';
|
| 796 |
document.body.appendChild(overlay);
|
| 797 |
overlay.querySelector('.revise-gate-btn').addEventListener('click', function() {
|