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

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

Issue 10825067: Extensions Docs Server: Apps samples page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed templates 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/public/extensions/samples.html
diff --git a/chrome/common/extensions/docs/server2/templates/public/extensions/samples.html b/chrome/common/extensions/docs/server2/templates/public/extensions/samples.html
index e02066cbfee2c5aba238f90a56d8206736509f34..feb5e71b61669300da5b41c815c5ed8e310b5df0 100644
--- a/chrome/common/extensions/docs/server2/templates/public/extensions/samples.html
+++ b/chrome/common/extensions/docs/server2/templates/public/extensions/samples.html
@@ -1,59 +1,5 @@
-<!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">
- {{+partials.extensions_sidenav}}
- <div id="gc-pagecontent">
- <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>
- <div id="api_filter_items">
- {{#api_list.extensions.chrome}}
- <span><a href="javascript:void(0)">{{name}}</a>{{^last}} | {{/}}</span>
- {{/}}
- </div>
- </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>
- <span class="label">Calls:</span>
- <ul>
- {{#api_calls}}
- <li><code><a href="{{link}}">{{name}}</a></code></li>
- {{/}}
- </ul>
- </div>
- <div>
- <span class="label">Source Files:</span>
- <ul>
- {{#files}}
- <li><code><a href="{{path}}/{{@}}">{{@}}</a></code></li>
- {{/}}
- </ul>
- </div>
- </div>
- {{/samples.samples}}
- </div>
- </div>
- </body>
- {{+partials.footer}}
- <script src="{{static}}/js/samples.js" type="text/javascript"></script>
-</html>
+{{+partials.samples sidenav:partials.extensions_sidenav
+ filter_list:api_list.extensions.chrome
+ samples_list:samples.extensions
+ footer:partials.extensions_footer
+ title:extensions_title}}

Powered by Google App Engine
This is Rietveld 408576698