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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/public/samples.html
diff --git a/chrome/common/extensions/docs/server2/templates/public/samples.html b/chrome/common/extensions/docs/server2/templates/public/samples.html
index 6feacf2ec7a3195a25c0c7f4eae5505746b03a48..b2b565570c1225be64464362a4b1ba2365f6f73a 100644
--- a/chrome/common/extensions/docs/server2/templates/public/samples.html
+++ b/chrome/common/extensions/docs/server2/templates/public/samples.html
@@ -2,14 +2,33 @@
<html>
<head>
{{+partials.header_head}}
+ <link href="{{static}}/css/samples.css" rel="stylesheet" type="text/css">
</head>
<body>
{{+partials.header_body}}
<div id="gc-container">
{{+partials.sidenav}}
<div id="gc-pagecontent">
- <h1>Samples</h1>
+ <h1 class="page_title">Samples</h1>
+ <div id="controls">
+ <table class="controlbox">
+ <tr>
+ <td class="label">Filter by keyword:</td>
+ <td><input autofocus="" type="search" id="search_input" placeholder="Type to search"></td>
+ </tr>
+ <tr>
+ <td class="label">Filter by API:</td>
+ <td>
+ {{#api_list.chrome}}
+ <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.
+ {{/}}
+ </td>
+ </tr>
+ </table>
+ </div>
{{#samples.samples}}
+ <div class="sample" tags="{{#api_calls}}{{name}} {{/}}">
+ <img class="icon" src="{{icon}}">
<h2><a href="{{path}}.zip">{{name}}</a></h2>
{{description}}
<div>
@@ -28,9 +47,11 @@
{{/}}
</ul>
</div>
+ </div>
{{/samples.samples}}
</div>
</div>
</body>
{{+partials.footer}}
+ <script src="{{static}}/js/samples.js" type="text/javascript"></script>
</html>

Powered by Google App Engine
This is Rietveld 408576698