|
| 1 | +<% var navbar_affixed = navbar_affixed || false; %> |
| 2 | +<% var no_footer = no_footer || false; %> |
| 3 | +<% var narrow_footer = narrow_footer || false; %> |
| 4 | +<!DOCTYPE html> |
| 5 | +<html lang="en"> |
| 6 | + |
| 7 | +<head> |
| 8 | + |
| 9 | + <meta charset="utf-8"> |
| 10 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 12 | + <meta name="description" content=""> |
| 13 | + <meta name="author" content=""> |
| 14 | + |
| 15 | + <title>GeoJS - <%= page.title %></title> |
| 16 | + |
| 17 | + <!-- Bootstrap Core CSS --> |
| 18 | + <%- css("vendor/bootstrap/css/bootstrap.min.css") %> |
| 19 | + |
| 20 | + <!-- Custom Fonts --> |
| 21 | + <%- css("vendor/font-awesome/css/font-awesome.min.css") %> |
| 22 | + <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> |
| 23 | + <link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'> |
| 24 | + <link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'> |
| 25 | + <link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'> |
| 26 | + |
| 27 | + <!-- Theme CSS --> |
| 28 | + <%- css("css/agency.css") %> |
| 29 | + <%- css("css/main.css") %> |
| 30 | + <%- css("css/highlight.css") %> |
| 31 | + |
| 32 | + <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> |
| 33 | + <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> |
| 34 | + <!--[if lt IE 9]> |
| 35 | + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" integrity="sha384-0s5Pv64cNZJieYFkXYOTId2HMA2Lfb6q2nAcx2n0RTLUnCAoTTsS0nKEO27XyKcY" crossorigin="anonymous"></script> |
| 36 | + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js" integrity="sha384-ZoaMbDF+4LeFxg6WdScQ9nnR1QC2MIRxA1O9KWEXQwns1G8UNyIEZIQidzb0T1fo" crossorigin="anonymous"></script> |
| 37 | + <![endif]--> |
| 38 | + |
| 39 | + <!-- jQuery --> |
| 40 | + <%- js("vendor/jquery/jquery.min.js") %> |
| 41 | + |
| 42 | + <!-- Bootstrap Core JavaScript --> |
| 43 | + <%- js("vendor/bootstrap/js/bootstrap.min.js") %> |
| 44 | + |
| 45 | + <link rel="apple-touch-icon" sizes="57x57" href="<%- page_url("favicon/apple-icon-57x57.png") %>"> |
| 46 | + <link rel="apple-touch-icon" sizes="60x60" href="<%- page_url("favicon/apple-icon-60x60.png") %>"> |
| 47 | + <link rel="apple-touch-icon" sizes="72x72" href="<%- page_url("favicon/apple-icon-72x72.png") %>"> |
| 48 | + <link rel="apple-touch-icon" sizes="76x76" href="<%- page_url("favicon/apple-icon-76x76.png") %>"> |
| 49 | + <link rel="apple-touch-icon" sizes="114x114" href="<%- page_url("favicon/apple-icon-114x114.png") %>"> |
| 50 | + <link rel="apple-touch-icon" sizes="120x120" href="<%- page_url("favicon/apple-icon-120x120.png") %>"> |
| 51 | + <link rel="apple-touch-icon" sizes="144x144" href="<%- page_url("favicon/apple-icon-144x144.png") %>"> |
| 52 | + <link rel="apple-touch-icon" sizes="152x152" href="<%- page_url("favicon/apple-icon-152x152.png") %>"> |
| 53 | + <link rel="apple-touch-icon" sizes="180x180" href="<%- page_url("favicon/apple-icon-180x180.png") %>"> |
| 54 | + <link rel="icon" type="image/png" sizes="192x192" href="<%- page_url("favicon/android-icon-192x192.png") %>"> |
| 55 | + <link rel="icon" type="image/png" sizes="32x32" href="<%- page_url("favicon/favicon-32x32.png") %>"> |
| 56 | + <link rel="icon" type="image/png" sizes="96x96" href="<%- page_url("favicon/favicon-96x96.png") %>"> |
| 57 | + <link rel="icon" type="image/png" sizes="16x16" href="<%- page_url("favicon/favicon-16x16.png") %>"> |
| 58 | + <link rel="manifest" href="<%- page_url("favicon/manifest.json") %>"> |
| 59 | + <meta name="msapplication-TileColor" content="#ffffff"> |
| 60 | + <meta name="msapplication-TileImage" content="<%- page_url("favicon/ms-icon-144x144.png") %>"> |
| 61 | + <meta name="theme-color" content="#ffffff"> |
| 62 | +</head> |
| 63 | + |
| 64 | +<body id="page-top" class="index"> |
| 65 | + <!-- Navigation --> |
| 66 | + <nav id="mainNav" class="navbar navbar-default navbar-custom navbar-fixed-top<% if (navbar_affixed){ %> affix<% } %>"> |
| 67 | + <div class="container"> |
| 68 | + <!-- Brand and toggle get grouped for better mobile display --> |
| 69 | + <div class="navbar-header"> |
| 70 | + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> |
| 71 | + <span class="sr-only">Toggle navigation</span><i class="fa fa-bars"></i> |
| 72 | + </button> |
| 73 | + <a class="navbar-brand" href="<%- url_for("/") %>"><img class="navbar-logo" src="<%- url_for("images/logo_transparent.png") %>" /></a> |
| 74 | + </div> |
| 75 | + |
| 76 | + <!-- Collect the nav links, forms, and other content for toggling --> |
| 77 | + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
| 78 | + <ul class="nav navbar-nav navbar-right"> |
| 79 | + <li class="hidden"> |
| 80 | + <a href="#page-top"></a> |
| 81 | + </li> |
| 82 | + <li class="<% if(path === "index.html"){ %> active <% } %>"> |
| 83 | + <a href="<%- page_url("/") %>">Welcome</a> |
| 84 | + </li> |
| 85 | + <li class="<% if(path.indexOf('tutorial')!==-1){ %> active <% } %>"> |
| 86 | + <a href="<%- page_url("tutorials/") %>">Tutorials</a> |
| 87 | + </li> |
| 88 | + <li class="<% if(path.indexOf('example')!==-1){ %> active <% } %>"> |
| 89 | + <a href="<%- page_url("examples/") %>">Examples</a> |
| 90 | + </li> |
| 91 | + <li> |
| 92 | + <a href="<%- page_url("apidocs/") %>">API Docs</a> |
| 93 | + </li> |
| 94 | + <li> |
| 95 | + <a href="https://github.com/OpenGeoscience/geojs">GitHub</a> |
| 96 | + </li> |
| 97 | + </ul> |
| 98 | + </div> |
| 99 | + <!-- /.navbar-collapse --> |
| 100 | + </div> |
| 101 | + <!-- /.container-fluid --> |
| 102 | + </nav> |
| 103 | + |
| 104 | + <div class="content-wrapper"> |
| 105 | + <%- body %> |
| 106 | + </div> |
| 107 | + <% if (!no_footer){ %> |
| 108 | + <footer class="<% if (narrow_footer) { %> narrow<% } %>"> |
| 109 | + <div class="container"> |
| 110 | + <div class="row"> |
| 111 | + <div class="col-sm-3"> |
| 112 | + <ul class="list-inline social-buttons"> |
| 113 | + <li><a href="https://github.com/OpenGeoscience/geojs"><i class="fa fa-github"></i></a> |
| 114 | + </li> |
| 115 | + </ul> |
| 116 | + </div> |
| 117 | + <div class="col-sm-6"> |
| 118 | + <span class="copyright">Licensed under the <a href="https://github.com/OpenGeoscience/geojs/blob/master/LICENSE">Apache License 2.0</a></span> |
| 119 | + </div> |
| 120 | + <div class="col-md-3"> |
| 121 | + <ul class="list-inline quicklinks"> |
| 122 | + <li><a href="https://www.kitware.com">Kitware</a> |
| 123 | + </li> |
| 124 | + </ul> |
| 125 | + </div> |
| 126 | + </div> |
| 127 | + </div> |
| 128 | + </footer> |
| 129 | + <% } %> |
| 130 | + <!-- Theme JavaScript --> |
| 131 | + <%- js("js/agency.js") %> |
| 132 | + |
| 133 | +</body> |
| 134 | + |
| 135 | +</html> |
0 commit comments