svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ Package.tpl.php PackageRelease.tpl.php css/package-details.css

[email protected] (Brett Bieber)
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
saltybeagle                              Tue, 01 Jun 2010 18:51:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=300065

Log:
Use the fancy pearbox style for the list of releases. Remove some 960gs classes which aren't used anymore. Style the instructions and releases box.

Changed paths:
    U   pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php
    U   pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php
    U   pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css

Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php	2010-06-01 18:50:19 UTC (rev 300064)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/Package.tpl.php	2010-06-01 18:51:17 UTC (rev 300065)
@@ -3,8 +3,8 @@
 $parent->context->page_title = $context->name.' | pear2.php.net';
 ?>
 <div class="package">
-    <div class="grid_8 left">
-        <h2>Package :: <?php echo $context->name; ?></h2>
+    <div class="left">
+        <h2><?php echo $context->name; ?></h2>
         <p><em><?php echo $context->summary; ?></em></p>
         <p>
             <?php
@@ -12,20 +12,26 @@
             echo nl2br($description);
             ?>
         </p>
+    </div>
+    <div class="right releases">
         <?php echo $savant->render($context->name . '-' . $context->version['release'], 'InstallInstructions.tpl.php'); ?>
+        <div class="pearbox">
+            <div class="pearbox-header">
+                <h2>Releases</h2>
+            </div>
+            <div class="pearbox-content">
+                <ul>
+                    <?php
+                     foreach ($context as $version => $release): ?>
+                    <li>
+                        <a href="<?php echo pear2\SimpleChannelFrontend\Main::getURL() . $context->name . '-' . $version; ?>"><?php echo $version; ?></a>
+                        <span class="stability"><?php echo $release['stability']; ?></span>
+                        <abbr class="releasedate" title="<?php echo $context->date.' '.$context->time; ?>"><?php echo $context->date; ?></abbr>
+                        <a class="download" href="<?php echo $context->getDownloadURL('.tgz'); ?>">Download</a>
+                    </li>
+                    <?php endforeach; ?>
+                </ul>
+            </div>
+        </div>
     </div>
-    <div class="grid_4 right releases">
-        <h3>Releases</h3>
-        <ul>
-            <?php
-             foreach ($context as $version => $release): ?>
-            <li>
-                <a href="<?php echo pear2\SimpleChannelFrontend\Main::getURL() . $context->name . '-' . $version; ?>"><?php echo $version; ?></a>
-                <span class="stability"><?php echo $release['stability']; ?></span>
-                <abbr class="releasedate" title="<?php echo $context->date.' '.$context->time; ?>"><?php echo $context->date; ?></abbr>
-                <a class="download" href="<?php echo $context->getDownloadURL('.tgz'); ?>">Download</a>
-            </li>
-            <?php endforeach; ?>
-        </ul>
-    </div>
 </div>

Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php	2010-06-01 18:50:19 UTC (rev 300064)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/PackageRelease.tpl.php	2010-06-01 18:51:17 UTC (rev 300065)
@@ -3,7 +3,7 @@
 $parent->context->page_title = $context->name.' | pear2.php.net';
 ?>
 <div class="package">
-    <div class="grid_8 left">
+    <div class="left">
         <h2>
             <a href="<?php echo pear2\SimpleChannelFrontend\Main::getURL() . $context->name; ?>"><?php echo $context->name; ?></a>-<?php echo $context->version['release']; ?>
         </h2>
@@ -21,10 +21,10 @@
                 <span><?php echo $context->license['name']; ?></span>
             </li>
         </ul>
-        <?php echo $savant->render($context->name . '-' . $context->version['release'], 'InstallInstructions.tpl.php'); ?>
-    </div>
-    <div class="grid_4 right releases">
         <h3>Release Notes</h3>
         <div class="release-notes"><?php echo nl2br($context->notes); ?></div>
     </div>
+    <div class="right">
+        <?php echo $savant->render($context->name . '-' . $context->version['release'], 'InstallInstructions.tpl.php'); ?>
+    </div>
 </div>

Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css	2010-06-01 18:50:19 UTC (rev 300064)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css	2010-06-01 18:51:17 UTC (rev 300065)
@@ -52,3 +52,24 @@
 .comments textarea {
 	width: 97%;
 }
+
+.releases .download {
+	float: right;
+	margin-right: 5px;
+}
+
+ol.instructions {
+	-moz-border-radius:10px;
+	-webkit-border-radius:10px;
+	border-radius:10px;
+	padding:10px;
+	background-color:rgba(0, 0, 0, 0.8);
+	color:#FFF;
+	font-size:120%;
+	line-height:2em;
+	font-family:"andale mono", monaco, "courier new", courier;
+}
+ol.instructions a,
+ol.instructions a:link {
+	color:#FFF;
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.