From 346e82716bf52dec37e7b8c1a62ad30585a8aa58 Mon Sep 17 00:00:00 2001 From: PyroPeter Date: Thu, 17 Feb 2011 19:52:10 +0100 Subject: pkg_search_results: replace blind-table with floating divs * I tried to remove errors in the sgml-structure e.g.:
* I did not remove or add code (except the and
stuff, of cause). I only changed the order of the html/php-tags. * The bottom and top of the script are now properly indented. I did not indent the middle part (table of search results) because that would render the diff completely useless. Signed-off-by: PyroPeter Signed-off-by: Lukas Fleischer --- web/html/css/arch.css | 15 +++++ web/html/css/containers.css | 2 +- web/template/pkg_search_results.php | 116 +++++++++++++++++------------------- 3 files changed, 72 insertions(+), 61 deletions(-) diff --git a/web/html/css/arch.css b/web/html/css/arch.css index 09b22407..5da56d28 100644 --- a/web/html/css/arch.css +++ b/web/html/css/arch.css @@ -284,6 +284,21 @@ blockquote.code { color: #333; font-size: .95em; } +.pkg_search_results_footer { + overflow: auto; +} +.pkg_search_results_footer .legend_and_actions { + float: left; +} +.pkg_search_results_footer .legend { + margin-bottom: 3px; +} +.pkg_search_results_footer .page_links { + float: right; + margin: 0 0; + padding: 0 0; +} + /* AUR Styles */ .pgbox { diff --git a/web/html/css/containers.css b/web/html/css/containers.css index 12362f60..67fd8c7d 100644 --- a/web/html/css/containers.css +++ b/web/html/css/containers.css @@ -153,7 +153,7 @@ td.data2 { padding-left: .3em; text-align: left; } -#legend span { +.legend span { padding: 1px; margin-left: .3em; border: solid 1px #888; diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index 68ba89a4..a0968628 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -1,13 +1,16 @@ -
' method='post'> -
-
+
-
+
-
- -
+ ' method='post'> +
+
+ +
+ + +
@@ -79,59 +82,52 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
- + -
- - - - - - - - -
-
- - -
- -
- - - - - -
- -
-
- -
-
-
- - + + + + + -- cgit v1.2.3-24-g4f1b