Use dedicated class for text and attachment titles in list display

SVN revision: 2222
This commit is contained in:
2009-06-25 11:33:07 +00:00
parent 8f429e24ee
commit 9420a8bcbd
2 changed files with 21 additions and 2 deletions
+2 -2
View File
@@ -20463,10 +20463,10 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
}
if (!strieq(mode, "Full") && n_line > 0 && show_text)
rsprintf("<th class=\"listtitle\">%s</th>\n", loc("Text"));
rsprintf("<th class=\"listtitle2\">%s</th>\n", loc("Text"));
if (show_att_column)
rsprintf("<th class=\"listtitle\"><img src=\"attachment.png\" alt=\"%s\" title=\"%s\"</th>",
rsprintf("<th class=\"listtitle3\"><img src=\"attachment.png\" alt=\"%s\" title=\"%s\"</th>",
loc("Attachments"), loc("Attachments"));
rsprintf("</tr>\n\n");
+19
View File
@@ -275,6 +275,25 @@ td {
border-left:1px solid white;
background-color:#CCCCFF;
text-align:center;
width:0%;
}
.listtitle2 {
border:1px solid #0000FF;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDDDFF;
text-align:center;
width:100%;
}
.listtitle3 {
border:1px solid #0000FF;
border-top:1px solid white;
border-left:1px solid white;
background-color:#FFCCFF;
text-align:center;
width:0%;
}
/* odd and even lines in message listing */