|
From: Benjamin C. <bc...@us...> - 2001-10-06 03:35:40
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv31878
Modified Files:
global-black.css global.css include.php query.php
Log Message:
Almost there with css everywhere. Bug list mouseover and background color is still undone
Index: global-black.css
===================================================================
RCS file: /cvsroot/phpbt/phpbt/global-black.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- global-black.css 2001/10/04 13:56:36 1.1
+++ global-black.css 2001/10/06 03:35:37 1.2
@@ -20,6 +20,18 @@
background-color: #4e4e4e;
}
+td.head {
+ font-weight: bold;
+ text-align: center;
+ background-color: #4a4a4a;
+ }
+
+td.head-selected {
+ font-weight: bold;
+ text-align: center;
+ background-color: #6a6a6a;
+ }
+
th {
font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
font-size: 12px;
Index: global.css
===================================================================
RCS file: /cvsroot/phpbt/phpbt/global.css,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- global.css 2001/08/13 13:34:49 1.5
+++ global.css 2001/10/06 03:35:37 1.6
@@ -13,9 +13,26 @@
font-size: 12px;
}
+tr.alt {
+ background-color: #dddddd;
+ }
+
+td.head {
+ font-weight: bold;
+ text-align: center;
+ background-color: #eeeeee;
+ }
+
+td.head-selected {
+ font-weight: bold;
+ text-align: center;
+ background-color: #bbbbbb;
+ }
+
th {
font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
font-size: 12px;
+ background-color: #eeeeee;
}
select {
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- include.php 2001/09/26 09:20:16 1.57
+++ include.php 2001/10/06 03:35:37 1.58
@@ -407,6 +407,7 @@
($order == $v ? ($sort == 'asc' ? 'desc' : 'asc') : 'asc').
($urlstr ? '&'.$urlstr : ''));
$t->set_var($k.'color', $order == $v ? '#bbbbbb' : '#eeeeee');
+ $t->set_var($k.'class', $order == $v ? 'head-selected' : 'head');
}
}
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- query.php 2001/09/15 23:13:48 1.28
+++ query.php 2001/10/06 03:35:37 1.29
@@ -241,7 +241,7 @@
foreach ($db_fields as $field) {
$t->set_var(array(
'coldata' => "<a href='{{$field}url}'>{$all_db_fields[$field]}</a>",
- 'td-extra' => "class=\"header-col\" bgcolor=\"{{$field}color}\""
+ 'td-extra' => "class=\"{{$field}class}\""
));
$t->parse('cols', 'col', true);
}
|