You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by br...@apache.org on 2008/11/19 07:00:18 UTC

svn commit: r718860 - in /archiva/site/src/site: resources/css/site.css xdoc/index.xml

Author: brett
Date: Tue Nov 18 22:00:18 2008
New Revision: 718860

URL: http://svn.apache.org/viewvc?rev=718860&view=rev
Log:
[MRM-1010] Fix close link on main page download popups, improve layout of boxes
Submitted by: Martin Cooper (with some modifications after discussing it with him)

Modified:
    archiva/site/src/site/resources/css/site.css
    archiva/site/src/site/xdoc/index.xml

Modified: archiva/site/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/archiva/site/src/site/resources/css/site.css?rev=718860&r1=718859&r2=718860&view=diff
==============================================================================
--- archiva/site/src/site/resources/css/site.css (original)
+++ archiva/site/src/site/resources/css/site.css Tue Nov 18 22:00:18 2008
@@ -18,7 +18,8 @@
   margin-bottom: 1em;
   width: 75%;
   background-color: #ccc;
-  padding: 0;
+  position: relative;
+  padding-left: 5em;
 }
 
 div.mainBox div {
@@ -35,10 +36,10 @@
 }
 
 .bignumber {
-  float: left;
-  font-size: 5em;
+  position: absolute;
   color: white;
-  margin-right: 0.2em;
+  left: 0.25em;
+  font-size: 5em;
 }
 
 div.linkBox p {
@@ -59,3 +60,11 @@
 div.jqmWindow h2, div.jqmWindow p {
   text-align: center;
 }
+
+span.jqmClose {
+  position: absolute;
+  cursor: pointer;
+  right: 4px;
+  top: 6px;
+}
+

Modified: archiva/site/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/archiva/site/src/site/xdoc/index.xml?rev=718860&r1=718859&r2=718860&view=diff
==============================================================================
--- archiva/site/src/site/xdoc/index.xml (original)
+++ archiva/site/src/site/xdoc/index.xml Tue Nov 18 22:00:18 2008
@@ -13,10 +13,10 @@
             $(document).ready(function(){
  $('#dialogStable').jqm();
  $('#dialogStable').jqmAddTrigger($('span.expand:eq(0)').find('a'));
- $('#dialogStable').jqmAddClose($('#dialogStable').find('a'));
+ $('#dialogStable').jqmAddClose($('#dialogStable').find('span'));
  $('#dialogPrerelease').jqm();
  $('#dialogPrerelease').jqmAddTrigger($('span.expand:eq(1)').find('a'));
- $('#dialogPrerelease').jqmAddClose($('#dialogPrerelease').find('a'));
+ $('#dialogPrerelease').jqmAddClose($('#dialogPrerelease').find('span'));
             });
 ]]>
     </script>
@@ -149,6 +149,7 @@
         </div>
       </div>
       <div id="dialogStable" class="jqmWindow">
+        <span class="jqmClose">[x]</span>
         <h2>Archiva 1.1.3</h2>
         <p>
           This is the recommended release of Archiva.
@@ -176,9 +177,9 @@
           </table> 
         </div>
         <p><a href="docs/1.1.3/release-notes.html">Release Notes</a> | <a href="download.html">More downloads</a></p>
-        <hr/><p><a href="#">[x] Close</a></p>
       </div>
       <div id="dialogPrerelease" class="jqmWindow">
+        <span class="jqmClose">[x]</span>
         <h2>Archiva 1.2-M1</h2>
         <p>
           This is a preview release of the next version of Archiva.
@@ -206,7 +207,6 @@
           </table> 
         </div>
         <p><a href="docs/1.2-M1/release-notes.html">Release Notes</a> | <a href="download.html">More downloads</a></p>
-        <hr/><p><a href="#">[x] Close</a></p>
       </div>
       <div class="mainBox">
         <div>
@@ -216,13 +216,16 @@
             <a href="docs/1.1.3/index.html">Documentation <img src="images/arrow.png" width="16" height="16" alt="" /></a>
           </p>
           <p>
-            Use the simple out of the box configuration and <a href="docs/1.1.3/quick-start.html">quick start guide</a> to start using Archiva in minutes.
-            Then, read the <a href="docs/1.1.3/userguide/index.html">users guide</a> and <a href="docs/1.1.3/adminguide/index.html">administration documentation</a> to get the most out of your new repository manager.
+            <img src="images/collapsed.gif" width="7" height="7" alt="" />
+            Simple out of the box configuration and <a href="docs/1.1.3/quick-start.html">quick start guide</a>
+            <br/>
+            <img src="images/collapsed.gif" width="7" height="7" alt="" />
+            Read the <a href="docs/1.1.3/userguide/index.html">users guide</a> and <a href="docs/1.1.3/adminguide/index.html">administration documentation</a>
+            <br/>
+            <img src="images/collapsed.gif" width="7" height="7" alt="" />
+            Documentation is also available for <a href="versions.html">previous versions</a>
           </p>
         </div>
-        <div id="versionsBox" class="linkBox">
-          <p><a href="versions.html">Previous versions</a></p>
-        </div>
       </div>
       <div class="mainBox">
         <div>