mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
More changes to page styles.
This commit is contained in:
parent
ac8291a5dc
commit
aebdd21b58
5 changed files with 44 additions and 26 deletions
|
@ -13,6 +13,10 @@ html_header(); # print out the HTML header
|
||||||
|
|
||||||
# Main page processing here
|
# Main page processing here
|
||||||
#
|
#
|
||||||
|
echo "<div class=\"pgbox\">\n";
|
||||||
|
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Accounts")."</span></div>\n";
|
||||||
|
echo " <div class=\"pgboxbody\">\n";
|
||||||
|
|
||||||
if (isset($_COOKIE["AURSID"])) {
|
if (isset($_COOKIE["AURSID"])) {
|
||||||
# visitor is logged in
|
# visitor is logged in
|
||||||
#
|
#
|
||||||
|
@ -148,6 +152,9 @@ if (isset($_COOKIE["AURSID"])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo " </div>";
|
||||||
|
echo "</div>";
|
||||||
|
|
||||||
html_footer("\$Id$");
|
html_footer("\$Id$");
|
||||||
# vim: ts=2 sw=2 noet ft=php
|
# vim: ts=2 sw=2 noet ft=php
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -410,7 +410,7 @@ textarea.vLargeTextField {
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
margin-right: 5%;
|
margin-right: 5%;
|
||||||
}
|
}
|
||||||
.pkgbox {
|
.pgbox {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
margin-right: 5%;
|
margin-right: 5%;
|
||||||
|
@ -421,7 +421,17 @@ textarea.vLargeTextField {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
.pkgboxtitle {
|
.frontpgboxbody {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.frontpgboxbody > table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.boxSoftTitle {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pgboxtitle {
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: #dddddd;
|
border-color: #dddddd;
|
||||||
|
@ -435,14 +445,14 @@ textarea.vLargeTextField {
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
.pkgboxbody, .pkgboxbody-comment {
|
.pgboxbody, .pgboxbody-comment {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.pkgboxbody input {
|
.pgboxbody input {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pkgboxbody-comment > table {
|
.pgboxbody-comment > table {
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
border-spacing: 0 15px;
|
border-spacing: 0 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,19 +79,19 @@ if (isset($_REQUEST["user"]) || isset($_REQUEST["pass"])) {
|
||||||
html_header();
|
html_header();
|
||||||
|
|
||||||
# Big Top Level Table (Table 1)
|
# Big Top Level Table (Table 1)
|
||||||
print "<table border='0' cellpadding='0' cellspacing='3' width='90%'>\n";
|
echo "<div class=\"pgbox\">\n";
|
||||||
print "<tr>\n";
|
echo " <div class=\"pgboxtitle\"><span class=\"f3\">AUR-".__("Home")."</span></div>\n";
|
||||||
|
echo " <div class=\"frontpgboxbody\">\n";
|
||||||
|
echo "<table border='0' cellpadding='0' cellspacing='3' width='90%'>\n";
|
||||||
|
echo "<tr>\n";
|
||||||
|
|
||||||
# MAIN: Top Left
|
# MAIN: Top Left
|
||||||
print "<td class='boxSoft' valign='top'>";
|
print "<td class='boxSoft' valign='top'>";
|
||||||
|
|
||||||
print "<p>".__("Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information.", array('<a href="http://wiki.archlinux.org/index.php/AUR_User_Guidelines">', '</a>', '<a href="http://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">', '</a>'))."<br>";
|
print "<p>".__("Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information.", array('<a href="http://wiki.archlinux.org/index.php/AUR_User_Guidelines">', '</a>', '<a href="http://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">', '</a>'))."<br>";
|
||||||
print __("Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!", array('<a href="http://wiki.archlinux.org/index.php/Arch_Packaging_Standards">', '</a>'))."</p>";
|
print __("Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!", array('<a href="http://wiki.archlinux.org/index.php/Arch_Packaging_Standards">', '</a>'))."</p>";
|
||||||
#print "<p>".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('<a href="http://bugs.archlinux.org/index.php?tasks=all&project=2">', '</a>'))."<br>";
|
|
||||||
#print __("Email discussion about the AUR takes place on the %sTUR Users List%s.", array('<a href="http://www.archlinux.org/mailman/listinfo/tur-users">', '</a>'))."</p>";
|
|
||||||
print "<p>".__("Remember to vote for your favourite packages!")."<br>";
|
print "<p>".__("Remember to vote for your favourite packages!")."<br>";
|
||||||
print __("The most popular packages will be provided as binary packages in [community].")."</p>";
|
print __("The most popular packages will be provided as binary packages in [community].")."</p>";
|
||||||
#print "<p>".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('<a href="http://wiki2.archlinux.org/index.php/Unofficial%20Repositories">', '</a>'))."</p>";
|
|
||||||
|
|
||||||
# MAIN: Top Right
|
# MAIN: Top Right
|
||||||
print "</td>";
|
print "</td>";
|
||||||
|
@ -178,9 +178,6 @@ print "</tr>";
|
||||||
print "</table>";
|
print "</table>";
|
||||||
# End Table 2
|
# End Table 2
|
||||||
|
|
||||||
#print " <td> </td>";
|
|
||||||
#print " <td align='left' valign='top' nowrap>\n";
|
|
||||||
|
|
||||||
# MAIN: Bottom Right
|
# MAIN: Bottom Right
|
||||||
print "</td>";
|
print "</td>";
|
||||||
print "<td class='boxSoft' valign='top'>";
|
print "<td class='boxSoft' valign='top'>";
|
||||||
|
@ -357,8 +354,10 @@ print "</table>";
|
||||||
print " </td>";
|
print " </td>";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
echo "</div>\n";
|
||||||
# End Table 1
|
# End Table 1
|
||||||
|
echo " </div>";
|
||||||
|
echo "</div>";
|
||||||
html_footer("<b>Version 1.3.1</b> \$Id$");
|
html_footer("<b>Version 1.3.1</b> \$Id$");
|
||||||
# vim: ts=2 sw=2 noet ft=php
|
# vim: ts=2 sw=2 noet ft=php
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -9,7 +9,9 @@ include("config.inc"); # configuration file with dir locations
|
||||||
set_lang(); # this sets up the visitor's language
|
set_lang(); # this sets up the visitor's language
|
||||||
check_sid(); # see if they're still logged in
|
check_sid(); # see if they're still logged in
|
||||||
html_header(); # print out the HTML header
|
html_header(); # print out the HTML header
|
||||||
print "<center>\n";
|
echo "<div class=\"pgbox\">\n";
|
||||||
|
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Submit")."</span></div>\n";
|
||||||
|
echo " <div class=\"pgboxbody\">\n";
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
$DBUG = 0;
|
$DBUG = 0;
|
||||||
|
@ -665,8 +667,8 @@ if ($_COOKIE["AURSID"]) {
|
||||||
print __("You must create an account before you can upload packages.");
|
print __("You must create an account before you can upload packages.");
|
||||||
print "<br />\n";
|
print "<br />\n";
|
||||||
}
|
}
|
||||||
|
echo " </div>\n";
|
||||||
print "</center>\n";
|
echo "</div>\n";
|
||||||
html_footer("\$Id$");
|
html_footer("\$Id$");
|
||||||
# vim: ts=2 sw=2 noet ft=php
|
# vim: ts=2 sw=2 noet ft=php
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -269,9 +269,9 @@ function package_details($id=0, $SID="") {
|
||||||
|
|
||||||
# print out package details
|
# print out package details
|
||||||
#
|
#
|
||||||
echo "<div class=\"pkgbox\">\n";
|
echo "<div class=\"pgbox\">\n";
|
||||||
echo " <div class=\"pkgboxtitle\"><span class=\"f3\">".__("Package Details")."</span></div>\n";
|
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Package Details")."</span></div>\n";
|
||||||
echo " <div class=\"pkgboxbody\">\n";
|
echo " <div class=\"pgboxbody\">\n";
|
||||||
echo " <table>\n";
|
echo " <table>\n";
|
||||||
echo " <tr><td class='boxSoft' colspan='2'><span class='f2'>";
|
echo " <tr><td class='boxSoft' colspan='2'><span class='f2'>";
|
||||||
echo $row["Name"] . " " . $row["Version"]."</span></td></tr>\n";
|
echo $row["Name"] . " " . $row["Version"]."</span></td></tr>\n";
|
||||||
|
@ -409,9 +409,9 @@ function package_details($id=0, $SID="") {
|
||||||
# Actions Bar
|
# Actions Bar
|
||||||
#
|
#
|
||||||
if ($SID) {
|
if ($SID) {
|
||||||
echo "<div class=\"pkgbox\">\n";
|
echo "<div class=\"pgbox\">\n";
|
||||||
echo " <div class=\"pkgboxtitle\"><span class=\"f3\">".__("Actions")."</span></div>\n";
|
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Actions")."</span></div>\n";
|
||||||
echo " <div class=\"pkgboxbody\">\n";
|
echo " <div class=\"pgboxbody\">\n";
|
||||||
echo " <form action='/packages.php' method='post'>\n";
|
echo " <form action='/packages.php' method='post'>\n";
|
||||||
echo " <input type='hidden' name='IDs[".$row["ID"]."]' value='1'>\n";
|
echo " <input type='hidden' name='IDs[".$row["ID"]."]' value='1'>\n";
|
||||||
echo " <input type='hidden' name='ID' value='".$row["ID"]."'>\n";
|
echo " <input type='hidden' name='ID' value='".$row["ID"]."'>\n";
|
||||||
|
@ -482,9 +482,9 @@ function package_details($id=0, $SID="") {
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
#
|
#
|
||||||
echo "<div class=\"pkgbox\">\n";
|
echo "<div class=\"pgbox\">\n";
|
||||||
echo " <div class=\"pkgboxtitle\"><span class=\"f3\">".__("Comments")."</span></div>\n";
|
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Comments")."</span></div>\n";
|
||||||
echo " <div class=\"pkgboxbody-comment\">\n";
|
echo " <div class=\"pgboxbody-comment\">\n";
|
||||||
echo " <table width='100%'>\n";
|
echo " <table width='100%'>\n";
|
||||||
$comments = package_comments($row["ID"]);
|
$comments = package_comments($row["ID"]);
|
||||||
if (!empty($comments)) {
|
if (!empty($comments)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue