Modified: websites/staging/drill/trunk/content/drill/index.html ============================================================================== --- websites/staging/drill/trunk/content/drill/index.html (original) +++ websites/staging/drill/trunk/content/drill/index.html Sat Aug 9 07:33:27 2014 @@ -1,576 +1,167 @@ <!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8"> - <title>Apache Drill</title> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta name="description" content=""> - <meta name="author" content=""> - - <!-- Le styles --> - <link href="css/bootstrap.css" rel="stylesheet"> - <link href="css/bootstrap-responsive.css" rel="stylesheet"> - <style> - - /* GLOBAL STYLES - -------------------------------------------------- */ - /* Padding below the footer and lighter body text */ - - body { - padding-bottom: 40px; - color: #5a5a5a; - } - - - - /* CUSTOMIZE THE NAVBAR - -------------------------------------------------- */ - - /* Special class on .container surrounding .navbar, used for positioning it into place. */ - .navbar-wrapper { - position: absolute; - top: 0; - left: 0; - right: 0; - z-index: 10; - margin-top: 20px; - margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */ - } - .navbar-wrapper .navbar { - - } - - /* Remove border and change up box shadow for more contrast */ - .navbar .navbar-inner { - border: 0; - -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25); - -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25); - box-shadow: 0 2px 10px rgba(0,0,0,.25); - } - - /* Downsize the brand/project name a bit */ - .navbar .brand { - padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */ - font-size: 16px; - font-weight: bold; - text-shadow: 0 -1px 0 rgba(0,0,0,.5); - } - - /* Navbar links: increase padding for taller navbar */ - .navbar .nav > li > a { - padding: 14px 14px; - } - - .navbar .nav > li > form { - padding: 2px 12px; - margin-top: 10px; - margin-bottom: 0px; - } - - /* Offset the responsive button for proper vertical alignment */ - .navbar .btn-navbar { - margin-top: 10px; - } - - - - /* CUSTOMIZE THE CAROUSEL - -------------------------------------------------- */ - - /* Carousel base class */ - .carousel { - margin-bottom: 60px; - } - - .carousel .container { - position: relative; - z-index: 9; - } - - .carousel-control { - height: 80px; - margin-top: 0; - font-size: 120px; - text-shadow: 0 1px 1px rgba(0,0,0,.4); - background-color: transparent; - border: 0; - z-index: 10; - } - - .carousel .item { - height: 400px; - } - .carousel img { - position: absolute; - top: 0; - left: 0; - min-width: 100%; - height: 400px; - } - - .carousel-caption { - background-color: transparent; - position: static; - max-width: 550px; - padding: 0 20px; - margin-top: 200px; - } - .carousel-caption h1, - .carousel-caption .lead { - margin: 0; - line-height: 1.25; - color: #fff; - text-shadow: 0 1px 1px rgba(0,0,0,.4); - } - .carousel-caption .btn { - margin-top: 10px; - } - - - - /* MARKETING CONTENT - -------------------------------------------------- */ - - /* Center align the text within the three columns below the carousel */ - .marketing .span4 { - text-align: center; - } - .marketing h2 { - font-weight: normal; - } - .marketing .span4 p { - margin-left: 10px; - margin-right: 10px; - } - - - /* Featurettes - ------------------------- */ - - .featurette-divider { - margin: 40px 0; /* Space out the Bootstrap <hr> more */ - } - .featurette { - padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */ - overflow: hidden; /* Vertically center images part 2: clear their floats. */ - } - .featurette-image { - margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */ - } - - /* Give some space on the sides of the floated elements so text doesn't run right into it. */ - .featurette-image.pull-left { - margin-right: 40px; - } - .featurette-image.pull-right { - margin-left: 40px; - } - - /* Thin out the marketing headings */ - .featurette-heading { - font-size: 50px; - font-weight: 300; - line-height: 1; - letter-spacing: -1px; - } - - - - /* RESPONSIVE CSS - -------------------------------------------------- */ - - @media (max-width: 979px) { - - .container.navbar-wrapper { - margin-bottom: 0; - width: auto; - } - .navbar-inner { - border-radius: 0; - margin: -20px 0; - } - - .carousel .item { - height: 500px; - } - .carousel img { - width: auto; - height: 400px; - } - - .featurette { - height: auto; - padding: 0; - } - .featurette-image.pull-left, - .featurette-image.pull-right { - display: block; - float: none; - max-width: 40%; - margin: 0 auto 20px; - } - } - - - @media (max-width: 767px) { - - .navbar-inner { - margin: -20px; - } - - .carousel { - margin-left: -20px; - margin-right: -20px; - } - .carousel .container { - - } - .carousel .item { - height: 300px; - } - .carousel img { - height: 300px; - } - .carousel-caption { - width: 65%; - padding: 0 70px; - margin-top: 100px; - } - .carousel-caption h1 { - font-size: 30px; - } - .carousel-caption .lead, - .carousel-caption .btn { - font-size: 18px; - } - - .marketing .span4 + .span4 { - margin-top: 40px; - } - - .featurette-heading { - font-size: 30px; - } - .featurette .lead { - font-size: 18px; - line-height: 1.5; - } - - } - - #blue_box{ -background-image: linear-gradient(left top, #17283B 31%, #0E3B6A 65%, #0E3B6A 81%); -background-image: -o-linear-gradient(left top, #17283B 31%, #0E3B6A 65%, #0E3B6A 81%); -background-image: -moz-linear-gradient(left top, #17283B 31%, #0E3B6A 65%, #0E3B6A 81%); -background-image: -webkit-linear-gradient(left top, #17283B 31%, #0E3B6A 65%, #0E3B6A 81%); -background-image: -ms-linear-gradient(left top, #17283B 31%, #0E3B6A 65%, #0E3B6A 81%); - -background-image: -webkit-gradient( - linear, - left top, - 30% 80%, - color-stop(0.31, #17283B), - color-stop(0.75, #0E3B6A), - color-stop(0.81, #0E3B6A) -); - } - </style> - - <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> - <!--[if lt IE 9]> - <script src="js/html5shiv.js"></script> - <![endif]--> - - <!-- Fav and touch icons --> - <link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png"> - <link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png"> - <link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png"> - <link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png"> - <link rel="shortcut icon" href="ico/favicon.png"> - </head> - - <body> - - <!-- NAVBAR - ================================================== --> - <div class="navbar-wrapper"> - <!-- Wrap the .navbar in .container to center it within the absolutely positioned parent. --> - <div class="container"> - - <div class="navbar navbar-inverse"> - <div class="navbar-inner"> - <!-- Responsive Navbar Part 1: Button for triggering responsive navbar (not covered in tutorial). Include responsive CSS to utilize. --> - <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <!-- <a rel="nofollow" class="brand" href="index.html">Apache Drill</a> --> - - <!--<a rel="nofollow" href="index.html"><img src="img/apache-drill-logo.png" width="100" alt=""></a> --> - <!-- Responsive Navbar Part 2: Place all navbar contents you want collapsed withing .navbar-collapse.collapse. --> - <div class="nav-collapse collapse"> - <ul class="nav"> - <li><a rel="nofollow" href="index.html"><img src="img/apache-drill-logo2.png" width="120px" style="padding:0px" alt=""></a> - </li> - <li><a rel="nofollow" href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki">Documentation</a></li> - <li><a rel="nofollow" href="team.html">Team</a></li> - <li><a rel="nofollow" href="index.html#get_involved">Get Involved</a></li> - <li><a rel="nofollow" href="index.html#resources">Resources</a></li> - <li><a rel="nofollow" href="https://issues.apache.org/jira/browse/DRILL">Issue Tracking</a></li> - <li><a rel="nofollow" href="https://github.com/apache/incubator-drill">Source</a></li> - <!--<li><a rel="nofollow" href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki">Wiki</a></li>--> - <li> - <form method="GET" action="http://search-hadoop.com/"> - <input type="text" name="q" style="width:120px"> - <input type="hidden" name="fc_project" value="Drill"> - <input type="submit" style="margin-left:6px; margin-bottom:8px" value="Search"> </form> - </li> - <!-- #e60b35 --> -<!-- -moz-box-shadow: 1px 1px 1px 1px #828282; -webkit-box-shadow: 1px 1px 1px 1px #828282; box-shadow: 1px 1px 1px 1px #828282; --> - </ul> - </div><!--/.nav-collapse --> - </div><!-- /.navbar-inner --> - </div><!-- /.navbar --> - - </div> <!-- /.container --> - </div><!-- /.navbar-wrapper --> - - <!-- Carousel - ================================================== --> - <div id="myCarousel" class="carousel slide"> - <div class="carousel-inner"> - <div class="item active"> - <img src="img/ApacheDrillLogo_dark_background.png" alt=""> - <div class="container"> - <div class="carousel-caption"> - <h1>Download the latest nightly build</h1> - <p class="lead">Try a nightly build, beta coming soon. <a href="https://builds.apache.org/job/drill-scm/lastSuccessfulBuild/artifact/distribution/target/apache-drill-1.0.0-m2-incubating-SNAPSHOT-binary-release.tar.gz">Download it</a>, <a href="https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source">compile</a> and <a href="https://cwiki.apache.org/confluence/display/DRILL/Running+Queries">try things out.</a></p> -<br> -<p style="display:inline-block; border:1px solid #FFFFFF; padding:3px; color: #CCCCCC; font-weight: 400;">BETA RELEASE COMING SOON</p> - </div> - </div> - </div> - <div class="item"> - <img src="img/ApacheDrillLogo_dark_background.png" alt=""> - <div class="container"> - <div class="carousel-caption"> - <h1>Interactive Query at Scale</h1> - <p class="lead">Apache Drill provides low latency ad-hoc queries to many different data sources, including nested data. Inspired by Google's Dremel, Drill is designed to scale to 10,000 servers and query petabytes of data in seconds.</p> - </div> - </div> - </div> - <div class="item"> - <img src="img/ApacheDrillLogo_dark_background.png" alt=""> - <div class="container"> - <div class="carousel-caption"> - <h1>Flexible and Extensible Architecture</h1> - <p class="lead">Well-documented APIs and interface allow for fast additions of new data sources and file formats. New query languages and operators are also easy to add to Drill.</p> - </div> - </div> - </div> - </div> - <a rel="nofollow" class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> - <a rel="nofollow" class="right carousel-control" href="#myCarousel" data-slide="next">›</a> - </div><!-- /.carousel --> - - - - <!-- Marketing messaging and featurettes - ================================================== --> - <!-- Wrap the rest of the page in another container to center all the content. --> - - <div class="container marketing"> - - <div class="featurette"> - <img class="featurette-image pull-right" src="img/drill_runtime.png"> - <h2 class="featurette-heading"> Speed is Key <span class="muted"></span></h2> - <p class="lead">Leveraging an efficient columnar storage format, an optimistic execution engine and a cache-conscious memory layout, Apache Drill is blazing fast. Coordination, query planning, optimization, scheduling, and execution are all distributed throughout nodes in a system to maximize parallelization.</p> - </div> - - <hr class="featurette-divider"> - - <div class="featurette"> - <img class="featurette-image pull-left" src="img/json.png"> - <h2 class="featurette-heading">Liberate Nested Data<span class="muted"></span></h2> - <p class="lead">Perform interactive analysis on all of your data, including nested and schema-less. Drill supports querying against many different schema-less data sources including HBase, Cassandra and MongoDB. Naturally flat records are included as a special case of nested data.</p> - </div> - - <hr class="featurette-divider"> - - <div class="featurette"> - <img class="featurette-image pull-right" src="img/arch.png"> - <h2 class="featurette-heading">Flexibility<span class="muted"></span></h2> - <p class="lead">Strongly defined tiers and APIs for straightforward integration with a wide array of technologies.</p> - </div> - - <hr class="featurette-divider"> - - <div class="featurette" id="get_involved"> - <h2 class="featurette-heading" >Get Involved!<span class="muted"></span></h2> - <p class="lead"><a rel="nofollow" href="https://plus.google.com/hangouts/_/event/ci4rdiju8bv04a64efj5fedd0lc"> - Weekly Google Hangout - First Tuesday of each month (<span id="hangout_date">Date</span>) 10:00am PDT </a></p> - <p class="lead"><a rel="nofollow" href="https://builds.apache.org/job/drill-scm/lastSuccessfulBuild/artifact/distribution/target/apache-drill-1.0.0-m2-incubating-SNAPSHOT-binary-release.tar.gz">Drill Nightly Build (unstable)</a></p> - <p class="lead">Twitter: <a rel="nofollow" href="https://twitter.com/ApacheDrill">@ApacheDrill</a></p> - <p class="lead">Source Code: <a rel="nofollow" href="https://github.com/apache/incubator-drill" rel="nofollow">Github</a></p> - <p class="lead"><a rel="nofollow" href="https://cwiki.apache.org/confluence/display/DRILL/Contributing">How to contribute to Drill</a></p> - <p class="lead">Issue Tracking: <a rel="nofollow" href="https://issues.apache.org/jira/browse/DRILL">JIRA</a></p> - <p class="lead">Wiki: <a rel="nofollow" href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki">Apache Drill Wiki</a></p> - <p class="lead">Mailing Lists: </p> - <table class="table"> - <thead> - <tr> - <th>Name</th> - <th>Subscribe</th> - <th>Unsubscribe</th> - <th>Post</th> - <th>Archive</th> - </tr> - </thead> - <tbody> - <tr> - <td>User List</td> - <td><a rel="nofollow" href="mailto:drill-user-subscr...@incubator.apache.org">Subscribe</a></td> - <td><a rel="nofollow" href="mailto:drill-user-unsubscr...@incubator.apache.org">Unsubscribe</a></td> - <td><a rel="nofollow" href="mailto:drill-u...@incubator.apache.org">Post</a></td> - <td><a rel="nofollow" href="http://mail-archives.apache.org/mod_mbox/incubator-drill-user/">mail-archives.apache.org</a></td> - </tr> - <tr> - <td>Developer List</td> - <td><a rel="nofollow" href="mailto:drill-dev-subscr...@incubator.apache.org">Subscribe</a></td> - <td><a rel="nofollow" href="mailto:drill-dev-unsubscr...@incubator.apache.org">Unsubscribe</a></td> - <td><a rel="nofollow" href="mailto:drill-...@incubator.apache.org">Post</a></td> - <td><a rel="nofollow" href="http://mail-archives.apache.org/mod_mbox/incubator-drill-dev/">mail-archives.apache.org</a></td> - </tr> - </tbody> - </table> - </div> - - <hr class="featurette-divider"> - - - <div class="featurette" id="resources"> - <h2 class="featurette-heading">Resources<span class="muted"></span></h2> - <p class="lead"><a rel="nofollow" href="http://www.apache.org/dyn/closer.cgi/incubator/drill/drill-1.0.0-m1-incubating/">Drill Alpha/Milestone 1 Source Download</a></p> - <p class="lead"><a rel="nofollow" rel="nofollow" href="https://docs.google.com/document/d/1QTL8warUYS2KjldQrGUse7zp8eA72VKtLOHwfXy6c7I/edit#">Logical and Physical Plan Language Design Document (in progress)</a></p> - <p class="lead"><a rel="nofollow" rel="nofollow" href="https://docs.google.com/document/d/1zaxkcrK9mYyfpGwX1kAV80z0PCi8abefL45zOzb97dI/edit#bookmark=id.iip15ful18mm">Value Vector Design Document</a></p> - <p class="lead"><a rel="nofollow" href="http://wiki.apache.org/incubator/DrillProposal">Drill Proposal Wiki Page </a></p> - <p class="lead"><a rel="nofollow" href="http://www.slideshare.net/jasonfrantz/drill-architecture-20120913" rel="nofollow">Drill Architecture Slides</a></p> - <p class="lead"><a rel="nofollow" href="http://drill-user.org/" rel="nofollow">Drill Users Discussion Blog</a></p> - <p class="lead"><a rel="nofollow" href="http://research.google.com/pubs/pub36632.html" rel="nofollow">Google's Dremel Paper</a></p> - <p class="lead"><a rel="nofollow" href="http://db.csail.mit.edu/projects/cstore/" rel="nofollow">MIT's C-Store</a></p> - <p class="lead"><a rel="nofollow" href="https://developers.google.com/bigquery/docs/query-reference" rel="nofollow">Google's BigQuery</a></p> - <p class="lead"><a rel="nofollow" href="https://developers.google.com/protocol-buffers/docs/proto" rel="nofollow">Google's Protobufs</a></p> - <p class="lead"><a rel="nofollow" href="http://apache.org/licenses/LICENSE-2.0.html " rel="nofollow">Apache Drill License</a></p> - - - </div> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta http-equiv="Content-Language" content="en" /> - <!-- /END THE FEATURETTES --> + <title>Apache Drill - Apache Drill</title> - <hr class="featurette-divider"> + <link rel="stylesheet" href="/drill/css/bootstrap-2.1.0.min.css" /> + <link rel="stylesheet" href="/drill/css/drill.css" type="text/css"> + </head> + <body> - <!-- Three columns of text below the carousel - <div class="row"> --> + <div class="navbar navbar-inverse navbar-static-top"> + + <div class="container-fluid"> - <a rel="nofollow" href="http://incubator.apache.org"> - <img style="float:left;margin-right:20px" src="http://incubator.apache.org/images/egg-logo.png" alt="apache Incubator Logo"> + <a class="nav pull-right brand" href="http://incubator.apache.org"> + <img src="http://incubator.apache.org/images/egg-logo.png" alt="apache Incubator Logo" /> </a> + </div> + + </div> - <h2 class="featurette-heading">Disclaimer<span class="muted"></span><br></h2> - <p class="lead">Apache Drill is an effort undergoing incubation at <a rel="nofollow" href="http://apache.org/"> The Apache Software Foundation</a> - sponsored by the <a rel="nofollow" href="http://incubator.apache.org/">Apache Incubator PMC</a>. + <ul class="breadcrumb"> + <li> + <a href="/">Incubator</a> + <span class="divider">»</span> + </li> + <li> + <a href="/drill/">Drill</a> + </li> + + </ul> + + <div class="container-fluid"> + <div class="row-fluid"> + + <!-- SIDEBAR AREA --> + <div class="span2"> + <div class="sidebar-nav"> + <ul class="nav nav-list"> + + + <li class="nav-header">Apache Drill</li> + + + + + <li><b>Overview</b></li> + + + + + + <li><a href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki">Wiki</a></li> + + + + + <li class="nav-header">Project</li> + + + + + <li><a href="/drill/source-repository.html">Source Code</a></li> + + + + + + <li><a href="/drill/mailing-lists.html">Mailing Lists</a></li> + + + + + + <li><a href="https://issues.apache.org/jira/browse/DRILL">Issue Tracking</a></li> + + + + + + <li><a href="/drill/resources.html">Resources</a></li> + + + + + + <li><a href="http://apache.org/licenses/LICENSE-2.0.html">License</a></li> + + + + </ul> + </div> <!-- /well --> + </div> <!-- /span --> + + <!-- CONTENT AREA --> + <div class="span10"> + <h1 class="title"> + Apache Drill + + <small>Distributed system for interactive analysis.</small> + + </h1> + + <hr /> +<blockquote> +<p><em>Apache Drill (incubating)</em> is a distributed system for interactive analysis +of large-scale datasets, based on Google's Dremel. Its goal is to efficiently +process nested data. It is a design goal to scale to 10,000 servers or more +and to be able to process petabyes of data and trillions of records in seconds.</p> +</blockquote> +<hr /> +<h2 id="documentation">Documentation</h2> +<ul> +<li><a href="https://docs.google.com/document/d/1QTL8warUYS2KjldQrGUse7zp8eA72VKtLOHwfXy6c7I/edit">Logical and Physical Plan Language Design Document (in progress)</a></li> +<li><a href="intro.html">Introduction to Apache Drill</a></li> +<li><a href="https://cwiki.apache.org/confluence/display/DRILL/Contributing">How to contribute to Drill</a></li> +</ul> +<h2 id="mailing-lists">Mailing Lists</h2> +<ul> +<li>See the link on the left of this page</li> +</ul> +<h2 id="wiki">Wiki</h2> +<ul> +<li><a href="https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki">Home page</a> or see the link on the left side of this page.</li> +</ul> +<p>The wiki has some use cases, links to documentation and <a href="https://cwiki.apache.org/confluence/display/DRILL/Q1+In-Progress+Report">the next podling report</a> (the in-progress report). </p> +<p>This wiki is open to all to contribute. You can help by adding content, even if all you have are questions. Of particular interest +are new use cases or commentary on existing user cases. </p> +<h2 id="disclaimer">Disclaimer</h2> +<p>Apache Drill is an effort undergoing incubation at <a href="http://apache.org/">The Apache Software Foundation +(ASF)</a> sponsored by the <a href="http://incubator.apache.org/">Apache Incubator PMC</a>. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully -endorsed by the ASF. - <!--</div> /.row --> +endorsed by the ASF.</p> + </div> <!-- /span --> + + </div> <!-- /row-fluid --> - <hr class="featurette-divider"> + </div> + + <hr/> - <!-- FOOTER --> <footer> <div class="container-fluid"> <div class="row span12">Copyright © 2012 - <a rel="nofollow" href="http://www.apache.org/">The Apache Software Foundation</a>, - licensed under the <a rel="nofollow" href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>. - <p><small>Apache Incubator, Apache, and the Apache feather logo - are trademarks of The Apache Software Foundation. - Other names appearing on the site may be trademarks of their - respective owners.</small></p> + <a href="http://www.apache.org/">The Apache Software Foundation</a>, + licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>. + <p><small>Apache Incubator, Apache, and the Apache feather logo + are trademarks of The Apache Software Foundation. + Other names appearing on the site may be trademarks of their + respective owners.</small></p> </div> </div> </footer> - </div><!-- /.container --> - - - - <!-- Le javascript - ================================================== --> - <!-- Placed at the end of the document so the pages load faster --> - <script src="js/jquery.js"></script> - <script src="js/bootstrap-transition.js"></script> - <script src="js/bootstrap-alert.js"></script> - <script src="js/bootstrap-modal.js"></script> - <script src="js/bootstrap-dropdown.js"></script> - <script src="js/bootstrap-scrollspy.js"></script> - <script src="js/bootstrap-tab.js"></script> - <script src="js/bootstrap-tooltip.js"></script> - <script src="js/bootstrap-popover.js"></script> - <script src="js/bootstrap-button.js"></script> - <script src="js/bootstrap-collapse.js"></script> - <script src="js/bootstrap-carousel.js"></script> - <script src="js/bootstrap-typeahead.js"></script> - <script> - !function ($) { - $(function(){ - // carousel demo - $('#myCarousel').carousel() - }) - }(window.jQuery) - </script> - <script src="js/holder/holder.js"></script> - <script type="text/javascript"> - function getNextTuesday() { - months = new Array("January","February","March","April","May","June","July","August","September","October","November","December"); - var d = new Date(); - datetoday = d.getDate(); - d.setDate(1); - while (d.getDay() !== 2) { - d.setDate(d.getDate() + 1); - } - - if(datetoday == d.getDate()){ - nexthangout = new Date(d.getTime()); - return "Today"; - } else if(datetoday < d.getDate()){ - nexthangout = new Date(d.getTime()); - } else { - month = d.getMonth() + 1; - d.setDate(1); - d.setMonth(d.getMonth() + 1); - - while (d.getDay() !== 2) { - d.setDate(d.getDate() + 1); - } - nexthangout = new Date(d.getTime()); - } - - return "Next hangout: " + months[nexthangout.getMonth()] + " " + nexthangout.getDate() + getSuffix(nexthangout.getDate()); - } - - function getSuffix(n) { - var d = (n|0)%100; - return d > 3 && d < 21 ? 'th' : ['th', 'st', 'nd', 'rd'][d%10] || 'th'; - }; - - document.getElementById("hangout_date").innerHTML = getNextTuesday(); - </script> </body> </html>
Modified: websites/staging/drill/trunk/content/drill/intro.html ============================================================================== --- websites/staging/drill/trunk/content/drill/intro.html (original) +++ websites/staging/drill/trunk/content/drill/intro.html Sat Aug 9 07:33:27 2014 @@ -1 +1 @@ -<meta http-equiv="refresh" content="0; drill_overview.html" > \ No newline at end of file +<meta http-equiv="refresh" content="0; index.html" >