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

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: more fixes Created 8 years, 5 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" placeholder=" Type to search"></td>
18 </tr>
19 <tr>
20 <td class="label">Filter by API:</td>
21 <td>
22 <div id="api_filter_items">
23 {{#api_list.chrome}}
24 <span><a href="javascript:void(0)">{{name}}</a>{{^last}} | { {/}}</span>
25 {{/}}
26 </div>
27 </td>
28 </tr>
29 </table>
30 </div>
12 {{#samples.samples}} 31 {{#samples.samples}}
32 <div class="sample" tags="{{#api_calls}}{{name}} {{/}}">
33 <img class="icon" src="{{icon}}">
13 <h2><a href="{{path}}.zip">{{name}}</a></h2> 34 <h2><a href="{{path}}.zip">{{name}}</a></h2>
14 {{description}} 35 {{description}}
15 <div> 36 <div>
16 <strong>Calls:</strong> 37 <span class="label">Calls:</span>
17 <ul> 38 <ul>
18 {{#api_calls}} 39 {{#api_calls}}
19 <li><code><a href="{{link}}">{{name}}</a></code></li> 40 <li><code><a href="{{link}}">{{name}}</a></code></li>
20 {{/}} 41 {{/}}
21 </ul> 42 </ul>
22 </div> 43 </div>
23 <div> 44 <div>
24 <strong>Source Files:</strong> 45 <span class="label">Source Files:</span>
25 <ul> 46 <ul>
26 {{#files}} 47 {{#files}}
27 <li><code><a href="{{path}}/{{@}}">{{@}}</a></code></li> 48 <li><code><a href="{{path}}/{{@}}">{{@}}</a></code></li>
28 {{/}} 49 {{/}}
29 </ul> 50 </ul>
30 </div> 51 </div>
52 </div>
31 {{/samples.samples}} 53 {{/samples.samples}}
32 </div> 54 </div>
33 </div> 55 </div>
34 </body> 56 </body>
35 {{+partials.footer}} 57 {{+partials.footer}}
58 <script src="{{static}}/js/samples.js" type="text/javascript"></script>
36 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698