Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
238 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>nools</title> | ||
<link rel="stylesheet" href="./assets/css/bootstrap.css"> | ||
<link rel="stylesheet" href="./assets/css/prettify.css"> | ||
<style type="text/css"> | ||
|
||
|
||
/*.subnav-inner {*/ | ||
/*width: 100%;*/ | ||
/*height: 36px;*/ | ||
/*background-color: #EEE;*/ | ||
/*background-repeat: repeat-x;*/ | ||
/*background-image: -moz-linear-gradient(top, whiteSmoke 0%, #EEE 100%);*/ | ||
/*background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, whiteSmoke), color-stop(100%, #EEE));*/ | ||
/*background-image: -webkit-linear-gradient(top, whiteSmoke 0%, #EEE 100%);*/ | ||
/*background-image: -ms-linear-gradient(top, whiteSmoke 0%, #EEE 100%);*/ | ||
/*background-image: -o-linear-gradient(top, whiteSmoke 0%, #EEE 100%);*/ | ||
/*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f5f5f5', endColorstr = '#eeeeee', GradientType = 0);*/ | ||
/*background-image: linear-gradient(top, whiteSmoke 0%, #EEE 100%);*/ | ||
/*-webkit-border-radius: 4px;*/ | ||
/*-moz-border-radius: 4px;*/ | ||
/*border-radius: 4px;*/ | ||
/*}*/ | ||
|
||
/*.subnav .nav > li > a:hover {*/ | ||
/*color: black !important;*/ | ||
/*}*/ | ||
|
||
/*.subnav .nav li.dropdown .dropdown-toggle .caret,*/ | ||
/*.subnav .nav li.dropdown.open .caret {*/ | ||
/*border-top-color: #999 !important;*/ | ||
/*border-bottom-color: #999 !important;*/ | ||
/*}*/ | ||
|
||
/*.subnav-fixed {*/ | ||
/*position: fixed;*/ | ||
/*width : 90%;*/ | ||
/*margin-right: auto;*/ | ||
/*margin-left: auto;*/ | ||
/*top: 40px;*/ | ||
/*left: 0;*/ | ||
/*right: 0;*/ | ||
/*z-index: 1020;*/ | ||
/*border-color: #D5D5D5;*/ | ||
/*border-width: 0 0 1px;*/ | ||
/*-webkit-border-radius: 0;*/ | ||
/*-moz-border-radius: 0;*/ | ||
/*border-radius: 0;*/ | ||
/*-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);*/ | ||
/*-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);*/ | ||
/*box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);*/ | ||
/*filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);*/ | ||
/*}*/ | ||
|
||
/*.navbar .nav .dropdown-menu {*/ | ||
/*max-height: 500px;*/ | ||
/*overflow: auto;*/ | ||
/*}*/ | ||
|
||
</style> | ||
<style type="text/css"> | ||
body { | ||
padding: 90px; | ||
} | ||
|
||
.subnav{ | ||
margin-top: 40px; | ||
margin-right: auto; | ||
margin-left: auto; | ||
z-index: 1000; | ||
} | ||
|
||
@media (max-width:979px) { | ||
.subnav{ | ||
margin-top: auto; | ||
} | ||
} | ||
</style> | ||
<link rel="stylesheet" href="./assets/css/bootstrap-responsive.css"> | ||
<script type="text/javascript"> | ||
var init = (function () { | ||
"use strict"; | ||
|
||
var processScroll = (function () { | ||
var curr = null, prev = null; | ||
return function (nav) { | ||
var $win = $(window); | ||
$('.subnav').each(function () { | ||
var nav = $(this); | ||
var navTop = $win.width() < 980 ? 0 : nav.offset().top - 40; | ||
|
||
var scrollTop = $win.scrollTop(); | ||
if (scrollTop >= navTop && curr != nav) { | ||
if(curr){ | ||
curr.removeClass('subnav-fixed') | ||
prev = curr; | ||
} | ||
curr = nav; | ||
curr.addClass('subnav-fixed') | ||
} else if (curr == nav && scrollTop <= navTop) { | ||
curr.removeClass('subnav-fixed'); | ||
prev.addClass('subnav-fixed'); | ||
curr = prev; | ||
}else{ | ||
nav.removeClass('subnav-fixed'); | ||
} | ||
}); | ||
}; | ||
})(); | ||
|
||
return function () { | ||
window.prettyPrint && prettyPrint(); | ||
$(".collapse").collapse(); | ||
var $window = $(window); | ||
//$(".subnav").affix (); | ||
// fix sub nav on scroll | ||
// processScroll(); | ||
// $(window).on('scroll', processScroll) | ||
} | ||
})(); | ||
</script> | ||
</head> | ||
<body onload="init()"> | ||
<div class="navbar navbar-fixed-top navbar-inverse"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
<a 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> | ||
</a> | ||
|
||
<a href="./index.html" class="brand">nools</a> | ||
|
||
<div class="nav-collapse"> | ||
<ul class="nav"> | ||
|
||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs<b class="caret"></b></a> | ||
<ul class="dropdown-menu"> | ||
|
||
<li><a href="./History.html">Change Log</a></li> | ||
|
||
</ul> | ||
|
||
|
||
|
||
|
||
</ul> | ||
|
||
<ul class="nav pull-right"> | ||
|
||
<li class="divider-vertical"></li> | ||
<li><a href="https://github.com/C2FO/nools" target="#github" class="pull-right">github</a></li> | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div class="container-fluid"> | ||
<a name="top"></a> | ||
<div class="container"> | ||
|
||
|
||
|
||
<h1>0.0.4 / 2012-09-10</h1> | ||
<ul> | ||
<li>Added travis CI</li> | ||
</ul> | ||
<h1>0.0.3 / 2012-09-06</h1> | ||
<ul> | ||
<li>Updates for repo rename</li> | ||
<li>code clean up</li> | ||
</ul> | ||
<h1>0.0.2 / 2012-05-22</h1> | ||
<ul> | ||
<li>Increased performance<ul> | ||
<li>Manners benchmark 800%</li> | ||
</ul> | ||
</li> | ||
<li>Added Parser for nools DSL</li> | ||
<li>More helper functions</li> | ||
<li>Updated readme</li> | ||
</ul> | ||
|
||
<hr> | ||
|
||
|
||
<h2>License</h2> | ||
<p>MIT <a href="https://github.com/C2FO/nools/raw/master/LICENSE">https://github.com/C2FO/nools/raw/master/LICENSE</a> | ||
|
||
</p> | ||
<h2>Meta</h2> | ||
<p>Code: <code>git clone git://github.com/C2FO/nools.git</code></p> | ||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
<script type="text/javascript" src="./assets/js/jquery.js"></script> | ||
<script type="text/javascript" src="./assets/js/bootstrap.min.js"></script> | ||
<script type="text/javascript" src="./assets/js/prettify.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
0.0.2 / 2012-05-22 | ||
================== | ||
|
||
* Increased performance | ||
* Manners benchmark 800% | ||
* Added Parser for nools DSL | ||
* More helper functions | ||
* Updated readme | ||
#0.0.4 / 2012-09-10 | ||
* Added travis CI | ||
|
||
#0.0.3 / 2012-09-06 | ||
* Updates for repo rename | ||
* code clean up | ||
|
||
|
||
#0.0.2 / 2012-05-22 | ||
* Increased performance | ||
* Manners benchmark 800% | ||
* Added Parser for nools DSL | ||
* More helper functions | ||
* Updated readme | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters