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