Author: gdfm
Date: Fri Jan 23 16:37:34 2015
New Revision: 1654262

URL: http://svn.apache.org/r1654262
Log:
initial import

Added:
    incubator/samoa/css/
    incubator/samoa/css/octicons.eot   (with props)
    incubator/samoa/css/octicons.svg
    incubator/samoa/css/octicons.ttf   (with props)
    incubator/samoa/css/octicons.woff   (with props)
    incubator/samoa/css/pages.css
    incubator/samoa/images/
    incubator/samoa/images/section-shadow.png   (with props)
    incubator/samoa/images/slideshow/
    incubator/samoa/images/slideshow/architecture.png   (with props)
    incubator/samoa/images/slideshow/runtime.png   (with props)
    incubator/samoa/images/slideshow/samoa-taxonomy.png   (with props)
    incubator/samoa/images/slideshow/vht.png   (with props)
    incubator/samoa/js/
    incubator/samoa/js/application.js
    incubator/samoa/js/jquery.js

Added: incubator/samoa/css/octicons.eot
URL: 
http://svn.apache.org/viewvc/incubator/samoa/css/octicons.eot?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/css/octicons.eot
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/css/octicons.svg
URL: 
http://svn.apache.org/viewvc/incubator/samoa/css/octicons.svg?rev=1654262&view=auto
==============================================================================
--- incubator/samoa/css/octicons.svg (added)
+++ incubator/samoa/css/octicons.svg Fri Jan 23 16:37:34 2015
@@ -0,0 +1,16 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<svg xmlns="http://www.w3.org/2000/svg";>
+<metadata>Copyright (C) 2013 by GitHub</metadata>
+<defs>
+<font id="octicons" horiz-adv-x="1024" >
+<font-face font-family="octicons" font-weight="400" font-stretch="normal" 
units-per-em="1024" ascent="832" descent="-192" />
+<missing-glyph horiz-adv-x="1024" />
+<glyph glyph-name="book" unicode="&#xf007;" d="M320 512h-128c-64 
0-64-64-64-64h256s0 64-64 64z m0-128h-128c-64 0-64-64-64-64h256s0 64-64 64z 
m0-128h-128c-64 0-64-64-64-64h256s0 64-64 64z m448 256h-128c-64 
0-64-64-64-64h256s0 64-64 64z m0-128h-128c-64 0-64-64-64-64h256s0 64-64 64z 
m0-128h-128c-64 0-64-64-64-64h256s0 64-64 64z m-160 416c-64 0-128-64-128-64s-64 
64-128 64c-160 0-352-64-352-64v-608l448 32s-1-32 31-32c33 0 33 32 33 
32l448-32v608s-192 64-352 64z m-160-608s1 64-64 64c-193 0-320-64-320-64v512s128 
32 256 32c64 0 128-64 128-64v-480z m448 32s-97 32-320 32c-62 
0-64-64-64-64v480s64 64 128 64c128 0 256-64 256-64v-448z" horiz-adv-x="1024" />
+<glyph glyph-name="check" unicode="&#xf03a;" d="M640 640l-384-384-128 
128-128-128 256-256 512 512-128 128z" horiz-adv-x="768" />
+<glyph glyph-name="link" unicode="&#xf05c;" d="M768 64h-192s-254 0-256 256c0 
22 3 43 8 64h137c-11-19-18-41-18-64 0-128 128-128 128-128h192s128 0 128 128-128 
128-128 128 0 64-64 128h64s256 0 256-256-256-256-256-256z m-72 192h-137c11 19 
18 41 18 64 0 128-128 128-128 128h-192s-128 0-128-128 128-128 128-128-4-65 
66-128h-66s-256 0-256 256 256 256 256 256h192s256 0 256-256c0-22-4-44-8-64z" 
horiz-adv-x="1024" />
+<glyph glyph-name="mark-github" unicode="&#xf00a;" d="M512 832c-283 
0-512-229-512-512 0-226 147-418 350-486 26-5 35 11 35 25 0 12 0 53-1 
95-142-31-172 60-172 60-23 59-57 75-57 75-47 32 4 31 4 31 51-4 78-53 78-53 
46-78 120-56 149-43 5 33 18 56 33 68-114 13-233 57-233 253 0 56 20 102 53 137-5 
13-23 65 5 136 0 0 43 14 141-53 41 11 85 17 128 17 44 0 87-6 128-17 98 66 141 
53 141 53 28-71 10-123 5-136 33-36 53-81 53-137 0-197-120-240-234-253 18-16 
35-47 35-95 0-68-1-124-1-141 0-14 9-30 35-25 203 68 350 260 350 486 0 283-229 
512-512 512z" horiz-adv-x="1024" />
+<glyph glyph-name="pencil" unicode="&#xf058;" d="M704 768l-128-128 192-192 128 
128-192 192z m-704-704l1-193 191 1 512 512-192 192-512-512z 
m192-128h-128v128h64v-64h64v-64z" horiz-adv-x="896" />
+</font>
+</defs>
+</svg>
\ No newline at end of file

Added: incubator/samoa/css/octicons.ttf
URL: 
http://svn.apache.org/viewvc/incubator/samoa/css/octicons.ttf?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/css/octicons.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/css/octicons.woff
URL: 
http://svn.apache.org/viewvc/incubator/samoa/css/octicons.woff?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/css/octicons.woff
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/css/pages.css
URL: 
http://svn.apache.org/viewvc/incubator/samoa/css/pages.css?rev=1654262&view=auto
==============================================================================
--- incubator/samoa/css/pages.css (added)
+++ incubator/samoa/css/pages.css Fri Jan 23 16:37:34 2015
@@ -0,0 +1,775 @@
+/* ### Reset ### */
+
+html, body, div, span, object,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  outline: 0;
+  font-size: 100%;
+  font: inherit;
+  vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+  display: block;
+}
+body {
+  line-height: 1;
+}
+ol, ul {
+  list-style: none;
+}
+blockquote, q {
+  quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+  content: '';
+  content: none;
+}
+
+ins {
+  text-decoration: none;
+}
+del {
+  text-decoration: line-through;
+}
+
+table {
+  border-collapse: collapse;
+  border-spacing: 0;
+}
+
+ol li {
+  list-style-type: decimal;
+}
+
+/* ### Common ### */
+
+body {
+  box-sizing: border-box;
+  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  color: #333;
+  line-height: 1.4;
+  font-size: 14px;
+}
+
+/*
+
+.octicon is optimized for 16px.
+.mega-octicon is optimized for 32px but can be used larger.
+
+*/
+.octicon {
+  font: normal normal 16px octicons;
+  line-height: 1;
+  display: inline-block;
+  text-decoration: none;
+  -webkit-font-smoothing: antialiased;
+}
+
+.mega-octicon {
+  font: normal normal 48px octicons;
+  display: inline-block;
+  text-decoration: none;
+  -webkit-font-smoothing: antialiased;
+  color: #4183c4;
+  line-height: 100px;
+}
+
+.wrapper {
+  position:relative;
+  width: 980px;
+  margin: 0 auto;
+}
+
+strong {
+  font-weight: bold;
+}
+
+a {
+  color: #4183C4;
+  text-decoration: none;
+}
+
+a:hover {
+  color: #156cc2;
+}
+
+p code {
+  background-color: #f9f9f9;
+  border: 1px solid #ddd;
+  border-radius: 4px;
+  padding: 2px 5px;
+  font-family: Consolas, "Liberation Mono", Courier, monospace;
+}
+
+h2 {
+  text-align: center;
+  font-weight: 200;
+  line-height: 38px;
+  margin: 40px auto 0;
+  font-size: 21px;
+  max-width: 740px;
+}
+
+.page h1.title { margin-top: 25px; }
+
+h4 {
+  font-size: 30px;
+  font-weight: 300;
+  line-height: 1em;
+  -webkit-backface-visibility: hidden;
+}
+
+p {
+  margin: 15px 0 30px;
+  font-weight: 300;
+  line-height: 1.7em;
+}
+
+em {
+  font-style: italic;
+}
+
+textarea {
+  border: none;
+  background-color: transparent;
+  width: 400px;
+  outline: none;
+}
+
+.logo {
+  display: block;
+  width: 169px;
+  margin: 0 auto;
+}
+
+#hero-spot {
+  padding: 40px 0 0;
+  position: relative;
+  overflow: hidden;
+  background: #222;
+}
+
+.help-link {
+  position: absolute;
+  top: 20px;
+  right: 20px;
+  background-color: #333;
+  color: #bbb;
+  padding: 5px 10px;
+  border-radius: 4px;
+  font-size: 12px;
+  font-weight: bold;
+  -webkit-backface-visibility: hidden;
+  -webkit-transition: color 0.2s ease-in-out 0s;
+  -moz-transition: color 0.2s ease-in-out 0s;
+  -o-transition: color 0.2s ease-in-out 0s;
+  transition: color 0.2s ease-in-out 0s;
+}
+
+.help-link:hover {
+  color: #fff;
+}
+
+h1 {
+  margin: 90px auto 0 auto;
+  font-size: 48px;
+  font-weight: 200;
+  line-height: 60px;
+  text-align: center;
+  max-width: 910px;
+  color: #333;
+}
+
+#hero-spot h1 {
+  color: #fff;
+  -webkit-backface-visibility: hidden;
+  max-width: 830px;
+  margin-top: 50px;
+  font-size: 78px;
+}
+
+.page #hero-spot img { margin-bottom: 25px; }
+
+#hero-spot h2 {
+  color: #a7a7a7;
+  -webkit-backface-visibility: hidden;
+  line-height: 1.5em;
+  max-width: none;
+  margin: 10px auto 60px;
+  font-size: 28px;
+}
+
+#hero-spot h3 {
+  text-align: center;
+  color: #a7a7a7;
+  -webkit-backface-visibility: hidden;
+  line-height: 1.5em;
+  max-width: none;
+  margin: 10px auto 60px;
+  font-size: 18px;
+}
+
+.hero-spot h2 > a {
+  color: #dcdcdc;
+  text-decoration: underline;
+}
+.hero-spot h2 > a:hover {
+  text-decoration: none;
+}
+
+#slideshow {
+  margin: 30px auto 0;
+  position: relative;
+}
+
+.slide {
+  margin: 0 auto;
+  max-width: 100%;
+  position: absolute;
+  left: 0; right: 0; bottom: 0;
+  opacity: 0;
+  z-index: 100;
+  -webkit-transition: opacity 0.6s ease-in-out 0s;
+  -moz-transition: opacity 0.6s ease-in-out 0s;
+  -o-transition: opacity 0.6s ease-in-out 0s;
+  transition: opacity 0.6s ease-in-out 0s;
+}
+
+.slide:first-child {
+  position: relative;
+  display: block;
+}
+
+.slide.active {
+  opacity: 1;
+  z-index: 90;
+}
+
+.shadow-overlay {
+  position: absolute;
+  bottom: 0;
+  width: 100%;
+  height: 9px;
+  background: url(../images/section-shadow.png) repeat-x;
+}
+
+#tutorial {
+  text-align: center;
+  background-color: #f5f5f5;
+  padding-bottom: 20px;
+  overflow: hidden;
+}
+
+.tabs {
+  display: inline-block;
+  margin: 45px auto 0;
+  font-size: 0;
+}
+
+.question .tabs {
+  margin: 30px auto 0;
+}
+
+.tabs li {
+  display: inline-block;
+  margin: 0;
+  font-size: 15px;
+}
+
+.tabs li:first-child a {
+  border-top-left-radius: 5px;
+  border-bottom-left-radius: 5px;
+}
+
+.tabs li:last-child a {
+  border-top-right-radius: 5px;
+  border-bottom-right-radius: 5px;
+}
+
+.tabs li:nth-child(even) a {
+  margin: 0 -1px;
+}
+
+.tabs a {
+  color: #323232;
+  background-color: #fff;
+  padding: 10px 20px;
+  display: inline-block;
+  border: 1px solid #dddddd;
+  position: relative;
+  line-height: 1em;
+  -webkit-transition: all 0.2s ease-in-out 0s;
+  -moz-transition: all 0.2s ease-in-out 0s;
+  -o-transition: all 0.2s ease-in-out 0s;
+  transition: all 0.2s ease-in-out 0s;
+}
+
+.question .tabs a {
+  background-color: #fcfcfc;
+}
+
+.tabs a:hover {
+  color: #327fc7;
+  border-color: #327fc7;
+  z-index: 10;
+}
+
+.tabs a.selected {
+  z-index: 20;
+  color: #fff;
+  background-color: #327fc7;
+  border-color: #327fc7;
+  outline: none;
+}
+
+/* Tutorials */
+
+.tutorial-list {
+  margin-top: 90px;
+  counter-reset: tutorialstep;
+  display: none;
+}
+
+.tutorial-list.active {
+  display: block;
+}
+
+.tutorial-list > li {
+  position: relative;
+  background-color: #fff;
+  margin: 0 0 70px 0px;
+  padding: 40px 0 60px;
+  font-size: 18px;
+  border: 1px solid #ddd;
+  border-radius: 5px;
+  text-align: center;
+  z-index: 1;
+
+  -webkit-transition: all 0.6s ease-in-out 0s;
+  -moz-transition: all 0.6s ease-in-out 0s;
+  -o-transition: all 0.6s ease-in-out 0s;
+  transition: all 0.6s ease-in-out 0s;
+}
+
+.tutorial-list .image-right {
+  padding-right: 440px;
+}
+
+.tutorial-list .image-right p {
+  margin-left: 30px;
+  margin-right: 30px;
+}
+
+#create-repo-step {
+  background: #fff url(/images/[email protected]) right 0 no-repeat;
+  background-size: 446px 344px;
+}
+
+#setup-in-desktop {
+  background: #fff url(/images/[email protected]) no-repeat right 0;
+  background-size: 443px 303px;
+}
+
+.tutorial-list .animate-in {
+  -webkit-transform: translateY(40px);
+  -moz-transform: translateY(40px);
+  -o-transform: translateY(40px);
+  -ms-transform: translateY(40px);
+  transform: translateY(40px);
+  opacity: 0;
+}
+
+.tutorial-list p {
+  margin: 30px 120px 30px;
+}
+
+.tutorial-list p:last-child {
+  margin-bottom: 0;
+}
+
+.article-left p {
+  margin-left: 0;
+  margin-right: 0;
+}
+
+.tutorial-list .right-image p, .tutorial-list .right-image h4 {
+  margin-left: 30px;
+}
+
+.tutorial-list li .full-size {
+  margin-bottom: -66px;
+  max-width: 90%;
+}
+
+.tutorial-list .hidden {
+  display: none;
+}
+
+.tutorial-list .question {
+  text-align: center;
+}
+
+.windows-download {
+  color: #fff;
+  display: inline-block;
+  font-size: 18px;
+  margin: 0 0 50px;
+  background-color: #71bc22;
+       padding: 10px 14px;
+  line-height: 27px;
+  font-family: "Segoe UI", "Segoe WP", "Helvetica Neue", "Lucida Grande", 
sans-serif;
+  font-weight: 300;
+  -webkit-backface-visibility: hidden;
+}
+
+.windows-download:hover {
+  color: #fff;
+  background-color: #62b30e;
+}
+
+.windows-download .icon {
+  background: url('../images/[email protected]') no-repeat center;
+  background-size: 21px 21px;
+  height: 21px;
+  width: 21px;
+  margin: 0 9px -4px 0;
+  display: inline-block;
+}
+
+.mac-download {
+  display:inline-block;
+  text-decoration:none;
+  text-shadow:0 -1px 0 rgba(0,0,0,0.3);
+  background-color:#3582df;
+  background-image: -moz-linear-gradient(#45b3f3 0%, #3582df 100%);
+  background-image: -webkit-linear-gradient(#45b3f3 0%, #3582df 100%);
+  
-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#45b3f3', 
endColorstr='#3582df')";
+  border-radius:4px;
+  box-shadow:0 1px 2px rgba(0,0,0,0.3);
+  margin: 0 0 50px;
+  padding: 12px 20px 14px 15px;
+  font-size: 17px;
+  -webkit-backface-visibility: hidden;
+  font-weight: normal;
+  color: #fff;
+}
+
+.mac-download::before {
+       content: "";
+       width: 23px;
+       height: 24px;
+       display: inline-block;
+       background-image: url(../images/[email protected]);
+       background-size: 23px 24px;
+       margin-right: 11px;
+       margin-bottom: -7px;
+}
+
+.mac-download:hover:before {
+  opacity: 0.8;
+}
+
+.mac-download:hover {
+       color: #fff;
+       background-image: -moz-linear-gradient(#56bdf9 0%, #358af0 100%);
+       background-image: -webkit-linear-gradient(#56bdf9 0%, #358af0 100%);
+       border-radius:4px;
+}
+
+.tutorial-list > li:last-child:before {
+  content: "";
+  position: absolute;
+  left: -55px;
+  top: 0;
+  height: 105%;
+  width: 10px;
+  background-color: #f5f5f5;
+}
+
+.tutorial-list .right {
+  margin: -45px 0 0 30px;
+  border-top-right-radius: 5px;
+  border-bottom-right-radius: 5px;
+}
+
+.details {
+  font-size: 14px;
+  font-weight: 400;
+}
+
+.tutorial-list .question:after {
+  content: "?";
+}
+
+.tutorial-list > li:not(.question):after {
+  counter-increment: tutorialstep;
+  content: counter(tutorialstep);
+}
+
+.tutorial-list > li:after {
+  width: 58px;
+  height: 58px;
+  line-height: 58px;
+  background-color: #327fc7;
+  border-radius: 200px;
+  font-size: 30px;
+  font-weight: 300;
+  color: #fff;
+  position: absolute;
+  left: -15px;
+  top: -15px;
+  text-align: center;
+  -webkit-backface-visibility: hidden;
+  z-index: 100;
+}
+
+.hero-octicon {
+  width: 100px;
+  height: 100px;
+  border-radius: 50px;
+  text-align: center;
+  border: solid 1px #e5e5e5;
+  margin: 0 auto 15px;
+  display: block;
+  -webkit-transition: all 0.2s ease-in-out 0s;
+  -moz-transition: all 0.2s ease-in-out 0s;
+  -o-transition: all 0.2s ease-in-out 0s;
+  transition: all 0.2s ease-in-out 0s;
+}
+
+.hero-octicon:hover {
+  -webkit-transform: scale(1.1);
+  -moz-transform: scale(1.1);
+  -o-transform: scale(1.1);
+  -ms-transform: scale(1.1);
+  transform: scale(1.1);
+}
+
+.next-steps .hero-octicon {
+  margin-bottom: 35px;
+}
+
+.terminal {
+  width: 700px;
+  margin: 30px auto 0;
+}
+
+.header {
+  height: 25px;
+  display: block;
+  background: -moz-linear-gradient(top,  #f7f7f7 0%, #cfcfcf 5%, #aaaaaa 100%);
+  background: -webkit-gradient(linear, left top, left bottom, 
color-stop(0%,#f7f7f7), color-stop(5%,#cfcfcf), color-stop(100%,#aaaaaa));
+  background: -webkit-linear-gradient(top,  #f7f7f7 0%,#cfcfcf 5%,#aaaaaa 
100%);
+  background: -o-linear-gradient(top,  #f7f7f7 0%,#cfcfcf 5%,#aaaaaa 100%);
+  background: -ms-linear-gradient(top,  #f7f7f7 0%,#cfcfcf 5%,#aaaaaa 100%);
+  background: linear-gradient(top,  #f7f7f7 0%,#cfcfcf 5%,#aaaaaa 100%);
+  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', 
endColorstr='#aaaaaa',GradientType=0 );
+  border: 1px solid #9c9c9c;
+  border-bottom-color: #111;
+  border-top-left-radius: 7px;
+  border-top-right-radius: 7px;
+  text-align: center;
+  font-size: 13px;
+  line-height: 25px;
+  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
+  color: #444;
+}
+
+.shell {
+  font-family: Consolas, "Liberation Mono", Courier, monospace;
+  font-size: 17px;
+  line-height: 28px;
+  color: #eeeb82;
+  background-color: #3d3d3d;
+  overflow: hidden;
+  padding: 20px;
+  margin: 0;
+  border-bottom-left-radius: 7px;
+  border-bottom-right-radius: 7px;
+  text-align: left;
+  display: block;
+}
+
+.tutorial-list .shell p {
+  margin: 0;
+  font-weight: bold;
+  -webkit-backface-visibility: hidden;
+}
+
+.path {
+  color: #71cfee;
+  -webkit-touch-callout: none;
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+  padding-right: 0.6em;
+}
+
+.prompt {
+  color: #d74d52;
+  -webkit-touch-callout: none;
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+  padding-right: 0.6em;
+}
+
+/* end Tutorials */
+
+.contentfh1 {
+  margin-top: 80px;
+ color: #777;
+}
+
+/* Next steps */
+
+.next-steps {
+  margin-top: 80px;
+ color: #777;
+}
+
+.next-steps p {
+  font-weight: 400;
+}
+
+.next-steps li {
+  display: table-cell;
+  text-align: center;
+  padding: 0 20px 0;
+
+  -webkit-transition: opacity 0.8s ease-in-out 0s;
+  -moz-transition: opacity 0.8s ease-in-out 0s;
+  -ms-transition: opacity 0.8s ease-in-out 0s;
+  -o-transition: opacity 0.8s ease-in-out 0s;
+  transition: opacity 0.8s ease-in-out 0s;
+}
+
+.next-steps .animate-in {
+  opacity: 0;
+}
+
+.next-steps li:first-child, .next-steps li:last-child {
+  padding-left: 0;
+  padding-right: 0;
+}
+
+.next-steps .custom-urls {
+  -webkit-transition-delay: 0.15s;
+  -moz-transition-delay: 0.15s;
+  -ms-transition-delay: 0.15s;
+  -o-transition-delay: 0.15s;
+  transition-delay: 0.15s;
+}
+
+.custom-urls .mega-octicon {
+  -webkit-transform:rotate(-45deg);
+  -moz-transform:rotate(-45deg);
+  -o-transform:rotate(-45deg);
+  -ms-transform:rotate(-45deg);
+  transform:rotate(-45deg);
+}
+
+.next-steps .guides {
+  -webkit-transition-delay: 0.3s;
+  -moz-transition-delay: 0.3s;
+  -o-transition-delay: 0.3s;
+  transition-delay: 0.3s;
+}
+
+/* end next steps */
+
+footer {
+  position: relative;
+  font-size: 12px;
+  line-height: 1.5;
+  color: #777;
+  clear: both;
+  width: 980px;
+  padding: 40px 0;
+  margin: 70px auto 0 auto;
+  border-top: 1px solid #eee;
+}
+
+.site-footer-links li {
+  display: inline-block;
+  margin-left: 10px;
+}
+
+.site-footer-links li:first-child {
+  margin-left: 0;
+}
+
+footer .octicon-mark-github {
+  position: absolute;
+  top: 38px;
+  left: 50%;
+  color: #ccc;
+  height: 24px;
+  width: 24px;
+  margin-left: -12px;
+  font-size: 24px;
+  line-height: 1;
+}
+
+footer .right {
+  float: right;
+  margin: 0;
+}
+
+.left {
+  float: left;
+}
+
+.article-left {
+  width: 500px;
+  margin-left: 20px;
+}
+
+/* @group Octicons -------------------- */
+
+@font-face {
+  font-family: 'octicons';
+  src: url('octicons.eot');
+  src: url('octicons.eot#iefix') format('embedded-opentype'),
+       url('octicons.woff') format('woff'),
+       url('octicons.ttf') format('truetype'),
+       url('octicons.svg#octicons') format('svg');
+  font-weight: normal;
+  font-style: normal;
+}
+
+.octicon-book:before { content: '\f007'} /*  */
+.octicon-check:before { content: '\f03a'} /*  */
+
+.octicon-link:before { content: '\f05c'} /*  */
+.octicon-mark-github:before { content: '\f00a'} /*  */
+.octicon-pencil:before { content: '\f058'} /*  */
+
+/* @end Octicons */
+
+.page .content { padding-left: 10%; padding-right: 10%; }
+.versions { font-size: 1.1em; }
+.versions table {
+  margin-left: auto;
+  margin-right: auto;
+  margin-top: 25px;
+  font-size: 1.1em;
+}
+.versions table tr th { font-weight: bold; text-align: left; }
+.versions table tr td { padding: 5px 20px 5px 0;  }

Added: incubator/samoa/images/section-shadow.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/images/section-shadow.png?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/images/section-shadow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/images/slideshow/architecture.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/images/slideshow/architecture.png?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/images/slideshow/architecture.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/images/slideshow/runtime.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/images/slideshow/runtime.png?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/images/slideshow/runtime.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/images/slideshow/samoa-taxonomy.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/images/slideshow/samoa-taxonomy.png?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/images/slideshow/samoa-taxonomy.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/images/slideshow/vht.png
URL: 
http://svn.apache.org/viewvc/incubator/samoa/images/slideshow/vht.png?rev=1654262&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/samoa/images/slideshow/vht.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/samoa/js/application.js
URL: 
http://svn.apache.org/viewvc/incubator/samoa/js/application.js?rev=1654262&view=auto
==============================================================================
--- incubator/samoa/js/application.js (added)
+++ incubator/samoa/js/application.js Fri Jan 23 16:37:34 2015
@@ -0,0 +1,243 @@
+// Generated by CoffeeScript 1.6.3
+(function() {
+  var Pages, Slideshow, Tutorial,
+    __bind = function(fn, me){ return function(){ return fn.apply(me, 
arguments); }; },
+    __hasProp = {}.hasOwnProperty,
+    __extends = function(child, parent) { for (var key in parent) { if 
(__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { 
this.constructor = child; } ctor.prototype = parent.prototype; child.prototype 
= new ctor(); child.__super__ = parent.prototype; return child; };
+
+  Pages = (function() {
+    function Pages() {
+      this.browserSupportsCSSProperty = 
__bind(this.browserSupportsCSSProperty, this);
+    }
+
+    Pages.prototype.browserSupportsCSSProperty = function(featureName) {
+      var domPrefixes, elm, featureNameCapital, i, _i, _ref;
+      elm = document.createElement('div');
+      featureName = featureName.toLowerCase();
+      if (elm.style[featureName] !== void 0) {
+        return true;
+      }
+      domPrefixes = 'Webkit Moz ms O'.split(' ');
+      featureNameCapital = featureName.charAt(0).toUpperCase() + 
featureName.substr(1);
+      for (i = _i = 0, _ref = domPrefixes.length; 0 <= _ref ? _i < _ref : _i > 
_ref; i = 0 <= _ref ? ++_i : --_i) {
+        if (elm.style[domPrefixes[i] + featureNameCapital] !== void 0) {
+          return true;
+        }
+      }
+      return false;
+    };
+
+    return Pages;
+
+  })();
+
+  Slideshow = (function(_super) {
+    __extends(Slideshow, _super);
+
+    Slideshow.prototype.slideShowImages = {};
+
+    function Slideshow() {
+      this.slideShowImages = window.slides;
+      this.showNextSlide();
+      Slideshow.__super__.constructor.call(this, "browserSupportsCSSProperty");
+    }
+
+    Slideshow.prototype.numSlides = function() {
+      return Object.keys(this.slideShowImages).length;
+    };
+
+    Slideshow.prototype.activeIndex = function() {
+      var activeIndex;
+      return activeIndex = $("#slideshow .active").index();
+    };
+
+    Slideshow.prototype.nextIndex = function() {
+      if (this.activeIndex() === this.numSlides() - 1) {
+        return 0;
+      } else {
+        return this.activeIndex() + 1;
+      }
+    };
+
+    Slideshow.prototype.showNextSlide = function() {
+      return this.showSlideAtIndex(this.nextIndex());
+    };
+
+    Slideshow.prototype.filename = function(index) {
+      return Object.keys(this.slideShowImages)[index];
+    };
+
+    Slideshow.prototype.title = function(index) {
+      var filename;
+      filename = this.filename(index);
+      return this.slideShowImages[filename];
+    };
+
+    Slideshow.prototype.src = function(index) {
+      return "images/slideshow/" + (this.filename(index)) + ".png";
+    };
+
+    Slideshow.prototype.imgHtml = function(index) {
+      return $("<img src='" + (this.src(index)) + "' class='slide' alt='" + 
(this.title(index)) + "' />");
+    };
+
+    Slideshow.prototype.isLoaded = function(index) {
+      return index + 1 <= $("#slideshow img").length;
+    };
+
+    Slideshow.prototype.showSlideAtIndex = function(slideIndex) {
+      var newImage, start,
+        _this = this;
+      if (this.isLoaded(slideIndex)) {
+        return this.fadeInSlideAfterDelayAtIndex(slideIndex);
+      } else {
+        newImage = this.imgHtml(slideIndex);
+        if (newImage.complete || newImage.readyState === 4) {
+          return this.addImageToSlideshow(newImage);
+        } else {
+          start = new Date().getTime();
+          return newImage.load(function() {
+            var elapsed;
+            elapsed = new Date().getTime() - start;
+            return _this.addImageToSlideshow(newImage, elapsed);
+          });
+        }
+      }
+    };
+
+    Slideshow.prototype.addImageToSlideshow = function(image, loadTime) {
+      var imageWidth;
+      if (loadTime == null) {
+        loadTime = 0;
+      }
+      imageWidth = image[0].width === 0 ? $("#slideshow .slide")[0].width : 
image[0].width / 2;
+      image.attr("width", imageWidth).appendTo('#slideshow');
+      return this.fadeInSlideAfterDelayAtIndex($("#slideshow .slide").length - 
1, loadTime);
+    };
+
+    Slideshow.prototype.fadeInSlideAfterDelayAtIndex = function(slideIndex, 
shortenDelay) {
+      var delay,
+        _this = this;
+      if (shortenDelay == null) {
+        shortenDelay = 0;
+      }
+      delay = shortenDelay < 3000 ? 3000 - shortenDelay : 0;
+      return setTimeout(function() {
+        var newSlide;
+        if (_this.browserSupportsCSSProperty("transition")) {
+          $("#slideshow .active").removeClass("active");
+          $("#slideshow img:eq(" + slideIndex + ")").addClass("active");
+          return _this.showNextSlide();
+        } else {
+          $("#slideshow .active").fadeTo(600, 0, function() {
+            return $(this).removeClass("active");
+          });
+          newSlide = $("#slideshow img:eq(" + slideIndex + ")");
+          return newSlide.fadeTo(600, 1, function() {
+            newSlide.addClass("active");
+            return _this.showNextSlide();
+          });
+        }
+      }, delay);
+    };
+
+    return Slideshow;
+
+  })(Pages);
+
+  Tutorial = (function(_super) {
+    __extends(Tutorial, _super);
+
+    Tutorial.prototype.animateInOffset = 80;
+
+    Tutorial.prototype.animateInClass = "dont-animate";
+
+    function Tutorial() {
+      this.questionTabClick = __bind(this.questionTabClick, this);
+      this.selectTab = __bind(this.selectTab, this);
+      this.tutorialTabClick = __bind(this.tutorialTabClick, this);
+      this.animateInPresentElements = __bind(this.animateInPresentElements, 
this);
+      if (this.browserSupportsCSSProperty("transition")) {
+        this.animateInClass = "animate-in";
+      }
+      $(window).scroll(this.animateInPresentElements);
+      if (this.isMacUser()) {
+        $("#option-newuser-w").attr("id", "option-newuser-m");
+      }
+      $("#tutorial > .tabs a").click(this.tutorialTabClick);
+      $(".question .tabs a").click(this.questionTabClick);
+      $(".tutorial-list > li").addClass(this.animateInClass);
+      $(".next-steps li").addClass(this.animateInClass);
+      $(".tutorial-list").each(function(index, element) {
+        var chosenOption, questionIndex;
+        questionIndex = $(element).find(".question").index();
+        $(element).find("> li:eq(" + questionIndex + 
")").nextAll().not(".option-all").addClass("hidden");
+        chosenOption = $(element).find(".question .selected").attr("id");
+        return $(element).find("." + chosenOption).removeClass("hidden");
+      });
+    }
+
+    Tutorial.prototype.isMacUser = function() {
+      return navigator.userAgent.indexOf("Mac OS X") !== -1;
+    };
+
+    Tutorial.prototype.resetTutorialStepsAfterStep = function(stepIndex) {
+      return $(".tutorial-list.active > li:eq(" + stepIndex + 
")").nextAll().addClass(this.animateInClass);
+    };
+
+    Tutorial.prototype.resetAllTutorialSteps = function() {
+      return $(".tutorial-list.active > li").addClass(this.animateInClass);
+    };
+
+    Tutorial.prototype.animateInPresentElements = function(index) {
+      var bottomScrollPosition, windowHeight, windowScrollPosition,
+        _this = this;
+      windowHeight = $(window).height();
+      windowScrollPosition = $(window).scrollTop();
+      bottomScrollPosition = windowHeight + windowScrollPosition;
+      return $(".animate-in").not(".hidden").each(function(i, element) {
+        if ($(element).offset().top + _this.animateInOffset < 
bottomScrollPosition) {
+          return $(element).removeClass(_this.animateInClass);
+        }
+      });
+    };
+
+    Tutorial.prototype.tutorialTabClick = function(e) {
+      var href;
+      e.preventDefault();
+      this.selectTab(e.currentTarget);
+      $(".tutorial-list.active").removeClass("active");
+      href = $(e.currentTarget).attr("href");
+      $(href).addClass("active");
+      this.resetAllTutorialSteps();
+      return this.animateInPresentElements();
+    };
+
+    Tutorial.prototype.selectTab = function(tab) {
+      $(tab).closest(".tabs").find(".selected").removeClass("selected");
+      return $(tab).addClass("selected");
+    };
+
+    Tutorial.prototype.questionTabClick = function(e) {
+      var currentOption, newOption, stepIndex;
+      e.preventDefault();
+      currentOption = 
$(e.currentTarget).closest(".tabs").find(".selected").attr("id");
+      this.selectTab(e.currentTarget);
+      $(".tutorial-list.active ." + currentOption).addClass("hidden");
+      newOption = $(e.currentTarget).attr("id");
+      $(".tutorial-list.active ." + newOption).removeClass("hidden");
+      stepIndex = $(e.currentTarget).closest(".question").index();
+      this.resetTutorialStepsAfterStep(stepIndex);
+      return this.animateInPresentElements();
+    };
+
+    return Tutorial;
+
+  })(Pages);
+
+  $(function() {
+    new Slideshow();
+    return new Tutorial();
+  });
+
+}).call(this);


Reply via email to