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

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

Powered by Google App Engine
This is Rietveld 408576698