website/layouts/header.html (205 lines of code) (raw):

<head> <meta charset="utf-8"> <title>Apache Usergrid — <%= @item[:title] %></title> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service"> <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." /> <meta property="og:title" content="Apache Usergrid" /> <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." /> <!-- Loading Typekit --> <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script> <script type="text/javascript">try{Typekit.load();}catch(e){}</script> <!-- Loading Bootstrap --> <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'> <link href="/css/bootflat.css" rel="stylesheet" type='text/css'> <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'> <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css"> <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'> <% if @community == true %> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBYSxyIKS22zC4wSLFXZGR8QKXbGWLFwYw&sensor=false"> </script> <script type="text/javascript"> var points = [ new google.maps.LatLng(-33.8674869,151.2069902), new google.maps.LatLng(40.2338438,-111.6585337), new google.maps.LatLng(37.6909682,-122.3107517), new google.maps.LatLng(-37.6825027,176.1880232), new google.maps.LatLng(-0.023559,37.906193), new google.maps.LatLng(41.00527,28.97696), new google.maps.LatLng(47.1569444,27.5902778), new google.maps.LatLng(49.261226,-123.1139268), new google.maps.LatLng(55.378051,-3.435973), new google.maps.LatLng(30.3321838,-81.65565099999999), new google.maps.LatLng(30.267153,-97.7430608), new google.maps.LatLng(-14.235004,-51.92528), new google.maps.LatLng(41.76371109999999,-72.6850932), new google.maps.LatLng(53.3498053,-6.2603097), new google.maps.LatLng(-37.814107,144.96328), new google.maps.LatLng(26.820553,30.802498), new google.maps.LatLng(34.0522342,-118.2436849), new google.maps.LatLng(37.566535,126.9779692), new google.maps.LatLng(7.873053999999999,80.77179699999999), new google.maps.LatLng(39.737567,-104.9847179), new google.maps.LatLng(52.9399159,-73.5491361), new google.maps.LatLng(40.7143528,-74.00597309999999), new google.maps.LatLng(44.9374831,-93.20099979999999), new google.maps.LatLng(38.963745,35.243322), new google.maps.LatLng(35.7795897,-78.6381787), new google.maps.LatLng(35.907757,127.766922), new google.maps.LatLng(-6.2689913,106.8060388), new google.maps.LatLng(27.3364347,-82.53065269999999), new google.maps.LatLng(44.494887,11.3426163), new google.maps.LatLng(39.952335,-75.16378900000001), new google.maps.LatLng(37.09024,-95.712891), new google.maps.LatLng(40.5852602,-105.084423), new google.maps.LatLng(43.653226,-79.3831843), new google.maps.LatLng(47.6062095,-122.3320708), new google.maps.LatLng(31.046051,34.851612), new google.maps.LatLng(51.41233,-0.300689), new google.maps.LatLng(39.4699075,-0.3762881), new google.maps.LatLng(51.51121389999999,-0.1198244), new google.maps.LatLng(42.3556899,-83.361853), new google.maps.LatLng(33.4483771,-112.0740373), new google.maps.LatLng(45.5234515,-122.6762071), new google.maps.LatLng(43.0730517,-89.4012302), new google.maps.LatLng(36.1031378,-80.202394), new google.maps.LatLng(37.7749295,-122.4194155), new google.maps.LatLng(5.263234100000001,100.4846227), new google.maps.LatLng(35.5950581,-82.5514869), new google.maps.LatLng(35.86166,104.195397), new google.maps.LatLng(34.4208305,-119.6981901), new google.maps.LatLng(1.352083,103.819836), new google.maps.LatLng(36.8507689,-76.28587259999999), new google.maps.LatLng(22.396428,114.109497), new google.maps.LatLng(48.856614,2.3522219), new google.maps.LatLng(40.4167754,-3.7037902), new google.maps.LatLng(18.5204303,73.8567437), new google.maps.LatLng(36.1666667,-86.7833333), new google.maps.LatLng(53.3498053,-6.2603097), new google.maps.LatLng(26.0993883,-80.1343301), new google.maps.LatLng(42.331427,-83.0457538), new google.maps.LatLng(37.82206000000001,-122.272437), new google.maps.LatLng(30.42130899999999,-87.2169149), new google.maps.LatLng(44.4325,26.1038889), new google.maps.LatLng(41.0700485,-81.49516210000002), new google.maps.LatLng(12.9715987,77.5945627), new google.maps.LatLng(53.41291,-8.24389), new google.maps.LatLng(34.0583995,-106.8914159), new google.maps.LatLng(-9.189967,-75.015152), new google.maps.LatLng(55.6760968,12.5683371), new google.maps.LatLng(53.9807737,-6.7148821), new google.maps.LatLng(31.230416,121.473701), new google.maps.LatLng(33.7489954,-84.3879824), new google.maps.LatLng(8.4874949,76.948623), new google.maps.LatLng(13.0524139,80.25082460000002), new google.maps.LatLng(28.0836269,-80.60810889999999), new google.maps.LatLng(39.0457549,-76.64127119999999), new google.maps.LatLng(17.385044,78.486671), new google.maps.LatLng(-23.5489433,-46.6388182), new google.maps.LatLng(52.09179,5.114569899999999), new google.maps.LatLng(19.2667,76.7833), new google.maps.LatLng(19.0759837,72.8776559), new google.maps.LatLng(12.9715987,77.5945627), new google.maps.LatLng(41.1566892,-8.6239254), new google.maps.LatLng(39.90403,116.407526), new google.maps.LatLng(42.3584308,-71.0597732), new google.maps.LatLng(32.725409,-97.3208496), new google.maps.LatLng(39.074208,21.824312), new google.maps.LatLng(10.066049,123.538599), new google.maps.LatLng(37.42410599999999,-122.1660756), new google.maps.LatLng(36.204824,138.252924) ]; var map; var markers = []; var iterator = 0; var dropped = false; var recentered = false; function initialize() { var mapOptions = { center: new google.maps.LatLng(0,0), //draggable: false, //zoomControl: false, scrollwheel: false, streetViewControl: false, mapTypeControl: false, panControl: false, //disableDoubleClickZoom: true, zoom: 2, //disableDefaultUI: true, mapTypeId: google.maps.MapTypeId.ROADMAP }; map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions); google.maps.event.addDomListener(map, 'idle', function() { if (recentered == false) { map.setCenter(new google.maps.LatLng(20,0)); recentered = true; } }); var bounds = new google.maps.LatLngBounds(); // Extend bounds with each point for (var i = 0; i < points.length; i++) { bounds.extend(points[i]); } map.fitBounds(bounds); if (document.hasFocus()) { dropped = true; drop(); } } function drop() { dropped = true; for (var i = 0; i < points.length; i++) { setTimeout(function() { addMarker(); }, i * 50); } } function addMarker() { markers.push(new google.maps.Marker({ position: points[iterator], map: map, draggable: false, animation: google.maps.Animation.DROP })); iterator++; } google.maps.event.addDomListener(window, 'load', initialize); window.onfocus = function () { if (dropped == false) { drop(); } }; </script> <% end %> <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. --> <!--[if lt IE 9]> <script src="js/html5shiv.js"></script> <script src="js/respond.min.js"></script> <![endif]--> </head> <body> <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav <%= 'secondary' if @docs or @community %>" role="banner"> <div class="container"> <div class="navbar-header"> <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-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> </div> <a href="/" class="navbar-brand"> <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" /> </a> <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation"> <ul class="nav navbar-nav navbar-right"> <li class="<%= 'active' if @community %>"><a href="/community/"><span class="icns icon-group"></span></a></li> <li><a href="/docs" target="_blank"><span class="icns icon-book"></span></a></li> <li><a href="http://github.com/apache/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li> <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>--> <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li> <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li> <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li> <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>--> <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li> <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li> <li><a href="/releases/"><span class="icns icon-releases"></span></a></li> </ul> </nav> </div> </header>