Index: openacs-4/packages/lab-report/lab-report.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/lab-report.info,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lab-report/lab-report.info 11 May 2006 11:11:36 -0000 1.1 +++ openacs-4/packages/lab-report/lab-report.info 23 Aug 2006 05:43:55 -0000 1.2 @@ -14,11 +14,11 @@ 0 - - + + - + Index: openacs-4/packages/lab-report/catalog/lab-report.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/catalog/lab-report.en_US.ISO-8859-1.xml,v diff -u -r1.4 -r1.5 --- openacs-4/packages/lab-report/catalog/lab-report.en_US.ISO-8859-1.xml 21 Aug 2006 23:25:11 -0000 1.4 +++ openacs-4/packages/lab-report/catalog/lab-report.en_US.ISO-8859-1.xml 23 Aug 2006 05:43:56 -0000 1.5 @@ -17,6 +17,7 @@ Enter content for this section of your lab report. Select an author from the list. Select a rating for this criteria. + Instructions Lab Report Lab reports for Labs @@ -25,6 +26,7 @@ This application requires an author to be set in order to write lab reports. Please inform your site administrator that an author needs to be set for this application. Rating Report + Report View Reports for Resources Search Index: openacs-4/packages/lab-report/sql/postgresql/lab-report-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/sql/postgresql/lab-report-create.sql,v diff -u -r1.5 -r1.6 --- openacs-4/packages/lab-report/sql/postgresql/lab-report-create.sql 21 Aug 2006 23:25:15 -0000 1.5 +++ openacs-4/packages/lab-report/sql/postgresql/lab-report-create.sql 23 Aug 2006 05:43:56 -0000 1.6 @@ -146,7 +146,6 @@ constraint lrc_lab_instructor_id_fk references users(user_id), rating varchar (5120), - comment text, package_id integer constraint lr_section_feedback_package_id_fk references apm_packages (package_id) @@ -282,7 +281,7 @@ end;' language 'plpgsql'; -select define_function_args('lr_section_feedback__new','feedback_id,feedback_criteria_id,report_id,section_id,instructor_id,rating,comment,package_id,creation_date;now,creation_user,creation_ip,context_id'); +select define_function_args('lr_section_feedback__new','feedback_id,feedback_criteria_id,report_id,section_id,instructor_id,rating,package_id,creation_date;now,creation_user,creation_ip,context_id'); create function lr_section_feedback__new ( integer, @@ -291,7 +290,6 @@ integer, integer, varchar, - text, integer, timestamptz, integer, @@ -305,12 +303,11 @@ p_section_id alias for $4; p_instructor_id alias for $5; p_rating alias for $6; - p_comment alias for $7; - p_package_id alias for $8; - p_creation_date alias for $9; -- default now() - p_creation_user alias for $10; -- default null - p_creation_ip alias for $11; -- default null - p_context_id alias for $12; -- default null + p_package_id alias for $7; + p_creation_date alias for $8; -- default now() + p_creation_user alias for $9; -- default null + p_creation_ip alias for $10; -- default null + p_context_id alias for $11; -- default null v_feedback_id lr_section_feedback.feedback_id%TYPE; v_inst_group_id integer; @@ -332,7 +329,6 @@ section_id, instructor_id, rating, - comment, package_id ) VALUES ( v_feedback_id, @@ -341,7 +337,6 @@ p_section_id, p_instructor_id, p_rating, - p_comment, p_package_id ); @@ -375,4 +370,4 @@ -- Register service contract implementations. -\i lab-report-sc-create.sql \ No newline at end of file +\i lab-report-sc-create.sql Index: openacs-4/packages/lab-report/sql/postgresql/lab-report-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/sql/postgresql/lab-report-drop.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/lab-report/sql/postgresql/lab-report-drop.sql 21 Aug 2006 23:25:15 -0000 1.2 +++ openacs-4/packages/lab-report/sql/postgresql/lab-report-drop.sql 23 Aug 2006 05:43:56 -0000 1.3 @@ -49,7 +49,6 @@ integer, integer, varchar, - text, integer, timestamptz, integer, Index: openacs-4/packages/lab-report/www/edit-section.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/www/edit-section.adp,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lab-report/www/edit-section.adp 12 May 2006 01:34:34 -0000 1.1 +++ openacs-4/packages/lab-report/www/edit-section.adp 23 Aug 2006 05:43:56 -0000 1.2 @@ -1,7 +1,6 @@ @title;noquote@ @context;noquote@ -[#lab-report.admin#] Index: openacs-4/packages/lab-report/www/view-report.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/www/view-report.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/lab-report/www/view-report.adp 24 May 2006 12:30:41 -0000 1.4 +++ openacs-4/packages/lab-report/www/view-report.adp 23 Aug 2006 05:43:56 -0000 1.5 @@ -1,7 +1,6 @@ - + @title;noquote@ @context;noquote@ -[#lab-report.admin#] @@ -14,7 +13,7 @@ Index: openacs-4/packages/lab-report/www/iframe/feedback-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/www/iframe/feedback-view.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lab-report/www/iframe/feedback-view.tcl 21 Aug 2006 23:25:21 -0000 1.1 +++ openacs-4/packages/lab-report/www/iframe/feedback-view.tcl 23 Aug 2006 05:43:56 -0000 1.2 @@ -19,7 +19,6 @@ # set defaults set rating "none" -set comment "" db_0or1row select_feedback {} @@ -33,8 +32,6 @@ set rating "None" } -set comment [template::util::richtext::get_property html_value $comment] - if { [info exists feedback_id] && $feedback_id ne "" } { set edit_url [export_vars -url -base feedback-ae {report_id lab_id template_id section_id feedback_criteria_id feedback_id}] } else { Index: openacs-4/packages/lab-report/www/resources/lab-report.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/www/resources/lab-report.css,v diff -u -r1.6 -r1.7 --- openacs-4/packages/lab-report/www/resources/lab-report.css 21 Aug 2006 23:25:25 -0000 1.6 +++ openacs-4/packages/lab-report/www/resources/lab-report.css 23 Aug 2006 05:43:56 -0000 1.7 @@ -76,13 +76,15 @@ margin-left: 3px; } + #lr-lab-list-container ul ul.report li span.label { margin-left: 3em; float:left; } #lr-lab-list-container ul ul.report li span.options { float: right; + border: 1px solid #000; } #lr-lab-list-container ul ul li.notice { @@ -144,6 +146,7 @@ #lr-report-list-container ul.report li span.options { float: right; + border: 1px solid #000; } @@ -212,8 +215,8 @@ vertical-align: top; margin: 0; padding: 0; - padding-right: 1em; - padding-top: 1em; + padding-right: 0.5em; + padding-top: 0.5em; } div#report-container table tr td.content { @@ -235,6 +238,7 @@ padding: 5px; margin-bottom: 1em; border: 1px solid #000; + background-color: #FFFFCC; } div#report-container table tr td.content ul li.content { @@ -265,7 +269,24 @@ color: #686868; } +div#report-container table tr td.feedback { + padding: 0; + width: 100%; + vertical-align: top; + line-height: 130%; +} +div#report-container table tr td.feedback ul { + margin: 0 0 0 0.5em; + padding: 0.5em; + list-style-type: none; + border: 1px solid #000; + font-family: verdana, arial, sans-serif; + font-size: small; + background-color: #CCFF99; +} + + /* Resources container */ ul#resources-list { width: 158px; @@ -326,18 +347,21 @@ padding: 0; list-style-type: none; font-family: verdana, arial, sans-serif; - font-size: small; + font-size: x-small; } #lr-feedback-container ul li.title { padding-top: 0.5em; padding-bottom: 0.5em; font-weight: bold; color: #686868; + font-size: x-small; } #lr-feedback-container ul li.edit { - padding-top: 2em; + padding-top: 0.5em; + padding-bottom: 0.5em; padding-right: 0.5em; float: right; -} \ No newline at end of file + font-size: small; +} Index: openacs-4/packages/lab-report/www/resources/main-portal.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lab-report/www/resources/main-portal.css,v diff -u -r1.1 -r1.2 --- openacs-4/packages/lab-report/www/resources/main-portal.css 11 May 2006 11:11:37 -0000 1.1 +++ openacs-4/packages/lab-report/www/resources/main-portal.css 23 Aug 2006 05:43:56 -0000 1.2 @@ -25,8 +25,7 @@ /* Padding for the columns */ #portal-column-content .visualPadding { - /*padding: 0em 2em 1em 2em;*/ - padding: 0em 1em 1em 1em; + padding: 0em 0.5em 0.5em 0.5em; } .documentBorder { @@ -35,5 +34,10 @@ } .documentContent { - padding: 1em !important; + padding: 0.5em !important; } + +.documentContentBorder { + border: 0px solid #666; + background: White; +}