Aligned browsing buttons correctly

SVN revision: 2041
This commit is contained in:
Stefan Ritt 2008-02-12 07:07:59 +00:00
parent f3a0adec93
commit 4a94db2fd8
2 changed files with 6 additions and 11 deletions

View File

@ -22638,7 +22638,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
/*---- next/previous buttons ----*/ /*---- next/previous buttons ----*/
if (!getcfg(lbs->name, "Enable browsing", str, sizeof(str)) || atoi(str) == 1) { if (!getcfg(lbs->name, "Enable browsing", str, sizeof(str)) || atoi(str) == 1) {
rsprintf("<td class=\"menu1a\" width=\"1%%\" nowrap align=left>\n"); rsprintf("<td class=\"menu1a\">\n");
/* check if first.png exists, just put link there if not */ /* check if first.png exists, just put link there if not */
strlcpy(file_name, resource_dir, sizeof(file_name)); strlcpy(file_name, resource_dir, sizeof(file_name));
@ -22667,7 +22667,7 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
rsprintf("<a href=\"%d?cmd=%s\">&gt;|</a>&nbsp;\n", message_id, loc("Last")); rsprintf("<a href=\"%d?cmd=%s\">&gt;|</a>&nbsp;\n", message_id, loc("Last"));
} }
rsprintf("&nbsp;&nbsp;</td>\n"); rsprintf("</td>\n");
} }
n = strbreak(menu_str, menu_item, MAX_N_LIST, ",", FALSE); n = strbreak(menu_str, menu_item, MAX_N_LIST, ",", FALSE);

View File

@ -208,12 +208,15 @@ td {
.menu1 { .menu1 {
text-align:left; text-align:left;
font-size:10pt; font-size:10pt;
vertical-align:middle;
} }
.menu1a { .menu1a {
text-align:right; text-align:center;
width:110px;
font-size:10pt; font-size:10pt;
font-weight:bold; font-weight:bold;
vertical-align:middle;
} }
.menu2a { .menu2a {
@ -433,14 +436,6 @@ td {
.bytes { .bytes {
font-family:'lucida console',courier,monospace; font-family:'lucida console',courier,monospace;
font-size:10pt; font-size:10pt;
color:#800000
}
/* upload date */
.uploaded {
font-family:'lucida console',courier,monospace;
font-size:10pt;
color:#008000;
} }
/* summary display (threaded mode expand) */ /* summary display (threaded mode expand) */