From 6c24a0055ffc783342b7df5b83525527b1ae52d4 Mon Sep 17 00:00:00 2001 From: Geoff Goehle Date: Sat, 1 Jun 2013 17:29:37 -0400 Subject: [PATCH 1/4] Modified math4 to have a bigger box for problem bodies --- htdocs/themes/math4/system.template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/htdocs/themes/math4/system.template b/htdocs/themes/math4/system.template index 475340a6c9..b2ea008a62 100644 --- a/htdocs/themes/math4/system.template +++ b/htdocs/themes/math4/system.template @@ -140,8 +140,8 @@ var tabberOptions = {manualStartup:true}; - -
+
+
@@ -207,7 +207,9 @@ var tabberOptions = {manualStartup:true}; +
+

Form2

@@ -215,8 +217,9 @@ var tabberOptions = {manualStartup:true};
- -
+
+ + From 35191cadd0a96bab4354dc16ac3803078d41454e Mon Sep 17 00:00:00 2001 From: Geoff Goehle Date: Sat, 1 Jun 2013 17:48:41 -0400 Subject: [PATCH 2/4] Fix bug with problem width --- htdocs/themes/math4/math4.css | 1 - htdocs/themes/math4/system.template | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/themes/math4/math4.css b/htdocs/themes/math4/math4.css index 61cc840b1a..13581da434 100644 --- a/htdocs/themes/math4/math4.css +++ b/htdocs/themes/math4/math4.css @@ -316,7 +316,6 @@ input { #problem-content { margin-left:auto; margin-right:auto; - width: 90%; border: 2px solid black; padding: 10px; diff --git a/htdocs/themes/math4/system.template b/htdocs/themes/math4/system.template index b2ea008a62..5d451dbf54 100644 --- a/htdocs/themes/math4/system.template +++ b/htdocs/themes/math4/system.template @@ -141,7 +141,7 @@ var tabberOptions = {manualStartup:true};
-
+
From 06936cb2077f8daf89193048108d0ef0178be997 Mon Sep 17 00:00:00 2001 From: Geoff Goehle Date: Sat, 1 Jun 2013 17:50:32 -0400 Subject: [PATCH 3/4] Continuing to fix problem width bug --- htdocs/themes/math4/system.template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/htdocs/themes/math4/system.template b/htdocs/themes/math4/system.template index 5d451dbf54..7b2df8d0bc 100644 --- a/htdocs/themes/math4/system.template +++ b/htdocs/themes/math4/system.template @@ -140,7 +140,7 @@ var tabberOptions = {manualStartup:true}; -
+
@@ -207,9 +207,9 @@ var tabberOptions = {manualStartup:true}; -
+ -
+

Form2

@@ -217,8 +217,6 @@ var tabberOptions = {manualStartup:true};
-
-
From 89b874a057cbfdf572c58a26b8c2dd62b0d7fc11 Mon Sep 17 00:00:00 2001 From: Michael Gage Date: Sat, 1 Jun 2013 21:49:46 -0400 Subject: [PATCH 4/4] Remove stray single quote after the problem-contents div --- conf/defaults.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/defaults.config b/conf/defaults.config index fe74f37096..d7d61cf818 100644 --- a/conf/defaults.config +++ b/conf/defaults.config @@ -1,7 +1,7 @@ #!perl ################################################################################ # WeBWorK Online Homework Delivery System -# Copyright © 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ +# Copyright � 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ # $CVSHeader: webwork2/conf/defaults.config,v 1.225 2010/05/18 18:03:31 apizer Exp $ # # This program is free software; you can redistribute it and/or modify it under @@ -962,7 +962,7 @@ $pg{specialPGEnvironmentVars}{problemPostamble} = { TeX => '', HTML=>'' }; # To have the problem body indented and boxed, uncomment: $pg{specialPGEnvironmentVars}{problemPreamble}{HTML} = qq!
\n!; - $pg{specialPGEnvironmentVars}{problemPostamble}{HTML}= qq!
'\n!; + $pg{specialPGEnvironmentVars}{problemPostamble}{HTML}= qq!
\n!; # $pg{specialPGEnvironmentVars}{problemPreamble}{HTML} = '
#
';