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> |