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

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

Issue 10834130: Extensions Docs Server: Doc conversion script - SVN (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/common/extensions/docs/server2/templates/public/extensions/samples.html (revision 0)
+++ chrome/common/extensions/docs/server2/templates/public/extensions/samples.html (revision 0)
@@ -0,0 +1,59 @@
+<!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>
Property changes on: chrome/common/extensions/docs/server2/templates/public/extensions/samples.html
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698