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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 {{- This is the template for every page on the site. 1 {{- This is the template for every page on the site.
2 - |platform| The platform. 2 - |platform| The platform.
3 - |platformTitle| The title of the platform ("Extensions" or "Apps"). 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. 4 - |content| The main content of the page.
6 -}} 5 -}}
7 <!DOCTYPE html> 6 <!DOCTYPE html>
8 <html> 7 <html>
9 <head> 8 <head>
10 <title>$(title) - Google Chrome</title> 9 <meta charset="utf-8" />
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
12 <meta name="HandheldFriendly" content="True">
13 <meta name="MobileOptimized" content="320">
14 <meta name="viewport" content="width=device-width, initial-scale=1.0">
15 <meta http-equiv="cleartype" content="on">
16 <link type="image/ico" rel="icon" href="//www.google.com/images/icons/produc t/chrome-32.png">
17
12 <link href="{{static}}/css/site.css" rel="stylesheet" type="text/css"> 18 <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"> 19 <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"> 20 <link href="{{static}}/css/prettify.css" rel="stylesheet" type="text/css">
15 <link href='//fonts.googleapis.com/css?family=Open+Sans:400,700' rel='styles heet' type='text/css'> 21 <link href='//fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+ Pro' rel='stylesheet' type='text/css'>
16 <script> 22
17 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function( ){ 23 <script>
18 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement (o), 24 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
19 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore (a,m) 25 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
20 })(window,document,'script','//www.google-analytics.com/analytics.js','ga' ); 26 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m )
21 ga('create', 'UA-41980257-1'); 27 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
22 ga('send', 'pageview'); 28
23 </script> 29 ga('create', 'UA-41980257-1');
30 ga('send', 'pageview');
31
32 </script>
33
34 <title>$(title) - Google Chrome</title>
24 </head> 35 </head>
25 36
26 <body> 37 <body>
27 <div id="gc-topnav"> 38 <div id="gc-container">
28 <table><tr> 39 <a href="#gc-pagecontent" class="element-invisible element-focusable">Skip t o main content</a>
29 <td id="chrome-logo"> 40
30 <a href="{{base_path}}{{platform}}s/" title="Google Chrome {{platformTit le}}"> 41 <header id="topnav" role="banner">
31 <img src="{{static}}/images/chrome-logo.png" alt=""> chrome 42 <div id="logo">
32 </a> 43 <a href="/"><img src="{{static}}/images/chrome-logo_2x.png" alt="Chrome: developer"><span>chrome</span><!-- <label>developer</label> --></a>
33 <div id="platform-chooser"> 44 <span class="collase-icon"><!-- <img src="/static/images/burger-icon.png " class="collase-icon">--></span>
34 <button id="platform-chooser-toggle" data-menu="platform-chooser-popup "> 45 </div>
35 {{platform}}s &#x25be;&#x202F; 46 {{+partials.fatnav items:sidenavs.top/}}
36 </button> 47 </header>
37 <div id="platform-chooser-popup"> 48
38 <button class="apps" data-href="/apps/about_apps.html">apps</button> 49 <main id="gc-pagecontent" role="main">
39 <button class="extensions" data-href="/extensions">extensions</butto n> 50
51 {{- This is unindented because it may contain whitespace-sensitive tags. -}}
52 {{+content /}}
53 </main>
54
55 <footer id="gc-footer" role="contentinfo" class="span-full">
56 <div class="g-section g-tpl-50-50">
57 <div class="g-unit g-first">
58 <nav class="links">
59 <a href="https://www.google.com/">Google</a><a href="https://develop ers.google.com/site-terms">Terms of Service</a><a href="http://www.google.com/in tl/en/privacy/">Privacy Policy</a><a href="" data-feedback>Report a bug</a>
60 </nav>
61 </div>
62 <div class="g-unit g-last">
63 <div id="social-buttons">
64 <div data-size="small" data-href="http://www.google.com/chrome" data -annotation="bubble" class="g-plusone"></div>
65 <a rel="publisher" target="_blank" href="https://plus.google.com/+Go ogleChromeDevelopers?prsrc=3" data-g-label="plus" data-g-event="nav-subfooter">A dd us on <span class="element-invisible">Google+</span><img src="//ssl.gstatic.c om/images/icons/gplus-16.png" data-g-label="plus" data-g-event="nav-subfooter" a lt=""></a>
40 </div> 66 </div>
41 </div> 67 </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-{{pl atform}}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}}/in fo"
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>
68 <div id="gc-pagecontent"> 69 </footer>
69 {{- This is unindented because it may contain whitespace-sensitive tags. -}} 70
70 {{+content /}} 71 </div>
71 </div> 72
72 </div> 73 <script src="{{static}}/js/fatnav.js"></script>
74 <script src="{{static}}/js/article.js"></script>
75 <script src="{{static}}/js/prettify.js"></script>
76 <script src="{{static}}/js/search.js"></script>
77 <script src="//www.gstatic.com/feedback/api.js"></script>
78 <script src="{{static}}/js/site.js"></script>
73 </body> 79 </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#restri ctions">noted</a>,
81 the content of this page is licensed under the <a rel="license" href="ht tp://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">B SD License</a>.
84 </p>
85 <p>
86 ©2013 Google
87 </p>
88 <script src="{{static}}/js/platform_chooser.js" type="text/javascript"></s cript>
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"></s cript>
115 <script type="text/javascript">
116 (function() {
117 document.getElementById('send-feedback').addEventListener('click', func tion() {
118 userfeedback.api.startFeedback({ productId: 86265 });
119 });
120 })();
121 </script>
122 </div>
123 </div>
124 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698