blob: d0ff64d0549ee9cef8c9d72be61d61c9f11b4d5d [file] [log] [blame]
Ben Dodson4dbb28a2010-08-10 18:22:55 -07001<?cs def:custom_masthead() ?>
Scott Main4b270cd2014-03-11 20:17:52 -07002<?cs if:wear ?>
3 <?cs call:wear_masthead() ?>
4<?cs else ?>
Scott Main01a25452013-02-12 17:32:27 -08005<a name="top"></a>
Dirk Doughertyc3921652014-05-13 16:55:26 -07006<?cs if:!devsite ?><?cs # leave out the global header for devsite; it is in devsite template ?>
7 <!-- Header -->
8 <div id="header-wrapper">
Scott Maine4d8f1b2012-06-21 18:03:05 -07009 <div id="header">
Dirk Doughertyc3921652014-05-13 16:55:26 -070010 <div class="wrap" id="header-wrap">
11 <div class="col-3 logo">
Scott Maine4d8f1b2012-06-21 18:03:05 -070012 <a href="<?cs var:toroot ?>index.html">
Scott Maine921b6d2014-03-26 19:52:14 -070013 <img src="<?cs var:toroot ?>assets/images/dac_logo.png"
14 srcset="<?cs var:toroot ?>assets/images/dac_logo@2x.png 2x"
15 width="123" height="25" alt="Android Developers" />
Scott Maine4d8f1b2012-06-21 18:03:05 -070016 </a>
17 <div class="btn-quicknav" id="btn-quicknav">
Dirk Doughertyc3921652014-05-13 16:55:26 -070018 <a href="#" class="arrow-inactive">Quicknav</a>
19 <a href="#" class="arrow-active">Quicknav</a>
Scott Maine4d8f1b2012-06-21 18:03:05 -070020 </div>
Scott Maine4d8f1b2012-06-21 18:03:05 -070021 </div>
Dirk Doughertyc3921652014-05-13 16:55:26 -070022 <ul class="nav-x col-9">
23 <li class="design">
24 <a href="<?cs var:toroot ?>design/index.html"
25 zh-tw-lang="設計"
26 zh-cn-lang="设计"
27 ru-lang="Проектирование"
28 ko-lang="디자인"
29 ja-lang="設計"
30 es-lang="Diseñar"
31 >Design</a></li>
32 <li class="develop"><a href="<?cs var:toroot ?>develop/index.html"
33 zh-tw-lang="開發"
34 zh-cn-lang="开发"
35 ru-lang="Разработка"
36 ko-lang="개발"
37 ja-lang="開発"
38 es-lang="Desarrollar"
39 >Develop</a></li>
40 <li class="distribute last"><a href="<?cs var:toroot ?>distribute/<?cs
41 if:android.whichdoc == "offline" ?>googleplay/<?cs /if ?>index.html"
42 zh-tw-lang="發佈"
43 zh-cn-lang="分发"
44 ru-lang="Распространение"
45 ko-lang="배포"
46 ja-lang="配布"
47 es-lang="Distribuir"
48 >Distribute</a></li>
49 </ul>
50
51
52 <?cs # ADD SEARCH AND MENU ?>
53 <?cs call:header_search_widget() ?>
54
55
56 <!-- Expanded quicknav -->
57 <div id="quicknav" class="col-9">
58 <ul>
59 <li class="design">
60 <ul>
61 <li><a href="<?cs var:toroot ?>design/index.html">Get Started</a></li>
62 <li><a href="<?cs var:toroot ?>design/style/index.html">Style</a></li>
63 <li><a href="<?cs var:toroot ?>design/patterns/index.html">Patterns</a></li>
64 <li><a href="<?cs var:toroot ?>design/building-blocks/index.html">Building Blocks</a></li>
65 <li><a href="<?cs var:toroot ?>design/downloads/index.html">Downloads</a></li>
66 <li><a href="<?cs var:toroot ?>design/videos/index.html">Videos</a></li>
67 </ul>
68 </li>
69 <li class="develop">
70 <ul>
71 <li><a href="<?cs var:toroot ?>training/index.html"
72 zh-tw-lang="訓練課程"
73 zh-cn-lang="培训"
74 ru-lang="Курсы"
75 ko-lang="교육"
76 ja-lang="トレーニング"
77 es-lang="Capacitación"
78 >Training</a></li>
79 <li><a href="<?cs var:toroot ?>guide/index.html"
80 zh-tw-lang="API 指南"
81 zh-cn-lang="API 指南"
82 ru-lang="Руководства по API"
83 ko-lang="API 가이드"
84 ja-lang="API ガイド"
85 es-lang="Guías de la API"
86 >API Guides</a></li>
87 <li><a href="<?cs var:toroot ?>reference/packages.html"
88 zh-tw-lang="參考資源"
89 zh-cn-lang="参考"
90 ru-lang="Справочник"
91 ko-lang="참조문서"
92 ja-lang="リファレンス"
93 es-lang="Referencia"
94 >Reference</a></li>
95 <li><a href="<?cs var:toroot ?>tools/index.html"
96 zh-tw-lang="相關工具"
97 zh-cn-lang="工具"
98 ru-lang="Инструменты"
99 ko-lang="도구"
100 ja-lang="ツール"
101 es-lang="Herramientas"
102 >Tools</a>
103 <ul><li><a href="<?cs var:toroot ?>sdk/index.html">Get the SDK</a></li></ul>
104 </li>
105 <li><a href="<?cs var:toroot ?>google/index.html">Google Services</a>
106 </li>
107 <?cs if:android.hasSamples ?>
108 <li><a href="<?cs var:toroot ?>samples/index.html">Samples</a>
109 </li>
110 <?cs /if ?>
111 </ul>
112 </li>
113 <li class="distribute last">
114 <ul>
115 <li><a href="<?cs var:toroot ?>distribute/googleplay/index.html">Google Play</a></li>
116 <li><a href="<?cs var:toroot ?>distribute/essentials/index.html">Essentials</a></li>
117 <li><a href="<?cs var:toroot ?>distribute/users/index.html">Get Users</a></li>
118 <li><a href="<?cs var:toroot ?>distribute/engage/index.html">Engage &amp; Retain</a></li>
119 <li><a href="<?cs var:toroot ?>distribute/monetize/index.html">Monetize</a></li>
120 <li><a href="<?cs var:toroot ?>distribute/tools/index.html">Tools &amp; Reference</a></li>
121 <li><a href="<?cs var:toroot ?>distribute/stories/index.html">Developer Stories</a></li>
122 </ul>
123 </li>
124 </ul>
125 </div><!-- /Expanded quicknav -->
126 </div><!-- end header-wrap.wrap -->
127 </div><!-- end header -->
128
Dirk Dougherty4f7e5152010-09-16 10:43:40 -0700129 <?cs if:training || guide || reference || tools || develop || google || samples ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700130 <!-- Secondary x-nav -->
131 <div id="nav-x">
132 <div class="wrap">
Robert Ly40e90992012-11-28 17:46:17 -0800133 <ul class="nav-x col-9 develop" style="width:100%">
Scott Mainac2aef52013-02-12 14:15:23 -0800134 <li class="training"><a href="<?cs var:toroot ?>training/index.html"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700135 zh-tw-lang="訓練課程"
136 zh-cn-lang="培训"
Scott Main6eb95f12012-10-02 17:12:23 -0700137 ru-lang="Курсы"
138 ko-lang="교육"
139 ja-lang="トレーニング"
Dirk Doughertyc3921652014-05-13 16:55:26 -0700140 es-lang="Capacitación"
Scott Main6eb95f12012-10-02 17:12:23 -0700141 >Training</a></li>
Scott Main932e3fb2013-12-05 15:17:59 -0800142 <li class="guide"><a href="<?cs var:toroot ?>guide/index.html"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700143 zh-tw-lang="API 指南"
144 zh-cn-lang="API 指南"
Scott Main6eb95f12012-10-02 17:12:23 -0700145 ru-lang="Руководства по API"
146 ko-lang="API 가이드"
147 ja-lang="API ガイド"
Dirk Doughertyc3921652014-05-13 16:55:26 -0700148 es-lang="Guías de la API"
Scott Main6eb95f12012-10-02 17:12:23 -0700149 >API Guides</a></li>
Scott Mainac2aef52013-02-12 14:15:23 -0800150 <li class="reference"><a href="<?cs var:toroot ?>reference/packages.html"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700151 zh-tw-lang="參考資源"
152 zh-cn-lang="参考"
Scott Main6eb95f12012-10-02 17:12:23 -0700153 ru-lang="Справочник"
154 ko-lang="참조문서"
155 ja-lang="リファレンス"
Dirk Doughertyc3921652014-05-13 16:55:26 -0700156 es-lang="Referencia"
Scott Main6eb95f12012-10-02 17:12:23 -0700157 >Reference</a></li>
Scott Mainac2aef52013-02-12 14:15:23 -0800158 <li class="tools"><a href="<?cs var:toroot ?>tools/index.html"
Dirk Dougherty0b026ce2013-05-04 13:13:21 -0700159 zh-tw-lang="相關工具"
160 zh-cn-lang="工具"
Scott Main6eb95f12012-10-02 17:12:23 -0700161 ru-lang="Инструменты"
162 ko-lang="도구"
163 ja-lang="ツール"
Robert Ly40e90992012-11-28 17:46:17 -0800164 es-lang="Herramientas"
Scott Main6eb95f12012-10-02 17:12:23 -0700165 >Tools</a></li>
Scott Mainac2aef52013-02-12 14:15:23 -0800166 <li class="google"><a href="<?cs var:toroot ?>google/index.html"
Robert Ly40e90992012-11-28 17:46:17 -0800167 >Google Services</a>
168 </li>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -0700169 <?cs if:android.hasSamples ?>
Scott Maindc63dda2013-08-22 16:03:21 -0700170 <li class="samples"><a href="<?cs var:toroot ?>samples/index.html"
171 >Samples</a>
Dirk Dougherty4f7e5152010-09-16 10:43:40 -0700172 </li>
173 <?cs /if ?>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700174 </ul>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700175 </div>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700176 </div>
177 <!-- /Sendondary x-nav -->
Dirk Doughertyc3921652014-05-13 16:55:26 -0700178
179 <?cs elif:distribute || googleplay || essentials || users || engage || monetize || disttools || stories ?>
180 <!-- Secondary distribute x-nav -->
181 <div id="nav-x">
182 <div class="wrap">
183 <ul class="nav-x distribute">
184 <li class="googleplay"><a href="<?cs var:toroot ?>distribute/googleplay/index.html"
185 >Google Play</a></li>
186 <li class="essentials"><a href="<?cs var:toroot ?>distribute/essentials/index.html"
187 >Essentials</a></li>
188 <li class="users"><a href="<?cs var:toroot ?>distribute/users/index.html"
189 >Get Users</a></li>
190 <li class="engage"><a href="<?cs var:toroot ?>distribute/engage/index.html"
191 >Engage &amp; Retain</a></li>
192 <li class="monetize"><a href="<?cs var:toroot ?>distribute/monetize/index.html"
193 >Monetize</a>
194 </li>
195 <li class="disttools"><a href="<?cs var:toroot ?>distribute/tools/index.html"
196 >Tools</a>
197 </li>
198 <li class="stories"><a href="<?cs var:toroot ?>distribute/stories/index.html"
199 >Stories</a>
200 </li>
201 </ul>
202 <a href="https://play.google.com/apps/publish/" class="developer-console-btn">Developer Console</a>
203 </div> <!-- /Secondary distribute x-nav -->
204 </div>
Scott Main01a25452013-02-12 17:32:27 -0800205 <?cs /if ?>
206
Dirk Doughertyc3921652014-05-13 16:55:26 -0700207 <div id="searchResults" class="wrap" style="display:none;">
208 <h2 id="searchTitle">Results</h2>
209 <div id="leftSearchControl" class="search-control">Loading...</div>
210 </div>
211 </div> <!--end header-wrapper -->
Scott Main01a25452013-02-12 17:32:27 -0800212
Dirk Doughertyc3921652014-05-13 16:55:26 -0700213 <div id="sticky-header">
214 <div>
215 <a class="logo" href="#top"></a>
216 <a class="top" href="#top"></a>
217 <ul class="breadcrumb">
218 <?cs # More <li> elements added here with javascript ?>
219 <?cs if:!section.landing ?><li class="current"><?cs var:page.title ?></li><?cs
220 /if ?>
221 </ul>
222 </div>
223 </div>
224
225<?cs /if ?><?cs # end if/else !devsite ?>
226<?cs /if ?><?cs # end if/else wear ?><?cs
Scott Main4b270cd2014-03-11 20:17:52 -0700227/def ?>
228
Scott Main4b270cd2014-03-11 20:17:52 -0700229<?cs def:wear_masthead() ?>
230<a name="top"></a>
231
Dirk Doughertyc3921652014-05-13 16:55:26 -0700232<!-- Header -->
233<div id="header-wrapper">
234 <div id="header">
235 <div class="wrap" id="header-wrap">
236 <div class="col_3 logo wear-logo">
237 <a href="<?cs var:toroot ?>wear/index.html">
238 <img src="<?cs var:toroot ?>wear/images/android-wear.png" height="16" alt="Android Wear" />
239 </a>
Scott Main4b270cd2014-03-11 20:17:52 -0700240 </div>
Dirk Doughertyc3921652014-05-13 16:55:26 -0700241 <div class="col-8" style="margin:0"><h1 style="margin:1px 0 0 20px;padding:0;line-height:16px;
242color:#666;font-weight:100;font-size:24px;">Developer Preview</h1></div>
Scott Main4b270cd2014-03-11 20:17:52 -0700243
Dirk Doughertyc3921652014-05-13 16:55:26 -0700244 <?cs # ADD SEARCH AND MENU ?>
245 <?cs call:header_search_widget() ?>
Scott Main4b270cd2014-03-11 20:17:52 -0700246
Dirk Doughertyc3921652014-05-13 16:55:26 -0700247 </div><!-- end header-wrap -->
248 </div><!-- /Header -->
Scott Main4b270cd2014-03-11 20:17:52 -0700249
250
251 <div id="searchResults" class="wrap" style="display:none;">
252 <h2 id="searchTitle">Results</h2>
253 <div id="leftSearchControl" class="search-control">Loading...</div>
254 </div>
Dirk Doughertyc3921652014-05-13 16:55:26 -0700255</div> <!--end header-wrapper -->
Scott Main4b270cd2014-03-11 20:17:52 -0700256
Dirk Doughertyc3921652014-05-13 16:55:26 -0700257<div id="sticky-header">
258 <div>
259 <a class="logo" href="#top"></a>
260 <a class="top" href="#top"></a>
261 <ul class="breadcrumb">
262 <?cs # More <li> elements added here with javascript ?>
263 <?cs if:!section.landing ?><li class="current"><?cs var:page.title ?></li><?cs
264 /if ?>
265 </ul>
266 </div>
267</div>
268
269 <?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700270/def ?>