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

Side by Side Diff: chrome/common/extensions/docs/templates/private/samples.html

Issue 48263002: list apis by channel info, e.g. dev, stable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use api models Created 7 years, 1 month 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
OLDNEW
1 {{- sidenav: the sidenav bar for either apps or extensions -}} 1 {{- sidenav: the sidenav bar for either apps or extensions -}}
2 {{- filter_list: the list of APIs that show up in the filter box -}} 2 {{- filter_list: the list of APIs that show up in the filter box -}}
3 {{- samples_list: the list of samples shown on the page -}} 3 {{- samples_list: the list of samples shown on the page -}}
4 {{- samples_url: the source URL of the samples -}} 4 {{- samples_url: the source URL of the samples -}}
5 {{- footer: the footer for either apps or extensions -}} 5 {{- footer: the footer for either apps or extensions -}}
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 <html> 7 <html>
8 <head> 8 <head>
9 {{+partials.header_head}} 9 {{+partials.header_head}}
10 <link href="{{static}}/css/samples.css" rel="stylesheet" type="text/css"> 10 <link href="{{static}}/css/samples.css" rel="stylesheet" type="text/css">
11 <title>Sample {{title}} - Google Chrome {{title}}</title> 11 <title>Sample {{title}} - Google Chrome {{title}}</title>
12 </head> 12 </head>
13 <body> 13 <body>
14 {{+partials.header_body}} 14 {{+partials.header_body}}
15 <div id="gc-container"> 15 <div id="gc-container">
16 {{+partials.sidenav items:sidenav}} 16 {{+partials.sidenav items:sidenav}}
17 <div id="gc-pagecontent"> 17 <div id="gc-pagecontent">
18 <h1 class="page_title">Sample {{title}}</h1> 18 <h1 class="page_title">Sample {{title}}</h1>
19 <div id="controls"> 19 <div id="controls">
20 <table class="controlbox"> 20 <table class="controlbox">
21 <tr> 21 <tr>
22 <td class="label">Filter by keyword:</td> 22 <td class="label">Filter by keyword:</td>
23 <td><input autofocus type="search" id="search_input" placeholder=" Type to search"></td> 23 <td><input autofocus type="search" id="search_input" placeholder=" Type to search"></td>
24 </tr> 24 </tr>
25 <tr> 25 <tr>
26 <td class="label">Filter by API:</td> 26 <td class="label">Filter by API:</td>
27 <td> 27 <td>
28 <div id="api_filter_items"> 28 <div id="api_filter_items">
29 {{#filter_list}}{{+partials.filter_item}}{{/}} 29 {{?filter_list.stable}}Stable APIs:{{#filter_list.stable}}{{+p artials.filter_item}}{{/}}{{/}}<br>
30 {{?filter_list.beta}}Beta APIs:{{#filter_list.beta}}{{+partial s.filter_item}}{{/}}{{/}}<br>
31 {{?filter_list.dev}}Dev APIs:{{#filter_list.dev}}{{+partials.f ilter_item}}{{/}}{{/}}
not at google - send to devlin 2013/11/02 00:31:48 I think it's ok having these unfiltered? Just lump
hukun 2013/11/04 11:07:26 Done. Revert to old version.
30 </div> 32 </div>
31 </td> 33 </td>
32 </tr> 34 </tr>
33 </table> 35 </table>
34 </div> 36 </div>
35 {{?samples_list}} 37 {{?samples_list}}
36 {{#samples_list}} 38 {{#samples_list}}
37 {{+partials.sample_item}} 39 {{+partials.sample_item}}
38 {{/samples_list}} 40 {{/samples_list}}
39 {{:samples_list}} 41 {{:samples_list}}
40 <p>There was a problem fetching the sample {{title}}, but they may be 42 <p>There was a problem fetching the sample {{title}}, but they may be
41 available directly from the <a href="{{samples_url}}">source</a>.</p> 43 available directly from the <a href="{{samples_url}}">source</a>.</p>
42 {{/samples_list}} 44 {{/samples_list}}
43 </div> 45 </div>
44 </div> 46 </div>
45 </body> 47 </body>
46 {{+footer}} 48 {{+footer}}
47 <script src="{{static}}/js/samples.js" type="text/javascript"></script> 49 <script src="{{static}}/js/samples.js" type="text/javascript"></script>
48 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698