You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2011/09/13 00:12:55 UTC

svn commit: r1169960 - in /openejb/site/trunk: content/ content/images/ content/javascript/ graphics/ templates/

Author: dblevins
Date: Mon Sep 12 22:12:54 2011
New Revision: 1169960

URL: http://svn.apache.org/viewvc?rev=1169960&view=rev
Log:
Small revamp of the site template

Added:
    openejb/site/trunk/content/images/
    openejb/site/trunk/content/images/dotTrans.gif
      - copied unchanged from r1169889, openejb/site/trunk/graphics/dotTrans.gif
    openejb/site/trunk/content/images/gradient-001.png   (with props)
    openejb/site/trunk/content/images/line_light.gif
      - copied unchanged from r1169889, openejb/site/trunk/graphics/line_light.gif
    openejb/site/trunk/content/images/line_sm.gif
      - copied unchanged from r1169889, openejb/site/trunk/graphics/line_sm.gif
    openejb/site/trunk/content/images/logo_openejb.gif
      - copied unchanged from r1169889, openejb/site/trunk/graphics/logo_openejb.gif
    openejb/site/trunk/content/javascript/
    openejb/site/trunk/content/javascript/common.js
      - copied unchanged from r1169856, openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/common.js
    openejb/site/trunk/content/javascript/index.js
      - copied unchanged from r1169856, openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/index.js
    openejb/site/trunk/content/javascript/jquery-latest.js
      - copied unchanged from r1169856, openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/jquery-latest.js
    openejb/site/trunk/content/javascript/prettify.js
      - copied unchanged from r1169856, openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/prettify.js
    openejb/site/trunk/content/javascript/prettyprint.js
      - copied unchanged from r1169856, openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/prettyprint.js
    openejb/site/trunk/content/prettify.css   (with props)
    openejb/site/trunk/content/rsync.mdtext
Modified:
    openejb/site/trunk/content/all.css
    openejb/site/trunk/graphics/dotTrans.gif
    openejb/site/trunk/graphics/line_light.gif
    openejb/site/trunk/graphics/line_sm.gif
    openejb/site/trunk/graphics/logo_openejb.gif
    openejb/site/trunk/templates/basic.html

Modified: openejb/site/trunk/content/all.css
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/all.css?rev=1169960&r1=1169959&r2=1169960&view=diff
==============================================================================
--- openejb/site/trunk/content/all.css (original)
+++ openejb/site/trunk/content/all.css Mon Sep 12 22:12:54 2011
@@ -53,12 +53,58 @@ img {
 }
 
 .Col1 {
-    background: #7270c2;
-    width: 110px;
+    /*background: #8b8ac2;*/
+    /*background: #9a99c2;*/
+    background: #a4a3c2;
+    /*background: #aba9d9;*/
+    /*background: #b8b6d9;*/
+    background-image:url('gradient-001.png');
+    background-size:150px 2px;
+    background-repeat: repeat-y;
+    width: 130px;
     padding-left: 20px;
     border-right: 7px solid;
 }
 
+#Navigation h3, #Navigation a {
+    /*color: #cbcbeb;*/
+    /*color: #cfcff0;*/
+    color: #dfdfeb;
+}
+
+
+/* Navigation ------------------------------*/
+
+#Navigation h3 {
+    font-size: 14px;
+    border-bottom: 1px solid #8280d2;
+    /*border-right: 1px solid #8280d2;*/
+    margin-bottom: .5em;
+}
+
+#Navigation ul {
+    margin: 0px;
+    margin-top: 10px;
+    margin-bottom: 10px;
+    padding-left: 15px;
+}
+
+#Navigation li {
+    margin: 0px;
+    margin-right: 15%;
+    line-height: 17px;
+    font-size: 11px;
+    list-style: none;
+}
+
+#Navigation .feeds {
+    padding-left: 0px;
+}
+
+#Navigation .feedsText {
+    vertical-align: top;
+}
+
 .Col2 {
     width: 40px;
 }
@@ -117,9 +163,9 @@ img {
     padding: 10px;
 }
 
-.Row5 .Col1 {
-    background: url(http://openejb.apache.org/images/stripe105.gif) repeat-x left top;
-}
+/*.Row5 .Col1 {*/
+    /*background: url(http://openejb.apache.org/images/stripe105.gif) repeat-x left top;*/
+/*}*/
 
 .bodyGrey {
     font-size: 11px;
@@ -134,42 +180,6 @@ img {
     width: 160px;
 }
 
-/* Navigation ------------------------------*/
-
-#Navigation h3, #Navigation a {
-    color: #cbcbeb;
-}
-
-#Navigation h3 {
-    font-size: 14px;
-    border-bottom: 1px solid #8280d2;
-    border-right: 1px solid #8280d2;
-    margin-bottom: .5em;
-}
-
-#Navigation ul {
-    margin: 0px;
-    margin-top: 10px;
-    margin-bottom: 10px;
-    padding-left: 15px;
-}
-
-#Navigation li {
-    margin: 0px;
-    margin-right: 15%;
-    line-height: 17px;
-    font-size: 11px;
-    list-style: none;
-}
-
-#Navigation .feeds {
-    padding-left: 0px;
-}
-
-#Navigation .feedsText {
-    vertical-align: top;
-}
-
 /* Page Header ---------------------------*/
 
 #PageHeader {
@@ -189,6 +199,18 @@ img {
 #RightContent {
     /*padding: 12px;*/
     width: 300px;
+
+    -moz-border-radius-topleft: .4em;
+    -moz-border-radius-topright: .4em;
+    -webkit-border-top-left-radius: .4em;
+    -webkit-border-top-right-radius: .4em;
+    -webkit-border-bottom-left-radius: .4em;
+    -webkit-border-bottom-right-radius: .4em;
+    border-top-left-radius: .4em;
+    border-top-right-radius: .4em;
+    border-bottom-left-radius: .4em;
+    border-bottom-right-radius: .4em;
+
 }
 
 #RightContent .panel {
@@ -196,6 +218,16 @@ img {
     font-size: 14px;
     padding: 0px;
     margin-bottom: .5em;
+    -moz-border-radius-topleft: .4em;
+    -moz-border-radius-topright: .4em;
+    -webkit-border-top-left-radius: .4em;
+    -webkit-border-top-right-radius: .4em;
+    -webkit-border-bottom-left-radius: .4em;
+    -webkit-border-bottom-right-radius: .4em;
+    border-top-left-radius: .4em;
+    border-top-right-radius: .4em;
+    border-bottom-left-radius: .4em;
+    border-bottom-right-radius: .4em;
 }
 
 #RightContent .panelHeader {
@@ -287,9 +319,19 @@ h1 {
     padding-bottom: 6px;
     border-top: 1px solid #cccccc;
     border-left: 1px solid #cccccc;
-    color: #000000;
+    color: #7270c2;
     font-size: 18px;
     background-color: #eeeeee;
+    -moz-border-radius-topleft: .4em;
+    -moz-border-radius-topright: .4em;
+    -webkit-border-top-left-radius: .4em;
+    -webkit-border-top-right-radius: .4em;
+    -webkit-border-bottom-left-radius: .4em;
+    -webkit-border-bottom-right-radius: .4em;
+    border-top-left-radius: .4em;
+    border-top-right-radius: .4em;
+    border-bottom-left-radius: .4em;
+    border-bottom-right-radius: .4em;
 }
 
 h2 {

Added: openejb/site/trunk/content/images/gradient-001.png
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/images/gradient-001.png?rev=1169960&view=auto
==============================================================================
Binary file - no diff available.

Propchange: openejb/site/trunk/content/images/gradient-001.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: openejb/site/trunk/content/prettify.css
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/prettify.css?rev=1169960&view=auto
==============================================================================
--- openejb/site/trunk/content/prettify.css (added)
+++ openejb/site/trunk/content/prettify.css Mon Sep 12 22:12:54 2011
@@ -0,0 +1,52 @@
+/* Pretty printing styles. Used with prettify.js. */
+
+/* SPAN elements with the classes below are added by prettyprint. */
+.pln { color: #000 }  /* plain text */
+
+@media screen {
+  .str { color: #080 }  /* string content */
+  .kwd { color: #008 }  /* a keyword */
+  .com { color: #800 }  /* a comment */
+  .typ { color: #606 }  /* a type name */
+  .lit { color: #066 }  /* a literal value */
+  /* punctuation, lisp open bracket, lisp close bracket */
+  .pun, .opn, .clo { color: #660 }
+  .tag { color: #008 }  /* a markup tag name */
+  .atn { color: #606 }  /* a markup attribute name */
+  .atv { color: #080 }  /* a markup attribute value */
+  .dec, .var { color: #606 }  /* a declaration; a variable name */
+  .fun { color: red }  /* a function name */
+}
+
+/* Use higher contrast and text-weight for printable form. */
+@media print, projection {
+  .str { color: #060 }
+  .kwd { color: #006; font-weight: bold }
+  .com { color: #600; font-style: italic }
+  .typ { color: #404; font-weight: bold }
+  .lit { color: #044 }
+  .pun, .opn, .clo { color: #440 }
+  .tag { color: #006; font-weight: bold }
+  .atn { color: #404 }
+  .atv { color: #060 }
+}
+
+/* Put a border around prettyprinted code snippets. */
+pre.prettyprint { padding: 2px; border: 1px solid #888 }
+
+/* Specify class=linenums on a pre to get line numbering */
+ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
+li.L0,
+li.L1,
+li.L2,
+li.L3,
+li.L5,
+li.L6,
+li.L7,
+li.L8 { list-style-type: none }
+/* Alternate shading for lines */
+li.L1,
+li.L3,
+li.L5,
+li.L7,
+li.L9 { background: #eee }

Propchange: openejb/site/trunk/content/prettify.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openejb/site/trunk/content/rsync.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/rsync.mdtext?rev=1169960&view=auto
==============================================================================
--- openejb/site/trunk/content/rsync.mdtext (added)
+++ openejb/site/trunk/content/rsync.mdtext Mon Sep 12 22:12:54 2011
@@ -0,0 +1,98 @@
+# rsync
+
+`rsync` is basically the only copy command you'll ever need on a linux/unix system.  It can copy in the same machine or across machines.  It can retain file permissions and owners.  You can run it over and over again say if the first execution failed or if there are new files to be copied over.
+
+## same machine copy
+
+`rsync -av fromdir/ todir/`
+
+Will copy the contents of `fromdir/` to the directory `todir/`
+
+To make a little example, some fancy bash syntax for creating a directory structure.
+
+    $ mkdir -p one/{green,blue}/{square,circle}{1..3}
+    $ find .
+    .
+    ./one
+    ./one/blue
+    ./one/blue/circle1
+    ./one/blue/circle2
+    ./one/blue/circle3
+    ./one/blue/square1
+    ./one/blue/square2
+    ./one/blue/square3
+    ./one/green
+    ./one/green/circle1
+    ./one/green/circle2
+    ./one/green/circle3
+    ./one/green/square1
+    ./one/green/square2
+    ./one/green/square3
+
+So to copy `one` to a new directory `two` we just do this
+
+`rsync -av one/ two/`
+
+Which gives us this as output
+
+    $ rsync -av one/ two/
+    building file list ... done
+    created directory two
+    ./
+    blue/
+    blue/circle1/
+    blue/circle2/
+    blue/circle3/
+    blue/square1/
+    blue/square2/
+    blue/square3/
+    green/
+    green/circle1/
+    green/circle2/
+    green/circle3/
+    green/square1/
+    green/square2/
+    green/square3/
+
+    sent 301 bytes  received 110 bytes  822.00 bytes/sec
+    total size is 0  speedup is 0.00
+
+Now we have the following directory structure:
+
+    $ find .
+    .
+    ./one
+    ./one/blue
+    ./one/blue/circle1
+    ./one/blue/circle2
+    ./one/blue/circle3
+    ./one/blue/square1
+    ./one/blue/square2
+    ./one/blue/square3
+    ./one/green
+    ./one/green/circle1
+    ./one/green/circle2
+    ./one/green/circle3
+    ./one/green/square1
+    ./one/green/square2
+    ./one/green/square3
+    ./two
+    ./two/blue
+    ./two/blue/circle1
+    ./two/blue/circle2
+    ./two/blue/circle3
+    ./two/blue/square1
+    ./two/blue/square2
+    ./two/blue/square3
+    ./two/green
+    ./two/green/circle1
+    ./two/green/circle2
+    ./two/green/circle3
+    ./two/green/square1
+    ./two/green/square2
+    ./two/green/square3
+
+## beware the slashes
+
+There's a strange thing when not using the slashes at the end.  To keep things sane, just always use the slashes at the end of the two file paths and things will always be easy to remember.
+

Modified: openejb/site/trunk/templates/basic.html
URL: http://svn.apache.org/viewvc/openejb/site/trunk/templates/basic.html?rev=1169960&r1=1169959&r2=1169960&view=diff
==============================================================================
--- openejb/site/trunk/templates/basic.html (original)
+++ openejb/site/trunk/templates/basic.html Mon Sep 12 22:12:54 2011
@@ -3,52 +3,23 @@
   <HEAD>
     <!-- $PAGETITLE -->
     <title>{% block title %}{{ headers.title }}{% endblock %}</title>
-    <LINK href="http://openejb.apache.org/all.css" rel="stylesheet" type="text/css">
+    <LINK href="all.css" rel="stylesheet" type="text/css">
     <!--[if IE]><link rel="stylesheet" type="text/css" media="screen, projection" href="openejb.apache.org/ie.css"><![endif]-->
 
+    <link href="prettify.css" type="text/css" rel="stylesheet" />
+
+    <script src="/javascript/prettify.js" type="text/javascript"></script>
+    <script src="/javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="/javascript/common.js"></script>
+
     <LINK rel="SHORTCUT ICON" href="http://openejb.apache.org/images/favicon.ico">
     <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
   </HEAD>
   <BODY>
 
-    <!-- Delay the loading of the external javascript file needed for labels (as it takes too long to load and visibly holds loading of the page body) -->
-    <!-- To do this without javascript errors over undefined functions, we need to declare stubs here (that are overrided later by the proper implementations) -->
-    <SCRIPT language="JavaScript" type="text/javascript">
-      function doAddLabel(hideTextfieldAfterAddParam)
-      {
-      // stub
-      }
-
-      function onAddLabel()
-      {
-      // stub
-      }
-
-      function showLabelsInput()
-      {
-      // stub
-      }
-    </SCRIPT>
-
     <A name="top"></A>
     <TABLE class="frameTable" cellpadding="0" cellspacing="0" border="0">
-      <TR class="Row1">
-        <TD class="Col1"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-        <TD class="Col2"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-        <TD class="Col3"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-        <TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-        <TD class="Col5"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-      </TR>
-      <TR class="Row2">
-        <TD class="Col1"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-        <TD class="Col2">&nbsp;</TD>
-        <TD class="Col3" id="breadcrumbs">
-          <!-- $TOP_NAV_BAR -->
-          <A href="" title="Index">Home</A> | <A href="news.html" title="News">News</A> | <A href="faq.html" title="FAQ">FAQ</A> | <A href="download.html" title="Download">Download</A> | <A href="mailing-lists.html" title="Mailing Lists">Lists</A> | <A href="http://issues.apache.org/jira/browse/OPENEJB" class="external-link" rel="nofollow">Issues</A>
-        </TD>
-        <TD class="Col4"><IMG alt="" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
-        <TD class="Col5">&nbsp;</TD>
-      </TR>
       <TR class="Row3">
         <TD class="Col1"><IMG alt="" class="Row3Img" id="thinLine" src="http://openejb.apache.org/images/line_sm.gif"></TD>
         <TD class="Col2"><IMG alt="" class="Row3Img" src="http://openejb.apache.org/images/dotTrans.gif"></TD>
@@ -68,7 +39,6 @@
             <LI><A href="faq.html" title="FAQ">FAQ</A></LI>
             <LI><A href="download.html" title="Download">Download</A></LI>
             <LI><A href="documentation.html" title="Index">Documentation</A></LI>
-            <LI><A href="documentation.html" title="Index">Documentation</A></LI>
             <LI><A href="examples.html" title="Examples">Examples</A></LI>
             <LI><A href="lightening-demos.html" class="external-link" rel="nofollow">Lightning Demos</A></LI>
             <LI><A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A></LI>
@@ -161,7 +131,7 @@
         <TD class="Col5">
         </TD>
       </TR>
-      <TR  class="Row5">
+      <TR class="Row5">
         <TD class="Col1">&nbsp;</TD>
         <TD class="Col2">&nbsp;</TD>
         <TD class="Col3">