Author: manolo Date: Wed May 2 20:05:33 2012 New Revision: 1333181 URL: http://svn.apache.org/viewvc?rev=1333181&view=rev Log: improve hupa site documentation
Added: james/hupa/trunk/src/site/resources/apidocs/ james/hupa/trunk/src/site/resources/apidocs/stylesheet.css james/hupa/trunk/src/site/resources/demo/ james/hupa/trunk/src/site/resources/demo/hupa-logo-original-transparent.png (with props) james/hupa/trunk/src/site/resources/demo/index.html Modified: james/hupa/trunk/src/site/xdoc/index.xml Added: james/hupa/trunk/src/site/resources/apidocs/stylesheet.css URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/resources/apidocs/stylesheet.css?rev=1333181&view=auto ============================================================================== --- james/hupa/trunk/src/site/resources/apidocs/stylesheet.css (added) +++ james/hupa/trunk/src/site/resources/apidocs/stylesheet.css Wed May 2 20:05:33 2012 @@ -0,0 +1,55 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#333; font-size: 100%; } + +body { font-size: 0.875em; line-height: 1.286em; font-family: "Helvetica", "Arial", sans-serif; } + +code { color: #777; line-height: 1.286em; font-family: "Consolas", "Lucida Console", "Droid Sans Mono", "Andale Mono", "Monaco", "Lucida Sans Typewriter"; } + +a { text-decoration: none; color: #16569A; /* also try #2E85ED, #0033FF, #6C93C6, #1D7BBE, #1D8DD2 */ } +a:hover { color: #EEEEEE; background-color: #16569A; } +a:visited { color: #CC3300; } +a:visited:hover { color: #fff; background-color: #CC3300; } + +table[border="1"] { border: 1px solid #ddd; } +table[border="1"] td, table[border="1"] th { border: 1px solid #ddd; } +table[cellpadding="3"] td { padding: 0.5em; } + +font[size="-1"] { font-size: 0.85em; line-height: 1.5em; } +font[size="-2"] { font-size: 0.8em; } +font[size="+2"] { font-size: 1.4em; line-height: 1.3em; padding: 0.4em 0; } + +/* Headings */ +h1 { font-size: 1.5em; line-height: 1.286em;} + +/* Table colors */ +.TableHeadingColor { background: #ccc; color:#444; } /* Dark mauve */ +.TableSubHeadingColor { background: #ddd; color:#444; } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#666; font-size: 0.95em; } /* White */ +.TableRowColor code { color:#000; } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; } +.FrameHeadingFont { font-size: 90%; } +.FrameItemFont { font-size: 0.9em; line-height: 1.3em; +} +/* Java Interfaces */ +.FrameItemFont a i { + font-style: normal; color: #666; +} +.FrameItemFont a:hover i { + font-style: normal; color: #fff; background-color: #666; +} + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#E0E6DF; } /* Light mauve */ +.NavBarCell1Rev { background-color:#16569A; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { } +.NavBarFont1Rev { color:#FFFFFF; } + +.NavBarCell2 { background-color:#FFFFFF; color:#000000} +.NavBarCell3 { background-color:#FFFFFF; color:#000000} + Added: james/hupa/trunk/src/site/resources/demo/hupa-logo-original-transparent.png URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/resources/demo/hupa-logo-original-transparent.png?rev=1333181&view=auto ============================================================================== Binary file - no diff available. Propchange: james/hupa/trunk/src/site/resources/demo/hupa-logo-original-transparent.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: james/hupa/trunk/src/site/resources/demo/index.html URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/resources/demo/index.html?rev=1333181&view=auto ============================================================================== --- james/hupa/trunk/src/site/resources/demo/index.html (added) +++ james/hupa/trunk/src/site/resources/demo/index.html Wed May 2 20:05:33 2012 @@ -0,0 +1,102 @@ +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon"> +<title>Hupa webmail Demo</title> +<style> +body { + background: #eee; +} + +* { + font-family: arial; +} + +h2 { + float: left; +} + +.title { + font-size: 2.5em; + text-align: center; + background: -moz-linear-gradient(#C5D9FF, #FFFFFF); + background: -webkit-linear-gradient(#C5D9FF, #FFFFFF); + background: -o-linear-gradient(#C5D9FF, #FFFFFF); + filter: progid : DXImageTransform.Microsoft.gradient(startColorstr='#C5D9FF', endColorstr='#FFFFFF', GradientType=0 ); + text-shadow: 1px 3px 3px #666666; + filter: progid : DXImageTransform.Microsoft.Shadow (color='#666666', Direction=135, Strength=1 ); +} + +.box { + box-shadow: 0 1px 4px grey; + border: 1px solid #7FAAFF; + border-radius: 5px 5px 5px 5px; + overflow: hidden; + width: 800px; + padding: 30px; + left: 50%; + margin-left: -430px; + position: relative; +} + +.text { + margin-top: 15px; + background: -moz-linear-gradient(#fafafa, #C5D9FF); + background: -webkit-linear-gradient(#fafafa, #C5D9FF); + filter: progid : DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#C5D9FF', GradientType=0 ); + margin-bottom: 0px; + min-height: 50%; +} + +img { + margin-top: -62px; + margin-bottom: -62px; + vertical-align: middle; + width: 200px; +} + +li { + margin-top: 10px; +} +</style> +</head> + +<body> + + <div class='title box'> + <img src="hupa-logo-original-transparent.png" /> Apache Hupa Demo + site. + </div> + + <div class='text box'> + <p>You can select one of our demo instances: + <ul> + <li><a href=http://james.zones.apache.org/hupa.demo>Hupa in Demo mode</a>: + <ul> + <li>Username is set to <b>'demo'</b> and the password is <b>'demo'</b></li> + <li>Uses a collection of example messages and stub + implementations of IMAP and SMTP servers.</li> + <li>In this instance you can test almost the Hupa features, + but emails you send will never reach the addressee, + they only will be saved in the Sent folder.</li> + </ul></li> + </li> + + <li><a href=http://james.zones.apache.org/hupa.gmail>Hupa for Gmail</a>: + <ul> + <li>It will work with any imap enabled account in gmail.</li> + <li>You have to provide a valid gmail username (don't forget + the domain part) and your password.</li> + <li>Because this instance and gmail servers are far away, and + Hupa caching is not enabled, you will notice a latency when using + the application.</li> + <li>You can read your real messages and use Hupa to send + messages to your contacts.</li> + </ul></li> + </ul> + + </p> + </div> +</body> + +</html> Modified: james/hupa/trunk/src/site/xdoc/index.xml URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/xdoc/index.xml?rev=1333181&r1=1333180&r2=1333181&view=diff ============================================================================== --- james/hupa/trunk/src/site/xdoc/index.xml (original) +++ james/hupa/trunk/src/site/xdoc/index.xml Wed May 2 20:05:33 2012 @@ -30,7 +30,7 @@ email clients nowadays have like address book </p> </section> - <section name="releases"> + <section name="Releases"> <p> Although there isn't a stable release yet you can download the latest <a href='https://builds.apache.org/job/hupa-trunk/lastBuild/org.apache.hupa$hupa/artifact/org.apache.hupa/hupa/0.0.2-SNAPSHOT/hupa-0.0.2-SNAPSHOT.war'> @@ -41,20 +41,10 @@ </section> <section name="Demo"> - <p> There is an instance of Hupa running in the ASF infra. It is + <p> There are <a href='demo/index.html'>two</a> instances of Hupa running in the ASF infra. One is configured to use GMail IMAP and SMTP servers, so any gmail account - should work. </p> - <p> - Note that your gmail account must have imap enabled. - <br /> - Because the instance and gmail servers are far away and caching in - Hupa is not functional yet, you will notice a latency when using the - application - </p> - <p> - Click on this - <a href='http://james.zones.apache.org' target='_blank'> link </a> - to open Hupa in a new window. + should work. The other one uses a set of messages used to test Hupa + with fake imap and smtp servers implementations. </p> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org