UNPKG

node-simple-router

Version:

Yet another minimalistic router for node.js

117 lines (103 loc) 8.48 kB
<!DOCTYPE html> <!-- saved from url=(0050)http://getbootstrap.com/examples/navbar-fixed-top/ --> <html lang="en" class=" clickberry-extension clickberry-extension-standalone"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="favicon.ico"> <title>Node Simple Router Test</title> <!-- Bootstrap core CSS --> <link href="/css/bootstrap.css" rel="stylesheet"> <!-- Custom styles for this template --> <link href="/css/main.css" rel="stylesheet"> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/style.css"> <script type="text/javascript" charset="utf-8" src="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/js/page_context.js"> </script> <meta content="clickberry-extension-here"> <style> [touch-action="none"]{ -ms-touch-action: none; touch-action: none; } [touch-action="pan-x"]{ -ms-touch-action: pan-x; touch-action: pan-x; } [touch-action="pan-y"]{ -ms-touch-action: pan-y; touch-action: pan-y; } [touch-action="scroll"],[touch-action="pan-x pan-y"],[touch-action="pan-y pan-x"]{ -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; } </style><script id="clickberry-standalone-script" src="chrome-extension://lfmhcpmkbdkbgbmkjoiopeeegenkdikp/modules/clickberry/ChromeStdInjector.js?v=prod&addonType=fvd"></script><style id="clearly_highlighting_css" type="text/css">/* selection */ html.clearly_highlighting_enabled ::-moz-selection { background: rgba(246, 238, 150, 0.99); } html.clearly_highlighting_enabled ::selection { background: rgba(246, 238, 150, 0.99); } /* cursor */ html.clearly_highlighting_enabled { /* cursor and hot-spot position -- requires a default cursor, after the URL one */ cursor: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--cursor.png") 14 16, text; } /* highlight tag */ em.clearly_highlight_element { font-style: inherit !important; font-weight: inherit !important; background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--yellow.png"); background-repeat: repeat-x; background-position: top left; background-size: 100% 100%; } /* the delete-buttons are positioned relative to this */ em.clearly_highlight_element.clearly_highlight_first { position: relative; } /* delete buttons */ em.clearly_highlight_element a.clearly_highlight_delete_element { display: none; cursor: pointer; padding: 0; margin: 0; line-height: 0; position: absolute; width: 34px; height: 34px; left: -17px; top: -17px; background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--delete-sprite.png"); background-repeat: no-repeat; background-position: 0px 0px; } em.clearly_highlight_element a.clearly_highlight_delete_element:hover { background-position: -34px 0px; } /* retina */ @media (min--moz-device-pixel-ratio: 2), (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) { em.clearly_highlight_element { background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--yellow@2x.png"); } em.clearly_highlight_element a.clearly_highlight_delete_element { background-image: url("chrome-extension://pioclpoplcdbaefihamjohnefbikjilc/clearly/images/highlight--delete-sprite@2x.png"); background-size: 68px 34px; } } </style></head> <body style=""> <!--<a href="http://github.com/sandy98/node-simple-router" target="blank">--> <img src="/img/forkme_right_red_aa0000.png" style="position: absolute; right: 0; top: 0; z-index: 98000; border: none;" /> <!--</a>--> <span id="forkongithub"><a target= "_blank" href="https://github.com/sandy98/node-simple-router">Fork me on GitHub</a></span> <!-- Fixed navbar --> <div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand {{home_active}} nsr" style="color: #ff0000;" href="/">Node Simple Router</a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li class="{{home_active}}"><a href="/">Home</a></li> <li class="{{getting_started_active}}"><a href="/getting_started">Getting Started</a></li> <li class="{{documentation_active}}"><a href="/documents">Documents</a></li> <li class="{{changelog_active}}"><a href="/changelog">ChangeLog</a></li> <li class="{{license_active}}"><a href="/license">License</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Usage Examples <b class="caret"></b></a> <ul class="dropdown-menu"> <li class="dropdown-header">Dynamic (node generated) Contents Examples</li> <li><a href="/hello_world">&lt; Hello World &gt; goes first, of course!</a></li> <li><a href="/teams">POST through Form Example</a></li> <li><a href="/agents/86">Get Smart! (Parameterized URL Example)</a></li> <li><a href="/uploads_form">File uploads handling</a></li> <li><a href="/templates">Template Example</a></li> <li><a href="/gallery">Gallery Example (Uses Images Directory)</a></li> <li><a href="/session">Session Handling</a></li> <li class="divider"></li> <li class="dropdown-header">Dynamic Contents generated by NSR complementary methods</li> <li><a href="/wimi">What is my IP? (Proxy pass example)</a></li> <li class="divider"></li> <li class="dropdown-header">CGI - SCGI</li> <li><a href="/cgitest">Various CGI programs</a></li> <li><a href="/scgitest">Python SCGI program</a></li> <li class="divider"></li> <li class="dropdown-header">Real Time Examples (New in v0.9.0)</li> <li><a href="/sillychat">Simple Chat Room - WebSockets with ad-hoc protocol</a></li> <li><a href="/wampchat">Wamp Chat Room - Uses Web Application Messaging Protocol</a></li> <li class="divider"></li> <li class="dropdown-header">Static Contents Examples</li> <li><a href="/img">Images Directory</a></li> <li><a href="/uploads">Users Uploads Directory</a></li> <li><a href="/img/wizard.jpg">Cute Wizard (Image Magick courtesy)</a></li> </ul> </li> <li class="{{wiki_active}}"><a target="_blank" href="https://github.com/sandy98/node-simple-router/wiki/_pages">Wiki</a></li> <li class="{{about_active}}"><a href="/about">About</a></li> </ul> <!--<ul class="nav navbar-nav navbar-right"> <li><a href="http://getbootstrap.com/examples/navbar/">Default</a></li> <li><a href="http://getbootstrap.com/examples/navbar-static-top/">Static top</a></li> <li class="active"><a href="./layout_files/layout.html">Fixed top</a></li> </ul>--> </div><!--/.nav-collapse --> </div> </div> <div class="container router"> {{& contents }} </div> <!-- /container --> <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="/js/jquery-1.10.2.min.js"></script> <script src="/js/bootstrap.min.js"></script> </body> </html>