mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
patches to stylesheet and pkgfuncs.inc to fix Opera rendering problems
in bug #2912
This commit is contained in:
parent
3f7330d202
commit
bcbc3e3fee
2 changed files with 14 additions and 10 deletions
|
@ -95,11 +95,13 @@
|
|||
{
|
||||
width: 90%;
|
||||
background-color: #ddd;
|
||||
text-align: left;
|
||||
}
|
||||
td.boxSoft
|
||||
{
|
||||
background-color: #fff;
|
||||
padding: 10;
|
||||
text-align: left;
|
||||
}
|
||||
td.boxSoftColumn
|
||||
{
|
||||
|
@ -168,12 +170,14 @@
|
|||
background-color: #eee;
|
||||
vertical-align: top;
|
||||
padding-left: .3em;
|
||||
text-align: left;
|
||||
}
|
||||
td.data2
|
||||
{
|
||||
background-color: #ddd;
|
||||
vertical-align: top;
|
||||
padding-left: .3em;
|
||||
text-align: left;
|
||||
}
|
||||
td.text
|
||||
{
|
||||
|
|
|
@ -280,22 +280,22 @@ function package_details($id=0, $SID="") {
|
|||
print "<center>\n";
|
||||
print "<table>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f2'>";
|
||||
print " <td class='boxSoft' colspan='2'><span class='f2'>";
|
||||
print $row["Name"] . " " . $row["Version"]."</span></td>\n";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>";
|
||||
print " <td class='boxSoft' colspan='2'><span class='f3'>";
|
||||
print "<a href='".$row["URL"]."'>".$row["URL"]."</a></span></td>\n";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>".$row["Description"];
|
||||
print " <td class='boxSoft' colspan='2'><span class='f3'>".$row["Description"];
|
||||
print "</a></span></td>\n";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><img src='/images/pad.gif' height='30'></td>";
|
||||
print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='30'></td>";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>";
|
||||
print " <td class='boxSoft' colspan='2'><span class='f3'>";
|
||||
if ($row["Location"] == "unsupported" and $SID) {
|
||||
$edit_cat = "<a href='/pkgedit.php?change_Category=1&ID=";
|
||||
$edit_cat .= intval($_REQUEST["ID"])."'>".$row["Category"]."</a>";
|
||||
|
@ -308,7 +308,7 @@ function package_details($id=0, $SID="") {
|
|||
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>".__("Maintainer").": ";
|
||||
print " <td class='boxSoft' colspan='2'><span class='f3'>".__("Maintainer").": ";
|
||||
if ($row["MaintainerUID"]) {
|
||||
$maintainer = username_from_id($row["MaintainerUID"]);
|
||||
if ($SID) {
|
||||
|
@ -324,10 +324,10 @@ function package_details($id=0, $SID="") {
|
|||
}
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><img src='/images/pad.gif' height='15'></td>";
|
||||
print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='15'></td>";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>";
|
||||
print " <td class='boxSoft' colspan='2'><span class='f3'>";
|
||||
if ($row["LocationID"] == 2) {
|
||||
print "<a href='".$row['URLPath']."'>".__("Tarball")."</a> :: <a href='".dirname($row['URLPath'])."/".$row['Name']."'>".__("Files")."</a></span></td>";
|
||||
} elseif ($row["LocationID"] == 3) {
|
||||
|
@ -335,7 +335,7 @@ function package_details($id=0, $SID="") {
|
|||
}
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><img src='/images/pad.gif' height='30'></td>";
|
||||
print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='30'></td>";
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td valign='top' style='padding-right: 10'>";
|
||||
|
@ -445,7 +445,7 @@ function package_details($id=0, $SID="") {
|
|||
if (!empty($comments)) {
|
||||
while (list($indx, $carr) = each($comments)) {
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'>";
|
||||
print " <td class='boxSoft' colspan='2'>";
|
||||
print "<img src='/images/pad.gif' height='2'></td></tr>\n";
|
||||
|
||||
print "<tr>\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue