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

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

Issue 10825067: Extensions Docs Server: Apps samples page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: less is_apps and fixes 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/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..8403b2e00e45787476cca179872a577a310c44ba
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/private/samples.html
@@ -0,0 +1,39 @@
+{{- sidenav: the sidenav bar for either apps or extensions -}}
+{{- filter_list: the list of APIs that show up in the filter box -}}
+{{- samples_list: the list of samples shown on the page -}}
+{{- footer: the footer for either apps or extensions -}}
+<!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">
+ {{+sidenav}}
+ <div id="gc-pagecontent">
+ <h1 class="page_title">Sample {{title}}</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">
+ {{#filter_list}}{{+partials.filter_item}}{{/}}
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+ {{#samples_list}}{{+partials.sample_item}}{{/}}
+ </div>
+ </div>
+ </body>
+ {{+footer}}
+ <script src="{{static}}/js/samples.js" type="text/javascript"></script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698