diff options
author | Dan McGee <dan@archlinux.org> | 2011-10-21 16:03:39 -0500 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-10-24 17:57:52 +0200 |
commit | 8dc7b37909887dbeabc58cb22a33f6e0fb038bcf (patch) | |
tree | 73b2667821e13bcb7eaf2dadbe2a1aa0796c1029 /web/html | |
parent | 10355ec9591dcc5314a77c553b5c2a13ef551fbe (diff) | |
download | aurweb-8dc7b37909887dbeabc58cb22a33f6e0fb038bcf.tar.xz |
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 <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/css/arch.css | 9 | ||||
-rw-r--r-- | web/html/index.php | 2 | ||||
-rw-r--r-- | web/html/pkgsubmit.php | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/web/html/css/arch.css b/web/html/css/arch.css index eec02ee..1e588f1 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 138541f..0d513d3 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -50,7 +50,7 @@ echo __( <br /> <?php echo __('Some packages may be provided as binaries in [community].'); ?> </p> -<table border='0' cellpadding='0' cellspacing='3' width='90%'> +<table> <tr> <td class='boxSoft' valign='top'> <?php updates_table($dbh); ?> diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 36f74bf..f715e15 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -449,7 +449,7 @@ html_header("Submit"); <form action='pkgsubmit.php' method='post' enctype='multipart/form-data'> <div> <input type='hidden' name='pkgsubmit' value='1' /> </div> - <table border='0' cellspacing='5'> + <table> <tr> <td class='f4' align='right'><?php print __("Package Category"); ?>:</td> <td class='f4' align='left'> |