From 8dc7b37909887dbeabc58cb22a33f6e0fb038bcf Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 21 Oct 2011 16:03:39 -0500 Subject: Remove a boatload of inline table styles Replacing with CSS styles where appropriate. A previously unused CSS style is tweaked in the stylesheet to match most of what was done via non-CSS styling. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- web/html/css/arch.css | 9 +++++---- web/html/index.php | 2 +- web/html/pkgsubmit.php | 2 +- web/lib/acctfuncs.inc.php | 14 ++++---------- web/template/pkg_search_results.php | 18 +++++++++--------- web/template/search_accounts_form.php | 2 +- web/template/tu_details.php | 12 ++++++------ web/template/tu_list.php | 16 ++++++++-------- 8 files changed, 35 insertions(+), 40 deletions(-) diff --git a/web/html/css/arch.css b/web/html/css/arch.css index eec02eec..1e588f12 100644 --- a/web/html/css/arch.css +++ b/web/html/css/arch.css @@ -244,13 +244,14 @@ table.center { } table.results { padding: 0px; + width: 100%; border-collapse: collapse; } .results th { - background-color: #e1e3e6; - border-bottom: 1px solid #46494d; - border-top: 1px solid #46494d; - padding: 0px 5px 0px 0px; + text-align: center; +} +.results th, .results td { + padding: 1px; } .results th>a { text-decoration: none; diff --git a/web/html/index.php b/web/html/index.php index 138541f2..0d513d37 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -50,7 +50,7 @@ echo __(

- +
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 36f74bf9..f715e15f 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -449,7 +449,7 @@ html_header("Submit");
- +
: diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 59fa730f..4c6da9f8 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -35,7 +35,7 @@ function display_account_form($UTYPE,$A,$U="",$T="",$S="", print "\n"; } print ""; - print "\n"; + print "
\n"; print "\n"; print ""; @@ -415,13 +415,7 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="", } else { $num_rows = mysql_num_rows($result); if ($num_rows) { - print "
 
\n"; - print ""; - print "\n"; + print "
"; - print "\n"; + print "
\n"; print ""; print ""; @@ -483,8 +477,8 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="", $i++; } print "
"; print "".__("Username")."
\n"; - print "
\n"; print ""; print "
"; print "\n"; @@ -540,7 +534,7 @@ function display_account_info($U="", $T="", $E="", $R="", $I="") { global $SUPPORTED_LANGS; - print "\n"; + print "
\n"; print " \n"; print " \n"; print " \n"; diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index e576e6e3..8ef352b0 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -12,32 +12,32 @@ -
 
+
- + - - - - - - - + diff --git a/web/template/search_accounts_form.php b/web/template/search_accounts_form.php index 9d6c40d0..9b0d8e23 100644 --- a/web/template/search_accounts_form.php +++ b/web/template/search_accounts_form.php @@ -1,6 +1,6 @@
-
   + '> + '> + '> + '> + '> + '>
+
diff --git a/web/template/tu_details.php b/web/template/tu_details.php index 7d6c305d..c48f6038 100644 --- a/web/template/tu_details.php +++ b/web/template/tu_details.php @@ -24,13 +24,13 @@ N/A \n", htmlspecialchars($row['Agenda'])) ?>

-
:
+
- - - - - + + + + + diff --git a/web/template/tu_list.php b/web/template/tu_list.php index 75d9414e..0966a4c2 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -2,17 +2,17 @@
-
+
- - + - - - - - + + + + + -- cgit v1.2.3-24-g4f1b
+