OSDN Git Service

AI 147054: am: CL 147053 Add -hdf primer vars for the platform and release ID associa...
[android-x86/build.git] / tools / droiddoc / templates-sdk / customization.cs
1 <?cs # This default template file is meant to be replaced. ?>
2 <?cs # Use the -tempatedir arg to javadoc to set your own directory with a replacement for this file in it. ?>
3
4 <?cs 
5 def:custom_masthead() ?>
6   <div id="header">
7       <div id="headerLeft">
8           <a href="<?cs var:toroot ?>index.html" tabindex="-1"><img
9               src="<?cs var:toroot ?>assets/images/bg_logo.png" alt="Android Developers" /></a>
10           <ul class="<?cs 
11                   if:reference ?>reference<?cs
12                   elif:guide ?>guide<?cs
13                   elif:sdk ?>sdk<?cs
14                   elif:home ?>home<?cs
15                   elif:community ?>community<?cs
16                   elif:publish ?>publish<?cs
17                   elif:about ?>about<?cs /if ?>">
18               <li id="home-link"><a href="<?cs var:toroot ?><?cs 
19                   if:android.whichdoc != "online" ?>offline.html<?cs 
20                   else ?>index.html<?cs /if ?>">
21                   <span>Home</span></a></li>
22               <li id="sdk-link"><a href="<?cs var:toroot ?>sdk/<?cs var:sdk.current ?>/index.html"><span>SDK</span></a></li>
23               <li id="guide-link"><a href="<?cs var:toroot ?>guide/index.html"
24                                   onClick="return loadLast('guide')"><span>Dev Guide</span></a></li>
25               <li id="reference-link"><a href="<?cs var:toroot ?>reference/packages.html" 
26                                   onClick="return loadLast('reference')"><span>Reference</span></a></li>
27               <li><a href="http://android-developers.blogspot.com"><span>Blog</span></a></li>
28               <li id="community-link"><a href="<?cs var:toroot ?>community/index.html"><span>Community</span></a></li>
29           </ul>
30       </div>
31       <div id="headerRight">
32           <div id="headerLinks">
33             <!-- <img src="<?cs var:toroot ?>assets/images/icon_world.jpg" alt="" /> -->
34             <span class="text">
35               <!-- &nbsp;<a href="#">English</a> | -->
36               <a href="http://www.android.com">Android.com</a>
37             </span>
38           </div><?cs 
39           call:default_search_box() ?>
40       </div><!-- headerRight -->
41   </div><!-- header --><?cs 
42 /def ?><?cs # custom_masthead ?>
43
44 <?cs 
45 def:sdk_nav() ?>
46   <div class="g-section g-tpl-240" id="body-content">
47     <div class="g-unit g-first not-resizable" id="side-nav">
48       <div id="devdoc-nav"><?cs 
49         include:"../../../../frameworks/base/docs/html/sdk/sdk_toc.cs" ?>
50       </div>
51     </div> <!-- end side-nav -->
52 <?cs /def ?>
53
54 <?cs 
55 def:guide_nav() ?>
56   <div class="g-section g-tpl-240" id="body-content">
57     <div class="g-unit g-first side-nav-resizable" id="side-nav">
58       <div id="devdoc-nav"><?cs 
59         include:"../../../../frameworks/base/docs/html/guide/guide_toc.cs" ?>
60       </div>
61     </div> <!-- end side-nav -->
62     <script>
63       addLoadEvent(function() {
64         scrollIntoView("devdoc-nav");
65         });
66     </script>
67 <?cs /def ?>
68
69 <?cs 
70 def:publish_nav() ?>
71   <div class="g-section g-tpl-180" id="body-content">
72     <div class="g-unit g-first" id="side-nav">
73       <div id="devdoc-nav"><?cs 
74         include:"../../../../frameworks/base/docs/html/publish/publish_toc.cs" ?>
75       </div>
76     </div> <!-- end side-nav -->
77 <?cs /def ?>
78
79 <?cs 
80 def:custom_left_nav() ?><?cs 
81   if:guide ?><?cs 
82     call:guide_nav() ?><?cs 
83   elif:publish ?><?cs 
84     call:publish_nav() ?><?cs 
85   elif:sdk ?><?cs 
86     call:sdk_nav() ?><?cs 
87   else ?><?cs 
88     call:default_left_nav() ?><?cs 
89   /if ?><?cs 
90 /def ?>
91
92 <?cs # appears at the bottom of every page ?><?cs 
93 def:custom_cc_copyright() ?>
94   Except as noted, this content is 
95   licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
96   Creative Commons Attribution 2.5</a>. For details and 
97   restrictions, see the <a href="<?cs var:toroot ?>license.html">Content 
98   License</a>.<?cs 
99 /def ?>
100
101 <?cs 
102 def:custom_copyright() ?>
103   Except as noted, this content is licensed under <a
104   href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. 
105   For details and restrictions, see the <a href="<?cs var:toroot ?>license.html">
106   Content License</a>.<?cs 
107 /def ?>
108
109 <?cs 
110 def:custom_footerlinks() ?>
111   <p>
112     <a href="http://www.android.com/terms.html">Site Terms of Service</a> -
113     <a href="http://www.android.com/privacy.html">Privacy Policy</a> -
114     <a href="http://www.android.com/branding.html">Brand Guidelines</a>
115   </p><?cs 
116 /def ?>
117
118 <?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs 
119 def:custom_buildinfo() ?>
120   Android <?cs var:sdk.version ?>&nbsp;r<?cs var:sdk.rel.id ?> - <?cs var:page.now ?>
121 <?cs /def ?>