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

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

Issue 10809062: Extensions Docs Server: Samples search and icons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 4 months 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 {{+partials.header_head}} 4 {{+partials.header_head}}
5 <link href="{{static}}/css/samples.css" rel="stylesheet" type="text/css">
5 </head> 6 </head>
6 <body> 7 <body>
7 {{+partials.header_body}} 8 {{+partials.header_body}}
8 <div id="gc-container"> 9 <div id="gc-container">
9 {{+partials.sidenav}} 10 {{+partials.sidenav}}
10 <div id="gc-pagecontent"> 11 <div id="gc-pagecontent">
11 <h1>Samples</h1> 12 <h1 class="page_title">Samples</h1>
13 <div id="controls">
14 <table class="controlbox">
15 <tr>
16 <td class="label">Filter by keyword:</td>
17 <td><input autofocus="" type="search" id="search_input" placeholde r="Type to search"></td>
18 </tr>
19 <tr>
20 <td class="label">Filter by API:</td>
21 <td>
22 {{#api_list.chrome}}
23 <span><a class="api_filter_item" href="javascript:void(0)">{{@ }}</a> | </span>
not at google - send to devlin 2012/07/24 23:47:02 this needs the {{^last}} | {{/last}} treatment.
cduvall 2012/07/25 00:04:34 Done.
24 {{/}}
25 </td>
26 </tr>
27 </table>
28 </div>
12 {{#samples.samples}} 29 {{#samples.samples}}
30 <div class="sample" tags="{{#api_calls}}{{name}} {{/}}">
31 <img class="icon" src="{{icon}}">
13 <h2><a href="{{path}}.zip">{{name}}</a></h2> 32 <h2><a href="{{path}}.zip">{{name}}</a></h2>
14 {{description}} 33 {{description}}
15 <div> 34 <div>
16 <strong>Calls:</strong> 35 <strong>Calls:</strong>
17 <ul> 36 <ul>
18 {{#api_calls}} 37 {{#api_calls}}
19 <li><code><a href="{{link}}">{{name}}</a></code></li> 38 <li><code><a href="{{link}}">{{name}}</a></code></li>
20 {{/}} 39 {{/}}
21 </ul> 40 </ul>
22 </div> 41 </div>
23 <div> 42 <div>
24 <strong>Source Files:</strong> 43 <strong>Source Files:</strong>
25 <ul> 44 <ul>
26 {{#files}} 45 {{#files}}
27 <li><code><a href="{{path}}/{{@}}">{{@}}</a></code></li> 46 <li><code><a href="{{path}}/{{@}}">{{@}}</a></code></li>
28 {{/}} 47 {{/}}
29 </ul> 48 </ul>
30 </div> 49 </div>
50 </div>
31 {{/samples.samples}} 51 {{/samples.samples}}
32 </div> 52 </div>
33 </div> 53 </div>
34 </body> 54 </body>
35 {{+partials.footer}} 55 {{+partials.footer}}
56 <script src="{{static}}/js/samples.js" type="text/javascript"></script>
36 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698