Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1377)

Unified Diff: chrome/common/extensions/docs/templates/private/site.html

Issue 102593005: Clean patch with DCC static content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests for sidenav_data_source Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/private/site.html
diff --git a/chrome/common/extensions/docs/templates/private/site.html b/chrome/common/extensions/docs/templates/private/site.html
index 66441c16bcce4127093a06163a6a8f807d660e08..d190576bb666ae8dad0b2de08dec3c60df4194fe 100644
--- a/chrome/common/extensions/docs/templates/private/site.html
+++ b/chrome/common/extensions/docs/templates/private/site.html
@@ -1,124 +1,80 @@
{{- This is the template for every page on the site.
- |platform| The platform.
- |platformTitle| The title of the platform ("Extensions" or "Apps").
- - |sidenav| The navigation content on the left of the page.
- |content| The main content of the page.
-}}
<!DOCTYPE html>
<html>
<head>
- <title>$(title) - Google Chrome</title>
+ <meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="HandheldFriendly" content="True">
+ <meta name="MobileOptimized" content="320">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="cleartype" content="on">
+ <link type="image/ico" rel="icon" href="//www.google.com/images/icons/product/chrome-32.png">
+
<link href="{{static}}/css/site.css" rel="stylesheet" type="text/css">
<link href="{{static}}/css/print.css" rel="stylesheet" type="text/css" media="print">
<link href="{{static}}/css/prettify.css" rel="stylesheet" type="text/css">
- <link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-41980257-1');
- ga('send', 'pageview');
- </script>
+ <link href='//fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro' rel='stylesheet' type='text/css'>
+
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-41980257-1');
+ ga('send', 'pageview');
+
+</script>
+
+ <title>$(title) - Google Chrome</title>
</head>
<body>
- <div id="gc-topnav">
- <table><tr>
- <td id="chrome-logo">
- <a href="{{base_path}}{{platform}}s/" title="Google Chrome {{platformTitle}}">
- <img src="{{static}}/images/chrome-logo.png" alt=""> chrome
- </a>
- <div id="platform-chooser">
- <button id="platform-chooser-toggle" data-menu="platform-chooser-popup">
- {{platform}}s &#x25be;&#x202F;
- </button>
- <div id="platform-chooser-popup">
- <button class="apps" data-href="/apps/about_apps.html">apps</button>
- <button class="extensions" data-href="/extensions">extensions</button>
- </div>
- </div>
- </td>
- <td>
- <ul>
- <li>
- <a href="{{base_path}}{{platform}}s/samples.html"
- title="Sample {{platformTitle}} (with source code)">Samples</a>
- </li>
- <li>
- <a href="http://groups.google.com/a/chromium.org/group/chromium-{{platform}}s"
- title="Google Chrome {{platformTitle}} developer forum"
- target="_blank">Group</a>
- </li>
- <li>
- <a href="http://stackoverflow.com/tags/google-chrome-{{platform}}/info"
- title="[google-chrome-{{platform}}] tag on Stack Overflow"
- target="_blank">Stack overflow</a>
- </li>
- </ul>
- </td>
- </tr></table>
- </div>
- <div id="gc-topnav-space"></div>
<div id="gc-container">
- <div id="gc-sidebar">
- {{+partials.sidenav_items items:sidenav /}}
+ <a href="#gc-pagecontent" class="element-invisible element-focusable">Skip to main content</a>
+
+ <header id="topnav" role="banner">
+ <div id="logo">
+ <a href="/"><img src="{{static}}/images/chrome-logo_2x.png" alt="Chrome: developer"><span>chrome</span><!-- <label>developer</label> --></a>
+ <span class="collase-icon"><!-- <img src="/static/images/burger-icon.png" class="collase-icon">--></span>
</div>
- <div id="gc-pagecontent">
+ {{+partials.fatnav items:sidenavs.top/}}
+ </header>
+
+ <main id="gc-pagecontent" role="main">
+
{{- This is unindented because it may contain whitespace-sensitive tags. -}}
{{+content /}}
- </div>
- </div>
- </body>
+ </main>
- <div id="gc-footer">
- <button class="google-button" id="scroll-to-top">↑</button>
- <button class="google-button" id="send-feedback">Send Feedback</button>
- <div class="text">
- <p>
- Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>,
- the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
- Attribution 3.0 License</a>, and code samples are licensed under the
- <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>.
- </p>
- <p>
- ©2013 Google
- </p>
- <script src="{{static}}/js/platform_chooser.js" type="text/javascript"></script>
- <script src="{{static}}/js/popup.js" type="text/javascript"></script>
- <script src="{{static}}/js/prettify.js" type="text/javascript"></script>
- <script src="{{static}}/js/scroll.js" type="text/javascript"></script>
- <script src="{{static}}/js/sidebar.js" type="text/javascript"></script>
- <script src="{{static}}/js/tabs.js" type="text/javascript"></script>
- <script>
- (function() {
- // Auto syntax highlight all pre tags.
- var preElements = document.getElementsByTagName('pre');
- for (var i = 0; i < preElements.length; i++) {
- var preElement = preElements[i];
- preElement.classList.add('prettyprint');
- var datasetFilename = preElement.getAttribute('data-filename');
- if (datasetFilename) {
- var filename = document.createElement('div');
- filename.className = 'filename nocode';
- filename.textContent = datasetFilename;
- preElement.insertBefore(filename, preElement.firstChild);
- }
- }
- prettyPrint();
- })();
- </script>
+ <footer id="gc-footer" role="contentinfo" class="span-full">
+ <div class="g-section g-tpl-50-50">
+ <div class="g-unit g-first">
+ <nav class="links">
+ <a href="https://www.google.com/">Google</a><a href="https://developers.google.com/site-terms">Terms of Service</a><a href="http://www.google.com/intl/en/privacy/">Privacy Policy</a><a href="" data-feedback>Report a bug</a>
+ </nav>
+ </div>
+ <div class="g-unit g-last">
+ <div id="social-buttons">
+ <div data-size="small" data-href="http://www.google.com/chrome" data-annotation="bubble" class="g-plusone"></div>
+ <a rel="publisher" target="_blank" href="https://plus.google.com/+GoogleChromeDevelopers?prsrc=3" data-g-label="plus" data-g-event="nav-subfooter">Add us on <span class="element-invisible">Google+</span><img src="//ssl.gstatic.com/images/icons/gplus-16.png" data-g-label="plus" data-g-event="nav-subfooter" alt=""></a>
+ </div>
+ </div>
+ </div>
+ </footer>
- <!-- Feedback. -->
- <script type="text/javascript" src="//www.gstatic.com/feedback/api.js"></script>
- <script type="text/javascript">
- (function() {
- document.getElementById('send-feedback').addEventListener('click', function() {
- userfeedback.api.startFeedback({ productId: 86265 });
- });
- })();
- </script>
- </div>
</div>
+
+ <script src="{{static}}/js/fatnav.js"></script>
+ <script src="{{static}}/js/article.js"></script>
+ <script src="{{static}}/js/prettify.js"></script>
+ <script src="{{static}}/js/search.js"></script>
+ <script src="//www.gstatic.com/feedback/api.js"></script>
+ <script src="{{static}}/js/site.js"></script>
+ </body>
</html>

Powered by Google App Engine
This is Rietveld 408576698