ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arthurbere...@apache.org
Subject [07/14] incubator-ariatosca-website git commit: Adding initial commit
Date Thu, 15 Jun 2017 16:41:46 GMT
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/fonts/fontawesome-webfont.woff
----------------------------------------------------------------------
diff --git a/_site/fonts/fontawesome-webfont.woff b/_site/fonts/fontawesome-webfont.woff
new file mode 100644
index 0000000..dc35ce3
Binary files /dev/null and b/_site/fonts/fontawesome-webfont.woff differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/fonts/fontawesome-webfont.woff2
----------------------------------------------------------------------
diff --git a/_site/fonts/fontawesome-webfont.woff2 b/_site/fonts/fontawesome-webfont.woff2
new file mode 100644
index 0000000..500e517
Binary files /dev/null and b/_site/fonts/fontawesome-webfont.woff2 differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/getting-started/index.html
----------------------------------------------------------------------
diff --git a/_site/getting-started/index.html b/_site/getting-started/index.html
new file mode 100644
index 0000000..0ce73a7
--- /dev/null
+++ b/_site/getting-started/index.html
@@ -0,0 +1,244 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>Getting Started with ARIA TOSCA • Apache ARIA TOSCA</title>
+    
+    
+    
+    	<!-- Twitter Cards -->
+	<meta name="twitter:title" content="Getting Started with ARIA TOSCA">
+	
+	
+	
+	
+	<meta name="twitter:card" content="summary">
+	<meta name="twitter:image" content="/images/aria-icon.png">
+	
+	<!-- Open Graph -->
+	<meta property="og:locale" content="en">
+	<meta property="og:type" content="article">
+	<meta property="og:title" content="Getting Started with ARIA TOSCA">
+	
+	<meta property="og:url" content="/getting-started/">
+	<meta property="og:site_name" content="Apache ARIA TOSCA">
+
+    <link rel="canonical" href="/getting-started/">
+
+    <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Apache ARIA
TOSCA Atom Feed">
+    <link href="/sitemap.xml" type="application/xml" rel="sitemap" title="Sitemap">
+
+    <meta name="HandheldFriendly" content="True">
+    <meta name="MobileOptimized" content="320">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="cleartype" content="on">
+
+    <link rel="stylesheet" href="/css/main.css">
+    <!-- HTML5 Shiv and Media Query Support for IE -->
+    <!--[if lt IE 9]>
+      <script src="/js/vendor/html5shiv.min.js"></script>
+      <script src="/js/vendor/respond.min.js"></script>
+    <![endif]-->
+
+  </head>
+
+  <body id="js-body">
+    <!--[if lt IE 9]><div class="upgrade notice-warning"><strong>Your browser
is quite old!</strong> Why not <a href="http://whatbrowser.org/">upgrade to a
newer one</a> to better enjoy this site?</div><![endif]-->
+
+    <header id="masthead">
+  <div class="inner-wrap">
+    <a href="/" class="site-title">Apache ARIA TOSCA</a>
+    <nav role="navigation" class="menu top-menu">
+        <ul class="menu-item">
+	<li class="home"><a href="/">Apache ARIA TOSCA</a></li>
+	
+    
+    <li><a href="/about/" >About</a></li>
+  
+    
+    <li><a href="/community/" >Community</a></li>
+  
+    
+    <li><a href="/getting-started/" >Getting Started</a></li>
+  
+    
+    <li><a href="/roadmap/" >Roadmap</a></li>
+  
+</ul>
+    </nav>
+  </div><!-- /.inner-wrap -->
+</header><!-- /.masthead -->
+    <nav role="navigation" id="js-menu" class="sliding-menu-content">
+  <h5>Apache ARIA TOSCA <span>Table of Contents</span></h5>
+  <ul class="menu-item">
+    <li>
+      <a href="/about/">
+        
+        <div class="title">About</div>
+        <p class="excerpt">About ARIA TOSCA</p>
+      </a>
+    </li><li>
+      <a href="/community/">
+        
+        <div class="title">Community</div>
+        <p class="excerpt">Joing the ARIA TOSCA Community</p>
+      </a>
+    </li><li>
+      <a href="/getting-started/">
+        
+        <div class="title">Getting Started</div>
+        <p class="excerpt">Getting started with ARIA TOSCA</p>
+      </a>
+    </li><li>
+      <a href="/roadmap/">
+        
+        <div class="title">Roadmap</div>
+        <p class="excerpt">Roadmap Features of ARIA TOSCA</p>
+      </a>
+    </li>
+  </ul>
+</nav>
+<button type="button" id="js-menu-trigger" class="sliding-menu-button lines-button x2"
role="button" aria-label="Toggle Navigation">
+  <span class="nav-lines"></span>
+</button>
+
+<div id="js-menu-screen" class="menu-screen"></div>
+
+
+    <div id="page-wrapper">
+      <div id="main" role="main">
+	<article class="wrap" itemscope itemtype="http://schema.org/Article">
+		
+		
+		<div class="page-title">
+			<h1>Getting Started with ARIA TOSCA</h1>
+		</div>
+		<div class="inner-wrap">
+			<div id="content" class="page-content" itemprop="articleBody">
+				<h2 id="installation">Installation</h2>
+
+<p>ARIA is <a href="https://pypi.python.org/pypi/ariatosca">available on PyPI</a>.</p>
+
+<p>To install ARIA directly from PyPI (using a <code class="highlighter-rouge">wheel</code>),
use:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code># pip install
aria
+</code></pre>
+</div>
+
+<p>To install ARIA from source, download the source tarball from
+<a href="https://pypi.python.org/pypi/ariatosca">PyPI</a>, extract it, and then
when inside the extracted
+directory, use:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code># pip install
.
+</code></pre>
+</div>
+
+<p>The source package comes along with relevant examples and documentation. Additionally,
<code class="highlighter-rouge">requirements.txt</code> is included for
+installing the depending packages with which ARIA was tested.</p>
+
+<p>Note that for the <code class="highlighter-rouge">pip install</code>
commands mentioned above, you must use a privileged user, or use
+virtualenv.</p>
+
+<p>ARIA itself is in a <code class="highlighter-rouge">wheel</code> format
compatible with all platforms. Some dependencies, however,
+might require compilation (based on a given platform), and therefore possibly some system
+dependencies are required as well.</p>
+
+<p>On Ubuntu or other Debian-based systems::</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>sudo apt install
python-setuptools python-dev build-essential libssl-dev libffi-dev
+</code></pre>
+</div>
+
+<p>On Archlinux::</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>sudo pacman
-S python-setuptools
+</code></pre>
+</div>
+
+<p>ARIA requires Python 2.6/2.7. Python 3+ is currently not supported.</p>
+
+<h2 id="getting-started-with-aria-tosca">Getting Started with ARIA TOSCA</h2>
+
+<p>This section will describe how to run a simple “Hello World” example.</p>
+
+<p>First, provide ARIA with the ARIA “hello world” service-template and name it
(e.g.
+<code class="highlighter-rouge">my-service-template</code>)::</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>aria service-templates
store examples/hello-world/helloworld.yaml my-service-template
+</code></pre>
+</div>
+
+<p>Now create a service based on this service-template and name it (e.g. <code class="highlighter-rouge">my-service</code>)::</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>aria services
create my-service -t my-service-template
+</code></pre>
+</div>
+
+<p>Finally, start an <code class="highlighter-rouge">install</code> workflow
execution on <code class="highlighter-rouge">my-service</code> like so::</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>aria executions
start install -s my-service
+</code></pre>
+</div>
+
+<p>You should now have a simple web-server running on your local machine. You can try
visiting
+<code class="highlighter-rouge">http://localhost:9090</code> to view your deployed
application.</p>
+
+<p>To uninstall and clean your environment, follow these steps::</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>aria executions
start uninstall -s my-service
+aria services delete my-service
+aria service-templates delete my-service-template
+</code></pre>
+</div>
+
+<h2 id="license">License</h2>
+
+<p>ARIA is licensed under the
+<a href="https://github.com/apache/incubator-ariatosca/blob/master/LICENSE">Apache
License 2.0</a></p>
+
+				<hr />
+				<footer class="page-footer">
+					
+					
+					
+				</footer><!-- /.footer -->
+				<aside>
+					
+				</aside>
+			</div><!-- /.content -->
+		</div><!-- /.inner-wrap -->
+		
+	</article><!-- ./wrap -->
+</div><!-- /#main -->
+
+      <footer role="contentinfo" id="site-footer">
+	<nav role="navigation" class="menu bottom-menu">
+		<ul class="menu-item">
+		
+      
+			<li><a href="/about/" >About</a></li>
+		
+      
+			<li><a href="/Community/" >Community</a></li>
+		
+      
+			<li><a href="/start/" >Getting Started</a></li>
+		
+      
+			<li><a href="/docs/" >Roadmap</a></li>
+		
+		</ul>
+	</nav><!-- /.bottom-menu -->
+	<p class="copyright">ARIA is an agile reference implementation of automation based
on OASIS TOSCA Specification. It is a framework for implementing orchestration software and
a command line tool to execute TOSCA based application blueprints.</p>
+	<p class="copyright">&#169; 2017 <a href="">Apache ARIA TOSCA</a>.</p>
+
+</footer>
+
+    </div>
+
+    <script src="/js/vendor/jquery-1.9.1.min.js"></script>
+    <script src="/js/main.js"></script>
+
+  </body>
+
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/apple-touch-icon-precomposed.png
----------------------------------------------------------------------
diff --git a/_site/images/apple-touch-icon-precomposed.png b/_site/images/apple-touch-icon-precomposed.png
new file mode 100644
index 0000000..a27c6b9
Binary files /dev/null and b/_site/images/apple-touch-icon-precomposed.png differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/aria-architecture.png
----------------------------------------------------------------------
diff --git a/_site/images/aria-architecture.png b/_site/images/aria-architecture.png
new file mode 100644
index 0000000..9e721c1
Binary files /dev/null and b/_site/images/aria-architecture.png differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/aria-icon.png
----------------------------------------------------------------------
diff --git a/_site/images/aria-icon.png b/_site/images/aria-icon.png
new file mode 100644
index 0000000..93d6769
Binary files /dev/null and b/_site/images/aria-icon.png differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/aria-logo.png
----------------------------------------------------------------------
diff --git a/_site/images/aria-logo.png b/_site/images/aria-logo.png
new file mode 100644
index 0000000..e1a89ba
Binary files /dev/null and b/_site/images/aria-logo.png differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/aria-tosca-workflow.png
----------------------------------------------------------------------
diff --git a/_site/images/aria-tosca-workflow.png b/_site/images/aria-tosca-workflow.png
new file mode 100644
index 0000000..6180f96
Binary files /dev/null and b/_site/images/aria-tosca-workflow.png differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/bio-photo.jpg
----------------------------------------------------------------------
diff --git a/_site/images/bio-photo.jpg b/_site/images/bio-photo.jpg
new file mode 100644
index 0000000..29e3245
Binary files /dev/null and b/_site/images/bio-photo.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/images/skinny-bones-demo.gif
----------------------------------------------------------------------
diff --git a/_site/images/skinny-bones-demo.gif b/_site/images/skinny-bones-demo.gif
new file mode 100644
index 0000000..a8d412e
Binary files /dev/null and b/_site/images/skinny-bones-demo.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/index.html
----------------------------------------------------------------------
diff --git a/_site/index.html b/_site/index.html
new file mode 100644
index 0000000..417bbe2
--- /dev/null
+++ b/_site/index.html
@@ -0,0 +1,157 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <title>Latest Posts • Apache ARIA TOSCA</title>
+    
+    
+    
+    	<!-- Twitter Cards -->
+	<meta name="twitter:title" content="Latest Posts">
+	
+	
+	
+	
+	<meta name="twitter:card" content="summary">
+	<meta name="twitter:image" content="/images/aria-icon.png">
+	
+	<!-- Open Graph -->
+	<meta property="og:locale" content="en">
+	<meta property="og:type" content="article">
+	<meta property="og:title" content="Latest Posts">
+	
+	<meta property="og:url" content="/">
+	<meta property="og:site_name" content="Apache ARIA TOSCA">
+
+    <link rel="canonical" href="/">
+
+    <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Apache ARIA
TOSCA Atom Feed">
+    <link href="/sitemap.xml" type="application/xml" rel="sitemap" title="Sitemap">
+
+    <meta name="HandheldFriendly" content="True">
+    <meta name="MobileOptimized" content="320">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="cleartype" content="on">
+
+    <link rel="stylesheet" href="/css/main.css">
+    <!-- HTML5 Shiv and Media Query Support for IE -->
+    <!--[if lt IE 9]>
+      <script src="/js/vendor/html5shiv.min.js"></script>
+      <script src="/js/vendor/respond.min.js"></script>
+    <![endif]-->
+
+  </head>
+
+  <body id="js-body">
+    <!--[if lt IE 9]><div class="upgrade notice-warning"><strong>Your browser
is quite old!</strong> Why not <a href="http://whatbrowser.org/">upgrade to a
newer one</a> to better enjoy this site?</div><![endif]-->
+
+    <header id="masthead">
+  <div class="inner-wrap">
+    <a href="/" class="site-title">Apache ARIA TOSCA</a>
+    <nav role="navigation" class="menu top-menu">
+        <ul class="menu-item">
+	<li class="home"><a href="/">Apache ARIA TOSCA</a></li>
+	
+    
+    <li><a href="/about/" >About</a></li>
+  
+    
+    <li><a href="/community/" >Community</a></li>
+  
+    
+    <li><a href="/getting-started/" >Getting Started</a></li>
+  
+    
+    <li><a href="/roadmap/" >Roadmap</a></li>
+  
+</ul>
+    </nav>
+  </div><!-- /.inner-wrap -->
+</header><!-- /.masthead -->
+    <nav role="navigation" id="js-menu" class="sliding-menu-content">
+  <h5>Apache ARIA TOSCA <span>Table of Contents</span></h5>
+  <ul class="menu-item">
+    <li>
+      <a href="/about/">
+        
+        <div class="title">About</div>
+        <p class="excerpt">About ARIA TOSCA</p>
+      </a>
+    </li><li>
+      <a href="/community/">
+        
+        <div class="title">Community</div>
+        <p class="excerpt">Joing the ARIA TOSCA Community</p>
+      </a>
+    </li><li>
+      <a href="/getting-started/">
+        
+        <div class="title">Getting Started</div>
+        <p class="excerpt">Getting started with ARIA TOSCA</p>
+      </a>
+    </li><li>
+      <a href="/roadmap/">
+        
+        <div class="title">Roadmap</div>
+        <p class="excerpt">Roadmap Features of ARIA TOSCA</p>
+      </a>
+    </li>
+  </ul>
+</nav>
+<button type="button" id="js-menu-trigger" class="sliding-menu-button lines-button x2"
role="button" aria-label="Toggle Navigation">
+  <span class="nav-lines"></span>
+</button>
+
+<div id="js-menu-screen" class="menu-screen"></div>
+
+
+    <div id="page-wrapper">
+      <div id="main" role="main">			
+	<div class="wrap">
+		
+		<div class="page-title">
+			<h1>Latest Posts</h1>
+			
+		</div>
+		<div class="archive-wrap">
+			<div class="page-content">
+				<div class="tiles">
+
+</div>
+<!-- /.tiles -->
+
+			</div><!-- /.page-content -->
+		</div class="archive-wrap"><!-- /.archive-wrap -->
+	</div><!-- /.wrap -->
+</div><!-- /#main -->
+      <footer role="contentinfo" id="site-footer">
+	<nav role="navigation" class="menu bottom-menu">
+		<ul class="menu-item">
+		
+      
+			<li><a href="/about/" >About</a></li>
+		
+      
+			<li><a href="/Community/" >Community</a></li>
+		
+      
+			<li><a href="/start/" >Getting Started</a></li>
+		
+      
+			<li><a href="/docs/" >Roadmap</a></li>
+		
+		</ul>
+	</nav><!-- /.bottom-menu -->
+	<p class="copyright">ARIA is an agile reference implementation of automation based
on OASIS TOSCA Specification. It is a framework for implementing orchestration software and
a command line tool to execute TOSCA based application blueprints.</p>
+	<p class="copyright">&#169; 2017 <a href="">Apache ARIA TOSCA</a>.</p>
+
+</footer>
+
+    </div>
+
+    <script src="/js/vendor/jquery-1.9.1.min.js"></script>
+    <script src="/js/main.js"></script>
+
+  </body>
+
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/js/main.js
----------------------------------------------------------------------
diff --git a/_site/js/main.js b/_site/js/main.js
new file mode 100644
index 0000000..6ea7a49
--- /dev/null
+++ b/_site/js/main.js
@@ -0,0 +1 @@
+/*! skinny-bones-jekyll - v1.0.0 - 2015-11-17 */!function($){"use strict";$.fn.fitVids=function(options){var
settings={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var
head=document.head||document.getElementsByTagName("head")[0],css=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper
iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",div=document.createElement("div");div.innerHTML='<p>x</p><style
id="fit-vids-style">'+css+"</style>",head.appendChild(div.childNodes[1])}return options&&$.extend(settings,options),this.each(function(){var
selectors=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];settings.customSelector&&selectors.push(settings.customSelector);var
ignoreList=".fitvidsignore";settings.ignore&&(
 ignoreList=ignoreList+", "+settings.ignore);var $allVideos=$(this).find(selectors.join(","));$allVideos=$allVideos.not("object
object"),$allVideos=$allVideos.not(ignoreList),$allVideos.each(function(){var $this=$(this);if(!($this.parents(ignoreList).length>0||"embed"===this.tagName.toLowerCase()&&$this.parent("object").length||$this.parent(".fluid-width-video-wrapper").length)){$this.css("height")||$this.css("width")||!isNaN($this.attr("height"))&&!isNaN($this.attr("width"))||($this.attr("height",9),$this.attr("width",16));var
height="object"===this.tagName.toLowerCase()||$this.attr("height")&&!isNaN(parseInt($this.attr("height"),10))?parseInt($this.attr("height"),10):$this.height(),width=isNaN(parseInt($this.attr("width"),10))?$this.width():parseInt($this.attr("width"),10),aspectRatio=height/width;if(!$this.attr("id")){var
videoID="fitvid"+Math.floor(999999*Math.random());$this.attr("id",videoID)}$this.wrap('<div
class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video
 -wrapper").css("padding-top",100*aspectRatio+"%"),$this.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function($){var
$w=$(window);$.fn.visible=function(partial,hidden,direction){if(!(this.length<1)){var $t=this.length>1?this.eq(0):this,t=$t.get(0),vpWidth=$w.width(),vpHeight=$w.height(),direction=direction?direction:"both",clientSize=hidden===!0?t.offsetWidth*t.offsetHeight:!0;if("function"==typeof
t.getBoundingClientRect){var rec=t.getBoundingClientRect(),tViz=rec.top>=0&&rec.top<vpHeight,bViz=rec.bottom>0&&rec.bottom<=vpHeight,lViz=rec.left>=0&&rec.left<vpWidth,rViz=rec.right>0&&rec.right<=vpWidth,vVisible=partial?tViz||bViz:tViz&&bViz,hVisible=partial?lViz||lViz:lViz&&rViz;if("both"===direction)return
clientSize&&vVisible&&hVisible;if("vertical"===direction)return clientSize&&vVisible;if("horizontal"===direction)return
clientSize&&hVisible}else{var viewTop=$w.scrollTop(),viewBottom=viewTop+vpHeight,viewLeft=$w.scrollLeft(),viewRight=viewLeft+vpWidt
 h,offset=$t.offset(),_top=offset.top,_bottom=_top+$t.height(),_left=offset.left,_right=_left+$t.width(),compareTop=partial===!0?_bottom:_top,compareBottom=partial===!0?_top:_bottom,compareLeft=partial===!0?_right:_left,compareRight=partial===!0?_left:_right;if("both"===direction)return!!clientSize&&viewBottom>=compareBottom&&compareTop>=viewTop&&viewRight>=compareRight&&compareLeft>=viewLeft;if("vertical"===direction)return!!clientSize&&viewBottom>=compareBottom&&compareTop>=viewTop;if("horizontal"===direction)return!!clientSize&&viewRight>=compareRight&&compareLeft>=viewLeft}}}}(jQuery),$(document).ready(function(){$("#js-menu-trigger,#js-menu-screen").on("click
touchstart",function(e){$("#js-menu, #js-menu-screen").toggleClass("is-visible"),$("#js-menu-trigger").toggleClass("slide
close"),e.preventDefault()})}),$(document).ready(function(){$("#main").fitVids()}),$("#markdown-toc").prepend("<li><h6>Overview</h6></li>");

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/js/plugins/jquery.fitvids.js
----------------------------------------------------------------------
diff --git a/_site/js/plugins/jquery.fitvids.js b/_site/js/plugins/jquery.fitvids.js
new file mode 100644
index 0000000..05e24cc
--- /dev/null
+++ b/_site/js/plugins/jquery.fitvids.js
@@ -0,0 +1,83 @@
+/*global jQuery */
+/*jshint browser:true */
+/*!
+* FitVids 1.1
+*
+* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
+* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
+* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
+*
+*/
+
+(function( $ ){
+
+  "use strict";
+
+  $.fn.fitVids = function( options ) {
+    var settings = {
+      customSelector: null,
+      ignore: null
+    };
+
+    if(!document.getElementById('fit-vids-style')) {
+      // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
+      var head = document.head || document.getElementsByTagName('head')[0];
+      var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper
iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
+      var div = document.createElement('div');
+      div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
+      head.appendChild(div.childNodes[1]);
+    }
+
+    if ( options ) {
+      $.extend( settings, options );
+    }
+
+    return this.each(function(){
+      var selectors = [
+        "iframe[src*='player.vimeo.com']",
+        "iframe[src*='youtube.com']",
+        "iframe[src*='youtube-nocookie.com']",
+        "iframe[src*='kickstarter.com'][src*='video.html']",
+        "object",
+        "embed"
+      ];
+
+      if (settings.customSelector) {
+        selectors.push(settings.customSelector);
+      }
+
+      var ignoreList = '.fitvidsignore';
+
+      if(settings.ignore) {
+        ignoreList = ignoreList + ', ' + settings.ignore;
+      }
+
+      var $allVideos = $(this).find(selectors.join(','));
+      $allVideos = $allVideos.not("object object"); // SwfObj conflict patch
+      $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.
+
+      $allVideos.each(function(){
+        var $this = $(this);
+        if($this.parents(ignoreList).length > 0) {
+          return; // Disable FitVids on this video.
+        }
+        if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length
|| $this.parent('.fluid-width-video-wrapper').length) { return; }
+        if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height'))
|| isNaN($this.attr('width'))))
+        {
+          $this.attr('height', 9);
+          $this.attr('width', 16);
+        }
+        var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') &&
!isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
+            width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'),
10) : $this.width(),
+            aspectRatio = height / width;
+        if(!$this.attr('id')){
+          var videoID = 'fitvid' + Math.floor(Math.random()*999999);
+          $this.attr('id', videoID);
+        }
+        $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top',
(aspectRatio * 100)+"%");
+        $this.removeAttr('height').removeAttr('width');
+      });
+    });
+  };
+// Works with either jQuery or Zepto
+})( window.jQuery || window.Zepto );

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/js/plugins/jquery.visible.js
----------------------------------------------------------------------
diff --git a/_site/js/plugins/jquery.visible.js b/_site/js/plugins/jquery.visible.js
new file mode 100644
index 0000000..ad80f84
--- /dev/null
+++ b/_site/js/plugins/jquery.visible.js
@@ -0,0 +1,68 @@
+(function($){
+
+  /**
+   * Copyright 2012, Digital Fusion
+   * Licensed under the MIT license.
+   * http://teamdf.com/jquery-plugins/license/
+   *
+   * @author Sam Sehnert
+   * @desc A small plugin that checks whether elements are within
+   *       the user visible viewport of a web browser.
+   *       only accounts for vertical position, not horizontal.
+   */
+  var $w = $(window);
+  $.fn.visible = function(partial,hidden,direction){
+
+    if (this.length < 1)
+      return;
+
+    var $t        = this.length > 1 ? this.eq(0) : this,
+      t         = $t.get(0),
+      vpWidth   = $w.width(),
+      vpHeight  = $w.height(),
+      direction = (direction) ? direction : 'both',
+      clientSize = hidden === true ? t.offsetWidth * t.offsetHeight : true;
+
+    if (typeof t.getBoundingClientRect === 'function'){
+
+      // Use this native browser method, if available.
+      var rec = t.getBoundingClientRect(),
+        tViz = rec.top    >= 0 && rec.top    <  vpHeight,
+        bViz = rec.bottom >  0 && rec.bottom <= vpHeight,
+        lViz = rec.left   >= 0 && rec.left   <  vpWidth,
+        rViz = rec.right  >  0 && rec.right  <= vpWidth,
+        vVisible   = partial ? tViz || bViz : tViz && bViz,
+        hVisible   = partial ? lViz || lViz : lViz && rViz;
+
+      if(direction === 'both')
+        return clientSize && vVisible && hVisible;
+      else if(direction === 'vertical')
+        return clientSize && vVisible;
+      else if(direction === 'horizontal')
+        return clientSize && hVisible;
+    } else {
+
+      var viewTop         = $w.scrollTop(),
+        viewBottom      = viewTop + vpHeight,
+        viewLeft        = $w.scrollLeft(),
+        viewRight       = viewLeft + vpWidth,
+        offset          = $t.offset(),
+        _top            = offset.top,
+        _bottom         = _top + $t.height(),
+        _left           = offset.left,
+        _right          = _left + $t.width(),
+        compareTop      = partial === true ? _bottom : _top,
+        compareBottom   = partial === true ? _top : _bottom,
+        compareLeft     = partial === true ? _right : _left,
+        compareRight    = partial === true ? _left : _right;
+
+      if(direction === 'both')
+        return !!clientSize && ((compareBottom <= viewBottom) && (compareTop
>= viewTop)) && ((compareRight <= viewRight) && (compareLeft >= viewLeft));
+      else if(direction === 'vertical')
+        return !!clientSize && ((compareBottom <= viewBottom) && (compareTop
>= viewTop));
+      else if(direction === 'horizontal')
+        return !!clientSize && ((compareRight <= viewRight) && (compareLeft
>= viewLeft));
+    }
+  };
+
+})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/6fa6824b/_site/js/vendor/html5shiv.min.js
----------------------------------------------------------------------
diff --git a/_site/js/vendor/html5shiv.min.js b/_site/js/vendor/html5shiv.min.js
new file mode 100644
index 0000000..6168aac
--- /dev/null
+++ b/_site/js/vendor/html5shiv.min.js
@@ -0,0 +1,8 @@
+/*
+ HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
+*/
+(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function
i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return
b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return
b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
+a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return
function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return
n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var
c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
+c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var
a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var
c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
+"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var
e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog
figcaption figure footer header hgroup main mark meter nav output progress section summary
template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
+if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return
c}};l.html5=e;q(f)})(this,document);
\ No newline at end of file


Mime
View raw message