diff --git a/bases/rsptx/assignment_server_api/routers/peer.py b/bases/rsptx/assignment_server_api/routers/peer.py index 957f8fd72..b3bf08db7 100644 --- a/bases/rsptx/assignment_server_api/routers/peer.py +++ b/bases/rsptx/assignment_server_api/routers/peer.py @@ -1222,7 +1222,6 @@ async def clear_pairs( @router.get("/course_students") -@instructor_role_required() @with_course() async def get_course_students( request: Request, diff --git a/components/rsptx/templates/assignment/instructor/peer_dashboard.html b/components/rsptx/templates/assignment/instructor/peer_dashboard.html index d868c1c00..5c433d120 100644 --- a/components/rsptx/templates/assignment/instructor/peer_dashboard.html +++ b/components/rsptx/templates/assignment/instructor/peer_dashboard.html @@ -240,6 +240,7 @@ #vote1details[open] summary::before { transform: rotate(90deg); } #vote1details summary:hover { color: var(--pi-teal-dark); } #vote1details > div { padding: 4px 16px 12px; font-size: 13px; color: var(--af-ink-2); } + {% endblock %} @@ -271,7 +272,6 @@

Question {{ current_qnum }} of {{ num_questions }}

-
Vote 1 in Progress
{% if not is_last %} @@ -387,7 +387,10 @@

Question {{ current_qnum }} of {{ num_questions }}

-
answers received
+
answers received
+ @@ -475,6 +478,8 @@

Question {{ current_qnum }} of {{ num_questions }}

} } else { counterel.innerHTML = `

Vote ${v} Answers: ${spec.count}

`; + const vote1Label = document.getElementById('vote1CountLabel'); + if (vote1Label) vote1Label.style.display = ''; } if (spec.mess_count > 0) { @@ -577,5 +582,6 @@

Question {{ current_qnum }} of {{ num_questions }}

}); syncActivityFlow(); } + {% endblock %} diff --git a/components/rsptx/templates/assignment/student/peer_question.html b/components/rsptx/templates/assignment/student/peer_question.html index 0fc0585c4..63f3bb135 100644 --- a/components/rsptx/templates/assignment/student/peer_question.html +++ b/components/rsptx/templates/assignment/student/peer_question.html @@ -30,6 +30,8 @@ .hidden-content { display: none; } + + {% endblock %} @@ -104,9 +106,11 @@

Peer Instruction: {{ assignment_name }}

@@ -201,5 +205,7 @@

Peer Instruction: {{ assignment_name }}

await setupPeerGroup(); } doIt(); + + {% endblock %} diff --git a/components/rsptx/templates/common/static_assets.html b/components/rsptx/templates/common/static_assets.html index 72b0cf488..d23286885 100644 --- a/components/rsptx/templates/common/static_assets.html +++ b/components/rsptx/templates/common/static_assets.html @@ -29,6 +29,8 @@ + +