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

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

Issue 10689144: Extensions Docs Server: Samples zip files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up and tests Created 8 years, 5 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/samples.html
diff --git a/chrome/common/extensions/docs/server2/templates/public/samples.html b/chrome/common/extensions/docs/server2/templates/public/samples.html
new file mode 100644
index 0000000000000000000000000000000000000000..6feacf2ec7a3195a25c0c7f4eae5505746b03a48
--- /dev/null
+++ b/chrome/common/extensions/docs/server2/templates/public/samples.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ {{+partials.header_head}}
+ </head>
+ <body>
+ {{+partials.header_body}}
+ <div id="gc-container">
+ {{+partials.sidenav}}
+ <div id="gc-pagecontent">
+ <h1>Samples</h1>
+ {{#samples.samples}}
+ <h2><a href="{{path}}.zip">{{name}}</a></h2>
+ {{description}}
+ <div>
+ <strong>Calls:</strong>
+ <ul>
+ {{#api_calls}}
+ <li><code><a href="{{link}}">{{name}}</a></code></li>
+ {{/}}
+ </ul>
+ </div>
+ <div>
+ <strong>Source Files:</strong>
+ <ul>
+ {{#files}}
+ <li><code><a href="{{path}}/{{@}}">{{@}}</a></code></li>
+ {{/}}
+ </ul>
+ </div>
+ {{/samples.samples}}
+ </div>
+ </div>
+ </body>
+ {{+partials.footer}}
+</html>

Powered by Google App Engine
This is Rietveld 408576698