From 32fb5517c01da29fa63b8a70d935ce74bb88ffe5 Mon Sep 17 00:00:00 2001 From: Matjaz Gregoric Date: Wed, 10 Aug 2016 23:55:26 +0800 Subject: [PATCH] Fix staff debug module field table width. The auto-adjusting table layout would get illegible for certain types of problems that contain a large amount of data because the first column could get very narrow (down to the width of a single character). This commit fixes the width of the first column to 25%. --- lms/templates/staff_problem_info.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html index 36db395c3d..4d5cbfea6c 100644 --- a/lms/templates/staff_problem_info.html +++ b/lms/templates/staff_problem_info.html @@ -87,16 +87,17 @@ ${block_content}
is_released = ${is_released} location = ${location.to_deprecated_string() | h} + %for name, field in fields: - + %endfor
${_('Module Fields')}
${name}
${field | h}
${name}
${field | h}
%for name, field in xml_attributes.items(): - + %endfor
${_('XML attributes')}
${name}
${field | h}
${name}
${field | h}
category = ${category | h}