1 {{- This is the template for every page on the site. 2 - |platform| The platform. 3 - |platformTitle| The title of the platform ("Extensions" or "Apps"). 4 - |sidenav| The navigation content on the left of the page. 5 - |content| The main content of the page. 6 -}} 7 <!DOCTYPE html> 8 <html> 9 <head> 10 <title>$(title) - Google Chrome</title> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 12 <link href="{{static}}/css/site.css" rel="stylesheet" type="text/css"> 13 <link href="{{static}}/css/print.css" rel="stylesheet" type="text/css" media="print"> 14 <link href="{{static}}/css/prettify.css" rel="stylesheet" type="text/css"> 15 <link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> 16 <script> 17 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 18 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 19 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 20 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 21 ga('create', 'UA-41980257-1'); 22 ga('send', 'pageview'); 23 </script> 24 </head> 25 26 <body> 27 <div id="gc-topnav"> 28 <table><tr> 29 <td id="chrome-logo"> 30 <a href="{{base_path}}{{platform}}s/" title="Google Chrome {{platformTitle}}"> 31 <img src="{{static}}/images/chrome-logo.png" alt=""> chrome 32 </a> 33 <div id="platform-chooser"> 34 <button id="platform-chooser-toggle" data-menu="platform-chooser-popup"> 35 {{platform}}s ▾  36 </button> 37 <div id="platform-chooser-popup"> 38 <button class="apps" data-href="/apps/about_apps.html">apps</button> 39 <button class="extensions" data-href="/extensions">extensions</button> 40 </div> 41 </div> 42 </td> 43 <td> 44 <ul> 45 <li> 46 <a href="{{base_path}}{{platform}}s/samples.html" 47 title="Sample {{platformTitle}} (with source code)">Samples</a> 48 </li> 49 <li> 50 <a href="http://groups.google.com/a/chromium.org/group/chromium-{{platform}}s" 51 title="Google Chrome {{platformTitle}} developer forum" 52 target="_blank">Group</a> 53 </li> 54 <li> 55 <a href="http://stackoverflow.com/tags/google-chrome-{{platform}}/info" 56 title="[google-chrome-{{platform}}] tag on Stack Overflow" 57 target="_blank">Stack overflow</a> 58 </li> 59 </ul> 60 </td> 61 </tr></table> 62 </div> 63 <div id="gc-topnav-space"></div> 64 <div id="gc-container"> 65 <div id="gc-sidebar"> 66 {{+partials.sidenav_items items:sidenav /}} 67 </div> 68 <div id="gc-pagecontent"> 69 {{- This is unindented because it may contain whitespace-sensitive tags. -}} 70 {{+content /}} 71 </div> 72 </div> 73 </body> 74 75 <div id="gc-footer"> 76 <button class="google-button" id="scroll-to-top"></button> 77 <button class="google-button" id="send-feedback">Send Feedback</button> 78 <div class="text"> 79 <p> 80 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>, 81 the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 82 Attribution 3.0 License</a>, and code samples are licensed under the 83 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. 84 </p> 85 <p> 86 2013 Google 87 </p> 88 <script src="{{static}}/js/platform_chooser.js" type="text/javascript"></script> 89 <script src="{{static}}/js/popup.js" type="text/javascript"></script> 90 <script src="{{static}}/js/prettify.js" type="text/javascript"></script> 91 <script src="{{static}}/js/scroll.js" type="text/javascript"></script> 92 <script src="{{static}}/js/sidebar.js" type="text/javascript"></script> 93 <script src="{{static}}/js/tabs.js" type="text/javascript"></script> 94 <script> 95 (function() { 96 // Auto syntax highlight all pre tags. 97 var preElements = document.getElementsByTagName('pre'); 98 for (var i = 0; i < preElements.length; i++) { 99 var preElement = preElements[i]; 100 preElement.classList.add('prettyprint'); 101 var datasetFilename = preElement.getAttribute('data-filename'); 102 if (datasetFilename) { 103 var filename = document.createElement('div'); 104 filename.className = 'filename nocode'; 105 filename.textContent = datasetFilename; 106 preElement.insertBefore(filename, preElement.firstChild); 107 } 108 } 109 prettyPrint(); 110 })(); 111 </script> 112 113 <!-- Feedback. --> 114 <script type="text/javascript" src="//www.gstatic.com/feedback/api.js"></script> 115 <script type="text/javascript"> 116 (function() { 117 document.getElementById('send-feedback').addEventListener('click', function() { 118 userfeedback.api.startFeedback({ productId: 86265 }); 119 }); 120 })(); 121 </script> 122 </div> 123 </div> 124 </html> 125