summaryrefslogtreecommitdiffstats
path: root/tools/droiddoc/templates-sdk/packages.cs
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-06-21 18:03:05 -0700
committerScott Main <smain@google.com>2012-06-21 21:29:11 -0700
commite4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644 (patch)
treec4a983c362962b6c6ae8b087c9a0e46a4b13053d /tools/droiddoc/templates-sdk/packages.cs
parent0872a010659d20633f07f4ef54cf61f8e4b6e030 (diff)
downloadbuild-e4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644.zip
build-e4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644.tar.gz
build-e4d8f1b1f5a6e2308bfeff04d7fa51ff7394c644.tar.bz2
Massive clobber of all template files in developer site for new design
Change-Id: I5f243dcb377a8b2e573c404a9e685cc64e0e06d2
Diffstat (limited to 'tools/droiddoc/templates-sdk/packages.cs')
-rw-r--r--tools/droiddoc/templates-sdk/packages.cs43
1 files changed, 43 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/packages.cs b/tools/droiddoc/templates-sdk/packages.cs
new file mode 100644
index 0000000..1c3aa30
--- /dev/null
+++ b/tools/droiddoc/templates-sdk/packages.cs
@@ -0,0 +1,43 @@
+<?cs include:"doctype.cs" ?>
+<?cs include:"macros.cs" ?>
+<html>
+<?cs include:"head_tag.cs" ?>
+<body class="gc-documentation
+ <?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
+ elif:design ?>design<?cs
+ elif:distribute ?>distribute<?cs
+ /if ?>">
+ <a name="top"></a>
+<?cs include:"header.cs" ?>
+
+<div class="col-12" id="doc-col">
+
+<div id="jd-header">
+<h1><?cs var:page.title ?></h1>
+</div>
+
+<div id="jd-content">
+
+<div class="jd-descr">
+<p><?cs call:tag_list(root.descr) ?></p>
+</div>
+
+<?cs set:count = #1 ?>
+<table class="jd-sumtable">
+<?cs each:pkg = docs.packages ?>
+ <tr class="<?cs if:count % #2 ?>alt-color<?cs /if ?> api apilevel-<?cs var:pkg.since ?>" >
+ <td class="jd-linkcol"><?cs call:package_link(pkg) ?></td>
+ <td class="jd-descrcol" width="100%"><?cs call:tag_list(pkg.shortDescr) ?></td>
+ </tr>
+<?cs set:count = count + #1 ?>
+<?cs /each ?>
+</table>
+
+<?cs include:"footer.cs" ?>
+</div><!-- end jd-content -->
+</div> <!-- end doc-content -->
+
+<?cs include:"trailer.cs" ?>
+
+</body>
+</html>