Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/templates/private/samples.html |
| diff --git a/chrome/common/extensions/docs/server2/templates/private/samples.html b/chrome/common/extensions/docs/server2/templates/private/samples.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d61dd050fb094a73c4cd3ba4fdc6d22c2c4e307b |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/server2/templates/private/samples.html |
| @@ -0,0 +1,51 @@ |
| +<!DOCTYPE html> |
| +<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"> |
|
not at google - send to devlin
2012/08/10 06:02:18
So, we should only use is_apps if absolutely neces
cduvall
2012/08/10 21:17:47
Done.
|
| + {{?is_apps}} |
| + {{+partials.apps_sidenav}} |
| + {{:is_apps}} |
| + {{+partials.extensions_sidenav}} |
| + {{/is_apps}} |
| + <div id="gc-pagecontent"> |
| + <h1 class="page_title">Sample {{?is_apps}}Apps{{:}}Extensions{{/}}</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> |
| + <div id="api_filter_items"> |
| + {{?is_apps}} |
| + {{#api_list.apps.chrome}}{{+partials.filter_item}}{{/}} |
| + {{:is_apps}} |
| + {{#api_list.extensions.chrome}}{{+partials.filter_item}}{{/}} |
| + {{/is_apps}} |
| + </div> |
| + </td> |
| + </tr> |
| + </table> |
| + </div> |
| + {{?is_apps}} |
| + {{#samples.apps}} |
| + {{+partials.sample_item is_apps:true}} |
| + {{/samples.apps}} |
| + {{:is_apps}} |
| + {{#samples.extensions}} |
| + {{+partials.sample_item is_apps:false}} |
| + {{/samples.extensions}} |
| + {{/is_apps}} |
| + </div> |
| + </div> |
| + </body> |
| + {{+partials.footer is_apps:is_apps}} |
|
not at google - send to devlin
2012/08/10 06:02:18
The only difference in the footer is the bootstrap
cduvall
2012/08/10 21:17:47
Done.
|
| + <script src="{{static}}/js/samples.js" type="text/javascript"></script> |
| +</html> |