Introduced 3D cell frames

SVN revision: 522
This commit is contained in:
2003-05-02 21:40:06 +00:00
parent 0d6de500f6
commit 23faed6c3d
2 changed files with 72 additions and 14 deletions
+12 -7
View File
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$Log$
Revision 1.101 2003/05/02 21:40:06 midas
Introduced 3D cell frames
Revision 1.100 2003/05/02 20:51:15 midas
Fixed wrong string
@@ -5253,7 +5256,7 @@ time_t now;
/*---- entry form ----*/
/* table for two-column items */
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=1>");
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=0>");
/* print required message if one of the attributes has it set */
for (i= 0 ; i < lbs->n_attr ; i++)
@@ -7181,6 +7184,8 @@ FILE *f;
rsprintf("<td class=\"%s\">", sclass);
if (in_reply_to[0] == 0)
rsprintf("<input type=checkbox name=\"s%d\" value=%d>\n", (*n_display)++, message_id);
else
rsprintf("&nbsp;\n");
}
if (equal_ustring(mode, "Threaded"))
@@ -8991,7 +8996,7 @@ LOGBOOK *lbs_cur;
if (disp_filter)
{
rsprintf("<tr><td class=\"listframe\">\n");
rsprintf("<table width=\"100%%\" border=0 cellpadding=0 cellspacing=1>\n");
rsprintf("<table width=\"100%%\" border=0 cellpadding=0 cellspacing=0>\n");
if (*getparam("m1") || *getparam("y1") || *getparam("d1"))
{
@@ -9075,7 +9080,7 @@ LOGBOOK *lbs_cur;
/*---- table titles ----*/
/* overall listing table */
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=1>\n");
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=0>\n");
size = printable ? 2 : 3;
@@ -9111,7 +9116,7 @@ LOGBOOK *lbs_cur;
/* empty title for selection box */
if (atoi(getparam("select")) == 1)
rsprintf("<th class=\"listtitle\"></td>\n");
rsprintf("<th class=\"listtitle\"></td>&nbsp;\n");
for (i=0 ; i<n_attr_disp ; i++)
{
@@ -10334,7 +10339,7 @@ BOOL first;
/*---- message ----*/
/* overall message table */
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=1>\n");
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=0>\n");
if (message_error == EL_EMPTY)
rsprintf("<tr><td class=\"errormsg\" colspan=2>%s</td></tr>\n", loc("Logbook is empty"));
@@ -10560,7 +10565,7 @@ BOOL first;
url_encode(ref, sizeof(ref)); /* for file names with special characters like "+" */
/* overall table */
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=1>\n");
rsprintf("<tr><td><table class=\"listframe\" width=\"100%%\" cellspacing=0>\n");
rsprintf("<tr><td nowrap width=\"10%%\" class=\"attribname\">%s %d:</td>\n",
loc("Attachment"), index+1);
@@ -11061,7 +11066,7 @@ char str[10000];
rsprintf("<body>\n\n");
rsprintf("<table class=\"dlgframe\" cellspacing=1 align=center>");
rsprintf("<table class=\"dlgframe\" cellspacing=0 align=center>");
rsprintf("<tr><td colspan=3 class=\"dlgtitle\">\n");
if (getcfg("global", "Welcome title", str))
+60 -7
View File
@@ -1,6 +1,6 @@
/* default formatting */
body {
margin:5px;
margin:3px;
color:black;
background-color:white;
font-family:sans-serif;
@@ -90,6 +90,9 @@ td {
.title1 {
background-color:#486090;
border-bottom:1px solid black;
border-top:1px solid #E0E0E0;
border-left:1px solid #E0E0E0;
color:white;
font-size:medium;
font-family:sans-serif;
@@ -98,6 +101,8 @@ td {
.title2 {
background-color:#486090;
border-bottom:1px solid black;
border-top:1px solid #E0E0E0;
color:white;
font-size:medium;
font-family:sans-serif;
@@ -105,6 +110,9 @@ td {
}
.title3 {
border-bottom:1px solid black;
border-top:1px solid #E0E0E0;
border-right:1px solid black;
background-color:#486090;
text-align:right;
}
@@ -113,7 +121,8 @@ td {
.menuframe {
border:1px solid #486090;
border-top:0px;
border-top:1px solid white;
border-left:1px solid white;
padding:3px;
background-color:#E0E0E0;
}
@@ -147,25 +156,36 @@ td {
/* frame table in listings */
.listframe {
border:1px solid #0000FF;
border-top:1px solid white;
border-left:1pc solid white;
background-color:#486090;
border:0px;
}
/* title row in listing */
.listtitle {
border:1px solid #0000FF;
border-top:1px solid white;
border-left:1px solid white;
background-color:#CCCCFF;
text-align:center;
padding:5px;
}
/* odd and even lines in message listing */
.list1 {
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDEEBB;
text-align:center;
}
.list2 {
border:1px solid #808040;
border-top:1px solid white;
border-left:1px solid white;
background-color:#FFFFB0;
text-align:center;
}
@@ -173,17 +193,26 @@ td {
/* attachment line */
.attachment {
border:1px solid #808040;
border-top:1px solid white;
border-left:1px solid white;
background-color:#FFFFB0;
text-align:left;
}
/* threaded listing */
.thread {
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDEEBB;
text-align:left;
}
.threadreply {
border:1px solid #808040;
border-top:1px solid white;
border-left:1px solid white;
background-color:#FFFFB0;
text-align:left;
}
@@ -191,15 +220,24 @@ td {
/* attribute names and values on single message page */
.attribname {
background-color:#CCCCFF;
border:1px solid #0000FF;
border-top:1px solid white;
border-left:1px solid white;
padding:3px;
}
.attribvalue {
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDEEBB;
padding:3px;
}
.attribvalue2 {
border:1px solid #808040;
border-top:1px solid white;
border-left:1px solid white;
background-color:#FFFFB0;
padding:3px;
}
@@ -207,6 +245,9 @@ td {
/* message cell in listing */
.messagelist {
background-color:white;
border-right:1px solid gray;
border-left:1px solid gray;
border-bottom:1px solid gray;
font-family:'lucida console',courier,monospace;
font-size:10pt;
padding:5px;
@@ -217,7 +258,7 @@ td {
background-color:white;
border:1px solid #486090;
border-top:0px;
padding:5px;
padding:3px;
}
.messagepre {
@@ -233,6 +274,9 @@ td {
/* summary display (threaded mode expand) */
.summary {
border:1px solid black;
border-top:1px solid white;
border-left:1px solid white;
background-color:white;
font-family:'lucida console',courier,monospace;
font-size:8pt;
@@ -240,14 +284,17 @@ td {
/* input forms */
.form1 {
border:1px solid #486090;
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDEEBB;
padding:3px;
}
.form2 {
border:1px solid #486090;
border-top:0px;
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDEEBB;
padding:3px;
}
@@ -264,6 +311,9 @@ td {
/* notification (warning) */
.notifymsg {
padding:5px;
border:1px solid #806000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#FFD070;
text-align:center;
font-size:small;
@@ -295,6 +345,9 @@ td {
}
.dlgform {
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#DDEEBB;
padding:5px;
}