From: Art Cancro Date: Sun, 11 Jul 2010 02:23:02 +0000 (+0000) Subject: * Eliminated the from the message summary view. JS now replaces the entire... X-Git-Tag: v7.86~109 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=8e57d1241530f5dd8b5c5f0dddcedcd1f4783070;hp=ee0b46d8521ff32e4bc97d03d73b3e75db018593;p=citadel.git * 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. --- 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 */ }