From 8e57d1241530f5dd8b5c5f0dddcedcd1f4783070 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 11 Jul 2010 02:23:02 +0000 Subject: [PATCH] * Eliminated the from the message summary view. JS now replaces the entire table including the
tags. FINALLY got the browser to honor fixed column widths with no overflow, keeping the column proportions at 50/30/20 regardless of the width of the browser window. * I also eliminated the fix_scrollbar_bug div in this view because it is apparently not needed anymore (it was intended to fix a rendering bug in IE5 and IE6). There is no need to wage an aggressive war on this div, but I will remove it from various places when the opportunity arises. --- webcit/static/summaryview.js | 17 ++--------------- webcit/static/t/msg_listview.html | 2 +- webcit/static/t/summary_header.html | 18 ++++++++---------- webcit/static/t/summary_trailer.html | 1 - webcit/static/webcit.css | 8 +++++--- 5 files changed, 16 insertions(+), 30 deletions(-) diff --git a/webcit/static/summaryview.js b/webcit/static/summaryview.js index 80ff3414d..a569e68ab 100644 --- a/webcit/static/summaryview.js +++ b/webcit/static/summaryview.js @@ -83,7 +83,6 @@ function createMessageView() { $('resize_msglist').observe('mousedown', CtdlResizeMouseDown); $('m_refresh').observe('click', getMessages); document.getElementById('m_refresh').setAttribute("href","#"); - Event.observe(document.onresize ? document : window, "resize", normalizeHeaderTable); Event.observe(document.onresize ? document : window, "resize", sizePreviewPane); $('summpage').observe('change', getPage); takeOverSearchOMatic(); @@ -188,7 +187,7 @@ function resortAndDisplay(sortMode) { var start = new Date(); var length = msgs.length; var compiled = new Array(length+2); - compiled[0] = ""; + compiled[0] = ""; for(var x=0; x";*/
-
+

diff --git a/webcit/static/t/summary_header.html b/webcit/static/t/summary_header.html index a2ba500f2..254d0293c 100644 --- a/webcit/static/t/summary_header.html +++ b/webcit/static/t/summary_header.html @@ -3,16 +3,14 @@ document.onkeydown = CtdlMsgListKeyPress; + +
-
- +
diff --git a/webcit/static/t/summary_trailer.html b/webcit/static/t/summary_trailer.html index 49e2f2cfa..c5c282762 100644 --- a/webcit/static/t/summary_trailer.html +++ b/webcit/static/t/summary_trailer.html @@ -1,4 +1,3 @@ -
diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index b3699d786..7a55b26fa 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -653,11 +653,13 @@ body, #global { cursor: pointer; } -#message_list_body { - background-color: white !important; +#summary_headers { + background-color: white; + width: 100%; + table-layout: fixed; } -#message_list_body tr td { +#summary_headers tr td { overflow-y: hidden; overflow-x: hidden; /* stop long subjects overflowing */ } -- 2.30.2