Index: openacs-4/packages/xowf/lib/inclass-exam.wf
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/inclass-exam.wf,v
diff -u -r1.1.2.93 -r1.1.2.94
--- openacs-4/packages/xowf/lib/inclass-exam.wf 20 Mar 2022 19:47:19 -0000 1.1.2.93
+++ openacs-4/packages/xowf/lib/inclass-exam.wf 4 Apr 2022 13:47:41 -0000 1.1.2.94
@@ -221,23 +221,16 @@
#
- append text [subst {
-
-
-
- #xowf.exam_summary#
- [:QM exam_configuration_popup $obj]
-
-
- [:QM exam_info_block -combined_form_info $combined_form_info $obj]
-
-
-
- }]
+ append text \
+ "" \
+ [::xowiki::bootstrap::card \
+ -title "#xowf.exam_summary# [:QM exam_configuration_popup $obj]" \
+ -body [:QM exam_info_block -combined_form_info $combined_form_info $obj]] \
+ "
"
set detail_link [$obj pretty_link -query m=question-summary]
append text [subst {
}]
@@ -303,7 +296,7 @@
"created" {
append extraAction "
" \
"#xowf.online-exam-try_out# " \
- "#xowf.testrun#"
+ "#xowf.testrun#"
}
"published" {
append extraAction "
" \
@@ -346,11 +339,11 @@
#ns_log notice ALL=$text
append text [subst {
-
+
$answerStatus
$qrCode
$countdownHTML
-
+
}]
}
@@ -488,7 +481,7 @@
set HTML "#xowf.online-exam-results-table#
$HTML"
}
set return_url [[$wf package_id] query_parameter local_return_url:localurl [:pretty_link]]
- append HTML "
#xowiki.back#
\n"
+ append HTML "
#xowiki.back#
\n"
xo::Page requireCSS /resources/xowf/test-item.css
:www-view $HTML
@@ -522,7 +515,7 @@
set HTML "#xowf.Participants#
$HTML"
}
set return_url [[$wf package_id] query_parameter local_return_url:localurl [:pretty_link]]
- append HTML "
#xowiki.back#
\n"
+ append HTML "
#xowiki.back#
\n"
:www-view $HTML
@@ -597,7 +590,7 @@
if {!$as_student} {
set return_url [:query_parameter local_return_url:localurl [:pretty_link]]
- append HTML "
#xowiki.back#
\n"
+ append HTML "
#xowiki.back#
\n"
}
if {$do_stream} {
@@ -785,7 +778,7 @@
set HTML "#xowiki.no_data#"
}
set return_url [:query_parameter local_return_url:localurl [:pretty_link]]
- append HTML "
#xowiki.back#
\n"
+ append HTML "
#xowiki.back#
\n"
:www-view $HTML
}